drm: vc4: Programming the CTM is conditional on running full KMS
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Tue, 19 Feb 2019 15:18:25 +0000 (15:18 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:48 +0000 (16:32 +0100)
commitc8c07aaab79277aa085ec4d7a5459bfcee1f60ee
tree244ca30e83ae8ab6cb3561b13d9f8c52dacb5cee
parente9edbcd243d3c8dca62d0f28ab7901535b6355a6
drm: vc4: Programming the CTM is conditional on running full KMS

vc4_ctm_commit writes to HVS registers, so this is only applicable
when in full KMS mode, not in firmware KMS mode. Add this conditional.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/gpu/drm/vc4/vc4_kms.c