diff options
author | Marek Olšák <[email protected]> | 2019-05-15 14:33:34 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-05-27 15:10:51 -0400 |
commit | b25795602160af020d6bec30c88207a544a73ae9 (patch) | |
tree | 4317ffca01a65cfbdab5ebe37a36eb53727ffc74 /src/gallium/drivers/radeonsi/cik_sdma.c | |
parent | 37af75f88c8c1daf67f3d4747613040a6dd9caf8 (diff) |
ac: treat Mullins as Kabini, remove the enum
it's the same design
Diffstat (limited to 'src/gallium/drivers/radeonsi/cik_sdma.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/cik_sdma.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c index 2728541dd29..ba62295318f 100644 --- a/src/gallium/drivers/radeonsi/cik_sdma.c +++ b/src/gallium/drivers/radeonsi/cik_sdma.c @@ -272,8 +272,7 @@ static bool cik_sdma_copy_texture(struct si_context *sctx, if ((sctx->family == CHIP_BONAIRE || sctx->family == CHIP_KAVERI || - sctx->family == CHIP_KABINI || - sctx->family == CHIP_MULLINS) && + sctx->family == CHIP_KABINI) && (tiled_x + copy_width == (1 << 14) || tiled_y + copy_height == (1 << 14))) return false; @@ -442,8 +441,7 @@ static bool cik_sdma_copy_texture(struct si_context *sctx, /* HW limitation - some GFX7 parts: */ ((sctx->family != CHIP_BONAIRE && sctx->family != CHIP_KAVERI && - sctx->family != CHIP_KABINI && - sctx->family != CHIP_MULLINS) || + sctx->family != CHIP_KABINI) || (srcx + copy_width_aligned != (1 << 14) && srcy + copy_height_aligned != (1 << 14) && dstx + copy_width != (1 << 14)))) { |