Re: [Intel-gfx] [PATCH 1/2] drm: Add a new connector property for link status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 26, 2016 at 12:51:41PM +0300, Jani Nikula wrote:
> On Wed, 26 Oct 2016, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> > On Wed, Oct 26, 2016 at 07:52:26AM +0200, Daniel Vetter wrote:
> >> I'd go further and just always create this as one of the standard
> >> properties (and always attach it to the connector, like edid), and only
> >> expose helpers to set the link status to good or bad.
> >
> > One of the sketches for this idea was that this could serve as the
> > failure notification path for nonblocking modesets (well modesets in
> > general since it appears returning the error is not going to happen).
> 
> In nonblocking modesets, when should we change the status from bad to
> good? If the setcrtc returns and userspace looks at link status and sees
> it's still bad (because the kernel hasn't gotten around to enabling the
> link yet, or whatever), userspace might think it would have to try
> again. Do we set it to good immediately on setcrtc ioctl, or add a
> "pending" status? Or something better?

I was thinking it'd start out as "good" and only change to something
else when things actually go south.

Not sure if we should also want "off" as one of the values, for when
it's really off at the request of the user.

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux