gallium/radeon: make it clear that DRM 2.x.x fast clear constraint is CIK-only
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
e3697b4be6
commit
1a4e0162fc
|
@ -2457,8 +2457,8 @@ void evergreen_do_fast_color_clear(struct r600_common_context *rctx,
|
|||
continue;
|
||||
|
||||
/* fast color clear with 1D tiling doesn't work on old kernels and CIK */
|
||||
if (tex->surface.level[0].mode == RADEON_SURF_MODE_1D &&
|
||||
rctx->chip_class >= CIK &&
|
||||
if (rctx->chip_class == CIK &&
|
||||
tex->surface.level[0].mode == RADEON_SURF_MODE_1D &&
|
||||
rctx->screen->info.drm_major == 2 &&
|
||||
rctx->screen->info.drm_minor < 38) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue