drm/radeon/kms: fix alignment when allocating buffers
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 18 Nov 2010 00:00:26 +0000 (19:00 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Nov 2010 04:56:53 +0000 (14:56 +1000)
commit268b2510de14f62134d87ba9b4981816192db386
tree8861593a52a6e229cf29f02223986d17876fa57f
parent2f5993cca67f9c80dcd390feef13695ca072b8a5
drm/radeon/kms: fix alignment when allocating buffers

We were previously dropping alignment requests on the floor
when allocating buffers so we always ended up page aligned.
Certain tiling modes on 6xx+ require larger alignment which
wasn't happening before.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: Jerome Glisse <j.glisse@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
13 files changed:
drivers/gpu/drm/radeon/evergreen_blit_kms.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/radeon_benchmark.c
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_gart.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_object.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/radeon_test.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/radeon/rv770.c