]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: fix handling of tex lookup disable in cs checker on r2xx
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 27 Oct 2010 05:02:35 +0000 (01:02 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Oct 2010 01:27:04 +0000 (11:27 +1000)
commitca861da0788fdb7c86997154db2e76df0ca64901
tree10b747157c8fb249b7b86807281d6d61fe5a39d3
parent2e7ca38b855715c5839978a9e1775df4fc187d77
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>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r100_track.h
drivers/gpu/drm/radeon/r200.c
drivers/gpu/drm/radeon/radeon_reg.h