drm/radeon/kms: fix CS alignment checking for tiling (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 4 Jun 2010 22:41:42 +0000 (18:41 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 00:00:04 +0000 (10:00 +1000)
commit40e2a5c15d09e02a71711735564151c789f95032
tree063600a6ea716a4dfde436bed8e34b3b99675ccb
parent7f813377203a60be01a3354664edc5d3c746100d
drm/radeon/kms: fix CS alignment checking for tiling (v2)

Covers depth, cb, and textures. Hopefully I got this right.

v2: - fix bugs:
      https://bugs.freedesktop.org/show_bug.cgi?id=28327
      https://bugs.freedesktop.org/show_bug.cgi?id=28381
    - use ALIGNED(), IS_ALIGNED() macros

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c