drm/radeon/kms: fix r100->r500 CS checker for compressed textures. (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 7 Dec 2009 03:16:06 +0000 (13:16 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 06:10:45 +0000 (16:10 +1000)
commitd785d78bbdb53580b12c40e820af5a3281ce2fc8
tree080fad9ee53f058ee044e9bce4d151f860916be0
parent6e7267721fd67d626433ea10c59fc232c6928259
drm/radeon/kms: fix r100->r500 CS checker for compressed textures. (v2)

This adds support for compressed textures to the r100->r500 CS
checker, it lets me run openarena and the demos in mesa fine.

Thanks to Maciej Cencora for initial comments.

Changes since v1:
fix calculations with Maciej formulas

Reviewed-by: Maciej Cencora <m.cencora@gmail.com>
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/r300.c