diff options
author | Mathias Fröhlich <Mathias.Froehlich@web.de> | 2009-10-19 12:50:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-26 13:28:19 +1000 |
commit | ceb776bc87280eb8d13f38e4d7afae757e95af44 (patch) | |
tree | ecc62b9bf5f3563a0fe30227e04f3226e7477059 /drivers/gpu/drm/radeon/radeon_ring.c | |
parent | c850cb782626fda78e5e9e5baf18a5bd806a225c (diff) |
drm/radeon/kms: fix cs parser tex bit 11 check
The problem boils down to the order when the bit11
of the texture size is or'ed to the original width.
In the end each mipmap level has the same width or
height because of that 11 bit is ored to the scaled
down lod with and thus blows up the size again to the
full size or more due to the power of two rounding
afterwards.
The attached patch changes this order so that the
texture sizes are computed correct. Also the on error
the yet missing inputs to the size computation are
printed which helped me to find out where it really breaks.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ring.c')
0 files changed, 0 insertions, 0 deletions