summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreend.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-04-18 09:23:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-04-22 10:39:12 -0400
commitd3418eacad403033e95e49dc14afa37c2112c134 (patch)
tree58781b82934fbbe63a1ed262c47abebdd08c54dd /drivers/gpu/drm/radeon/evergreend.h
parentd5169fc4ccfecbfdf3b882be0d2cdf8b057b2eae (diff)
downloadop-kernel-dev-d3418eacad403033e95e49dc14afa37c2112c134.zip
op-kernel-dev-d3418eacad403033e95e49dc14afa37c2112c134.tar.gz
drm/radeon/evergreen: setup HDMI before enabling it
Closed source driver fglrx seems to enable infoframes and audio packets at the end, which makes sense, do the same. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreend.h')
-rw-r--r--drivers/gpu/drm/radeon/evergreend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeon/evergreend.h
index eabf92a..d9a0054 100644
--- a/drivers/gpu/drm/radeon/evergreend.h
+++ b/drivers/gpu/drm/radeon/evergreend.h
@@ -234,6 +234,7 @@
# define HDMI_MPEG_INFO_CONT (1 << 9)
#define HDMI_INFOFRAME_CONTROL1 0x7048
# define HDMI_AVI_INFO_LINE(x) (((x) & 0x3f) << 0)
+# define HDMI_AVI_INFO_LINE_MASK (0x3f << 0)
# define HDMI_AUDIO_INFO_LINE(x) (((x) & 0x3f) << 8)
# define HDMI_MPEG_INFO_LINE(x) (((x) & 0x3f) << 16)
#define HDMI_GENERIC_PACKET_CONTROL 0x704c
OpenPOWER on IntegriCloud