[PATCH 12/15] drm: Add acquire ctx to ->gamma_set hook
Eric Anholt
eric at anholt.net
Thu Apr 6 16:51:02 UTC 2017
Daniel Vetter <daniel.vetter at ffwll.ch> writes:
> Atomic helpers really want this instead of the hacked-up legacy
> backoff trick, which unfortunately prevents drivers from using their
> own private drm_modeset_locks.
>
> Aside: There's a few atomic drivers (nv50, vc4, soon vmwgfx) which
> don't yet use the new atomic color mgmt/gamma table stuff. Would be
> nice if they could switch over and just hook up
> drm_atomic_helper_legacy_gamma_set() instead.
For notes like this, it would be helpful to have a pointer to a driver
doing it cleanly the current way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170406/0a489a79/attachment-0001.sig>
More information about the dri-devel
mailing list