summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cikd.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-08-19 11:39:27 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:31:01 -0400
commitbc01a8c7a24169f8b111b7dda6f5d8e7088309af (patch)
tree022c589678297c15a2577693ee2cd798377419b8 /drivers/gpu/drm/radeon/cikd.h
parent290d24576ccf1aa0373d2185cedfe262d0d4952a (diff)
downloadop-kernel-dev-bc01a8c7a24169f8b111b7dda6f5d8e7088309af.zip
op-kernel-dev-bc01a8c7a24169f8b111b7dda6f5d8e7088309af.tar.gz
drm/radeon: update line buffer allocation for dce8
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce8 asics. Based on an initial fix from: Jay Cornwall <jay.cornwall@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/cikd.h')
-rw-r--r--drivers/gpu/drm/radeon/cikd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cikd.h b/drivers/gpu/drm/radeon/cikd.h
index 6a92f49..203d2a0 100644
--- a/drivers/gpu/drm/radeon/cikd.h
+++ b/drivers/gpu/drm/radeon/cikd.h
@@ -393,6 +393,10 @@
#define DMIF_ADDR_CALC 0xC00
+#define PIPE0_DMIF_BUFFER_CONTROL 0x0ca0
+# define DMIF_BUFFERS_ALLOCATED(x) ((x) << 0)
+# define DMIF_BUFFERS_ALLOCATED_COMPLETED (1 << 4)
+
#define SRBM_GFX_CNTL 0xE44
#define PIPEID(x) ((x) << 0)
#define MEID(x) ((x) << 2)
OpenPOWER on IntegriCloud