projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3697b4
)
gallium/radeon: make it clear that DRM 2.x.x fast clear constraint is CIK-only
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 26 Oct 2016 22:14:16 +0000
(
00:14
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 1 Nov 2016 21:33:13 +0000
(22:33 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_texture.c
b/src/gallium/drivers/radeon/r600_texture.c
index
6c8d5a7
..
7ced41c
100644
(file)
--- a/
src/gallium/drivers/radeon/r600_texture.c
+++ b/
src/gallium/drivers/radeon/r600_texture.c
@@
-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;