summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@web.de>2009-10-19 12:50:41 -0400
committerDave Airlie <airlied@redhat.com>2009-10-26 13:28:19 +1000
commitceb776bc87280eb8d13f38e4d7afae757e95af44 (patch)
treeecc62b9bf5f3563a0fe30227e04f3226e7477059 /drivers/virtio
parentc850cb782626fda78e5e9e5baf18a5bd806a225c (diff)
downloadop-kernel-dev-ceb776bc87280eb8d13f38e4d7afae757e95af44.zip
op-kernel-dev-ceb776bc87280eb8d13f38e4d7afae757e95af44.tar.gz
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/virtio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud