dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Lloyd Atkinson <latkinso@codeaurora.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>
Subject: Re: HDMI Aspect Ratio
Date: Thu, 19 Oct 2017 20:26:34 +0300	[thread overview]
Message-ID: <20171019172634.GA10981@intel.com> (raw)
In-Reply-To: <CADnq5_MKDbkunP_m1wnNvxZLgPFJq=r4Jd-C8xXWK17R8QVktw@mail.gmail.com>

On Thu, Oct 19, 2017 at 01:08:05PM -0400, Alex Deucher wrote:
> On Thu, Oct 19, 2017 at 12:32 PM, Rob Clark <robdclark@gmail.com> wrote:
> > On Wed, Oct 18, 2017 at 4:06 PM, Lloyd Atkinson <latkinso@codeaurora.org> wrote:
> >> Hi folks,
> >>
> >> We're looking at 4K HDMI mode support, and noticed aspect ratio support
> >> is in flux.
> >>
> >> Aspect ratio parsing was added to the mode:
> >> https://patchwork.kernel.org/patch/9271401/
> >>
> >> But later reverted:
> >> https://patchwork.kernel.org/patch/9410765/
> >>
> >> We're finding that since aspect ratio information isn't supported, modes
> >> conflict, and the userspace isn't able to see the full list of modes.
> >>
> >> Similarly, there's a case where two modes differ only by aspect_ratio
> >> and vrefresh. In drm_edid.c, within drm_display_mode_from_vic_index,
> >> newmode->vrefresh is forcibly being cleared to 0. Since refresh rate is
> >> forced to 0, and aspect ratio isn’t considered in general, the modes
> >> collide and we can’t advertise one of the modes.
> >>
> >> https://github.com/torvalds/linux/blob/v4.14-rc4/drivers/gpu/drm/drm_edid.c#L3153
> >>
> >> Have there been any follow-up discussions on this topic?
> >>
> >> What is the reason to clear the vrefresh within
> >> drm_display_mode_from_vic_index?
> >
> > +Ville who might remember the history..
> >
> > I don't remember if we found a userspace app that was broken, or if
> > reverting was an "abundance of caution" thing (which is equally valid,
> > it is basically impossible to track down and test "all of
> > userspace"..)
> >
> 
> Wasn't there an issue with SNA?

Exposing the aspect ratio flags broke sna, at least.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

      reply	other threads:[~2017-10-19 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 20:06 HDMI Aspect Ratio Lloyd Atkinson
2017-10-19 16:32 ` Rob Clark
2017-10-19 16:58   ` Ville Syrjälä
2017-10-19 17:08   ` Alex Deucher
2017-10-19 17:26     ` Ville Syrjälä [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171019172634.GA10981@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=latkinso@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox