summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/cik_sdma.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-15 14:17:56 +0200
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commitc9b004af58fd7448c9522eae14b7686152b98487 (patch)
tree94b4978c2c4d9b2bc0377af93381e17770f74e5c /src/gallium/drivers/radeonsi/cik_sdma.c
parent92112ec296ef06b37f6e2f93604e33619a613871 (diff)
radeonsi/gfx9: handle GFX9 in a few places
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/cik_sdma.c')
-rw-r--r--src/gallium/drivers/radeonsi/cik_sdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c
index bee35cd8212..fdcf22f6d49 100644
--- a/src/gallium/drivers/radeonsi/cik_sdma.c
+++ b/src/gallium/drivers/radeonsi/cik_sdma.c
@@ -429,9 +429,9 @@ static bool cik_sdma_copy_texture(struct si_context *sctx,
dsty % 8 == 0 &&
srcx % 8 == 0 &&
srcy % 8 == 0 &&
- /* this can either be equal, or display->rotated (VI only) */
+ /* this can either be equal, or display->rotated (VI+ only) */
(src_micro_mode == dst_micro_mode ||
- (sctx->b.chip_class == VI &&
+ (sctx->b.chip_class >= VI &&
src_micro_mode == V_009910_ADDR_SURF_DISPLAY_MICRO_TILING &&
dst_micro_mode == V_009910_ADDR_SURF_ROTATED_MICRO_TILING))) {
assert(src_pitch % 8 == 0);