OSDN Git Service

radeon: fall back to 1D tiling only with broken kernels
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jun 2012 13:12:37 +0000 (09:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jun 2012 14:43:18 +0000 (10:43 -0400)
commitc2b77a02d4e188cfa6d1b73a721946fd9b1d3577
tree1b5f45018b3a38415ac8eb66acc0289061bc38a5
parentba6130c2d6f4e9833f4d5b43da01673827b26bd4
radeon: fall back to 1D tiling only with broken kernels

Certain cards report the the wrong bank setup which causes
surface init to fail in the ddx and leads to no accel.
If we hit an invalid tiling parameter, just set a default
value and disable 2D tiling.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=43448

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
radeon/radeon_surface.c