drm/vc4: Only add gamma properties once.
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 8 Nov 2021 18:25:49 +0000 (18:25 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 15 Nov 2021 20:07:54 +0000 (20:07 +0000)
commit19df5cc4ec1961b5db0530dfcc6e75cba9465ab7
treecfc87033f1b6b6ba094d9b6770bfc44490a8f574
parent1df3825249a06c2ec52dd3d97b4fc916e8f4d7e0
drm/vc4: Only add gamma properties once.

Two calls were made to drm_crtc_enable_color_mgmt to add gamma
and CTM, however they were both set to add the gamma properties,
so they ended up added twice.

Fixes: 766cc6b1f7fc "drm/vc4: Add CTM support"
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_crtc.c