diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-14 20:24:35 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-18 14:55:37 +1000 |
commit | 16790569eddf4d406a16a65f4750f405fa669c52 (patch) | |
tree | d43fd3e94ecb0a7548863ffbe9b7aa4ad5cdfaff /ipc | |
parent | 0143832cc96d0bf78486297aad5c8fb2c2ead02a (diff) | |
download | blackbird-op-linux-16790569eddf4d406a16a65f4750f405fa669c52.tar.gz blackbird-op-linux-16790569eddf4d406a16a65f4750f405fa669c52.zip |
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 'ipc')
0 files changed, 0 insertions, 0 deletions