drm/radeon: fix r1xx/r2xx register checker for POT textures
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Nov 2019 14:41:46 +0000 (09:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2019 20:06:11 +0000 (15:06 -0500)
commit008037d4d972c9c47b273e40e52ae34f9d9e33e7
tree3c44e1fcc648997c36f357fd0e1a68383343564d
parent4905880b4515721bc4aff17d65be426175d9ddbf
drm/radeon: fix r1xx/r2xx register checker for POT textures

Shift and mask were reversed.  Noticed by chance.

Tested-by: Meelis Roos <mroos@linux.ee>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r200.c