OSDN Git Service

drm/vc4: Expose gamma as atomic property
authorStefan Schake <stschake@gmail.com>
Wed, 11 Apr 2018 20:49:13 +0000 (22:49 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 17 Apr 2018 21:57:08 +0000 (14:57 -0700)
commit640e0c79de8b0a68b5a23c9cd46da3518cbff7d3
tree1a559a402267e2249cda50ccc78024f7beb9cfe5
parentaa808440426f6d163a4f51076132628fee6e1e7d
drm/vc4: Expose gamma as atomic property

We are an atomic driver so the gamma LUT should also be exposed as a
CRTC property through the DRM atomic color management. This will also
take care of the legacy path for us.

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1523479755-20812-3-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_crtc.c