aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreend.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-11-22 17:56:18 -0500
committerDave Airlie <airlied@redhat.com>2010-11-22 18:23:09 -0500
commit9535ab7323351bacf02d82af79921df1d6594969 (patch)
tree03fcb11a215b24968c8034d0311b54336ddc3d8e /drivers/gpu/drm/radeon/evergreend.h
parent27641c3f003e7f3b6585c01d8a788883603eb262 (diff)
drm/radeon/kms: setup mc chremap properly on r7xx/evergreen
Should improve performance slightly and possibly fix some issues. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreend.h')
-rw-r--r--drivers/gpu/drm/radeon/evergreend.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreend.h b/drivers/gpu/drm/radeon/evergreend.h
index 113c70cc8b39..9644b1cbfb09 100644
--- a/drivers/gpu/drm/radeon/evergreend.h
+++ b/drivers/gpu/drm/radeon/evergreend.h
@@ -180,6 +180,7 @@
180#define MC_SHARED_CHMAP 0x2004 180#define MC_SHARED_CHMAP 0x2004
181#define NOOFCHAN_SHIFT 12 181#define NOOFCHAN_SHIFT 12
182#define NOOFCHAN_MASK 0x00003000 182#define NOOFCHAN_MASK 0x00003000
183#define MC_SHARED_CHREMAP 0x2008
183 184
184#define MC_ARB_RAMCFG 0x2760 185#define MC_ARB_RAMCFG 0x2760
185#define NOOFBANK_SHIFT 0 186#define NOOFBANK_SHIFT 0
@@ -348,6 +349,9 @@
348#define SYNC_WALKER (1 << 25) 349#define SYNC_WALKER (1 << 25)
349#define SYNC_ALIGNER (1 << 26) 350#define SYNC_ALIGNER (1 << 26)
350 351
352#define TCP_CHAN_STEER_LO 0x960c
353#define TCP_CHAN_STEER_HI 0x9610
354
351#define VGT_CACHE_INVALIDATION 0x88C4 355#define VGT_CACHE_INVALIDATION 0x88C4
352#define CACHE_INVALIDATION(x) ((x) << 0) 356#define CACHE_INVALIDATION(x) ((x) << 0)
353#define VC_ONLY 0 357#define VC_ONLY 0