Alex Deucher fba4312e22 drm/radeon/kms: fix and unify tiled buffer alignment checking for r6xx/7xx
Tiled buffers have the same alignment requirements regardless of
whether the surface is for db, cb, or textures.  Previously, the
calculations where inconsistent for each buffer type.

- Unify the alignment calculations in a common function
- Standardize the alignment units (pixels for pitch/height/depth,
bytes for base)
- properly check the buffer base alignments

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-11-15 14:28:14 +10:00
..
2010-10-29 00:29:51 +02:00
2010-10-29 04:16:28 -04:00
2010-11-10 14:40:53 +01:00
2010-10-30 08:31:35 -07:00
2010-11-08 11:41:15 -05:00
2010-11-12 07:55:30 -08:00
2010-11-10 14:54:09 +01:00
2010-11-11 11:06:09 -08:00