summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2014-07-24 22:34:17 +0200
committerDave Airlie <airlied@redhat.com>2014-07-25 01:17:35 +0200
commit1b2c4869d8247f9e202fa8a73777c34adc62d409 (patch)
treee61c1a8c19e81ef70fe34a930b318542430782a4
parentMerge branch 'drm-fixes-3.16' of git://people.freedesktop.org/~agd5f/linux in... (diff)
downloadlinux-1b2c4869d8247f9e202fa8a73777c34adc62d409.tar.xz
linux-1b2c4869d8247f9e202fa8a73777c34adc62d409.zip
drm/radeon: fix cut and paste issue for hawaii.
This is a halfway fix for hawaii acceleration. More fixes to come but hopefully isolated to userspace. Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/cik.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index cc1f02f6817d..c0ea66192fe0 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -2291,6 +2291,7 @@ static void cik_tiling_mode_table_init(struct radeon_device *rdev)
gb_tile_moden = 0;
break;
}
+ rdev->config.cik.macrotile_mode_array[reg_offset] = gb_tile_moden;
WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), gb_tile_moden);
}
} else if (num_pipe_configs == 8) {