diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-05-31 18:54:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-10 00:33:01 +0900 |
commit | eb7165df9c92e2b6d4b33a7a7176dbedac70404b (patch) | |
tree | db93f7ab478540ebb7df0276c5dd6d1ff64d9080 /drivers/gpu/drm/radeon/rv770.c | |
parent | 82a7795bc1860e5cfd4410f060b4dc5cbae41d1d (diff) | |
download | kernel_samsung_smdk4412-eb7165df9c92e2b6d4b33a7a7176dbedac70404b.zip kernel_samsung_smdk4412-eb7165df9c92e2b6d4b33a7a7176dbedac70404b.tar.gz kernel_samsung_smdk4412-eb7165df9c92e2b6d4b33a7a7176dbedac70404b.tar.bz2 |
drm/radeon: properly program gart on rv740, juniper, cypress, barts, hemlock
commit 0b8c30bc4943137a4a36b9cb059b1cc684f5d702 upstream.
Need to program an additional VM register. This doesn't not currently
cause any problems, but allows us to program the proper backend
map in a subsequent patch which should improve performance on these
asics.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 84cf82f..51d20aa 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c @@ -151,6 +151,8 @@ int rv770_pcie_gart_enable(struct radeon_device *rdev) WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); + if (rdev->family == CHIP_RV740) + WREG32(MC_VM_MD_L1_TLB3_CNTL, tmp); WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); |