diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-10-27 07:02:35 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-28 03:27:04 +0200 |
commit | 43b93fbffc2c080dba2e84df6fce8d7e6c0a2581 (patch) | |
tree | 10b747157c8fb249b7b86807281d6d61fe5a39d3 /drivers/gpu/drm/radeon/r100_track.h | |
parent | vmwgfx: Implement a proper GMR eviction mechanism (diff) | |
download | linux-43b93fbffc2c080dba2e84df6fce8d7e6c0a2581.tar.xz linux-43b93fbffc2c080dba2e84df6fce8d7e6c0a2581.zip |
drm/radeon/kms: fix handling of tex lookup disable in cs checker on r2xx
There are cases when multiple texture units have to be enabled,
but not actually used to sample. This patch checks to see if
the lookup_disable bit is set and if so, skips the texture check.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=25544
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r100_track.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r100_track.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r100_track.h b/drivers/gpu/drm/radeon/r100_track.h index f47cdca1c004..af65600e6564 100644 --- a/drivers/gpu/drm/radeon/r100_track.h +++ b/drivers/gpu/drm/radeon/r100_track.h @@ -46,6 +46,7 @@ struct r100_cs_track_texture { unsigned height_11; bool use_pitch; bool enabled; + bool lookup_disable; bool roundup_w; bool roundup_h; unsigned compress_format; |