summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_hw.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-06-24 14:35:10 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-09 11:32:56 +0100
commitd378859a667edc99e3473704847698cae97ca2b1 (patch)
tree6c1f6d0fcd09d76c95aeaa606e8d15adec76a219 /drivers/gpu/drm/armada/armada_hw.h
parent29dcea88779c856c7dc92040a0c01233263101d4 (diff)
downloadlinux-d378859a667edc99e3473704847698cae97ca2b1.tar.bz2
drm/armada: fix colorkey mode property
The colorkey mode property was not correctly disabling the colorkeying when "disabled" mode was selected. Arrange for this to work as one would expect. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_hw.h')
-rw-r--r--drivers/gpu/drm/armada/armada_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_hw.h b/drivers/gpu/drm/armada/armada_hw.h
index 27319a8335e2..345dc4d0851e 100644
--- a/drivers/gpu/drm/armada/armada_hw.h
+++ b/drivers/gpu/drm/armada/armada_hw.h
@@ -160,6 +160,7 @@ enum {
CFG_ALPHAM_GRA = 0x1 << 16,
CFG_ALPHAM_CFG = 0x2 << 16,
CFG_ALPHA_MASK = 0xff << 8,
+#define CFG_ALPHA(x) ((x) << 8)
CFG_PIXCMD_MASK = 0xff,
};