]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/vc4: Add CTM registers to debugfs
authorStefan Schake <stschake@gmail.com>
Fri, 20 Apr 2018 12:25:45 +0000 (05:25 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Apr 2018 18:50:22 +0000 (11:50 -0700)
Now that we set the OLED* registers to do CTM, it's helpful to have them
in the register dump.

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/20180420122545.40014-2-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_hvs.c

index 2b62fc5b8d859212b0cf8250c1de471fd03bb13d..5d8c749c97490ea9a7270e1a09f640f5c7b56f6b 100644 (file)
@@ -58,6 +58,10 @@ static const struct {
        HVS_REG(SCALER_DISPSTAT2),
        HVS_REG(SCALER_DISPBASE2),
        HVS_REG(SCALER_DISPALPHA2),
+       HVS_REG(SCALER_OLEDOFFS),
+       HVS_REG(SCALER_OLEDCOEF0),
+       HVS_REG(SCALER_OLEDCOEF1),
+       HVS_REG(SCALER_OLEDCOEF2),
 };
 
 void vc4_hvs_dump_state(struct drm_device *dev)