diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-14 20:24:35 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-15 14:28:14 +1000 |
commit | fba4312e223f1187efc8c083daed70e57fa9c9d3 (patch) | |
tree | d43fd3e94ecb0a7548863ffbe9b7aa4ad5cdfaff /security | |
parent | 0143832cc96d0bf78486297aad5c8fb2c2ead02a (diff) | |
download | kernel_samsung_tuna-fba4312e223f1187efc8c083daed70e57fa9c9d3.zip kernel_samsung_tuna-fba4312e223f1187efc8c083daed70e57fa9c9d3.tar.gz kernel_samsung_tuna-fba4312e223f1187efc8c083daed70e57fa9c9d3.tar.bz2 |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions