Re: [PATCH 05/21] drm/vmwgfx: Remove confused comment from vmw_du_connector_atomic_set_property

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

 



On Fri, Oct 05, 2018 at 08:43:51AM +0200, Daniel Vetter wrote:
> On Thu, Oct 04, 2018 at 10:40:16PM +0000, Thomas Hellstrom wrote:
> > Hi!
> > 
> > I've sent out patches that replace 05/21 and 07/21. Since I'm on travel, 
> > I'm not sure I'll be able to incorporate them in a pull before the merge 
> > window though.
> 
> is_implicit is taken care of with those indeed. But patch 07 seems still
> needed, at least I'm not seeing where you remove the custom page_flip
> checks.

Clarification, now that coffee kicks in: I wrote the FIXME comments since
an atomic driver should not have _any_ checks in its page_flip callback
beyond what the helper does. Only thing you can do in there is fix up uapi
inconsistency, because your driver-specific does something funky. Like in
your set_config callback, where you clear a parameter that old versions of
vmwgfx userspace don't clear.

So end result for addressing patch 07 is that you directly put the helper
function into the vtable. You removed a bunch of checks, but there's still
a bit left.

For why this matters: I'd like to, at least long term, move the
legacy2atomic helpers into the core and just enforce them as the default.
That's why I need to know which drivers actually need to patch up things,
and which just have code in there that should be moved to atomic_check.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
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