drm/radeon/kms/r600: fix blit support
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 10 Sep 2009 06:53:50 +0000 (02:53 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Sep 2009 08:44:16 +0000 (18:44 +1000)
commit119e20dc149581db3064661b2e659f308f97b663
tree44971a17736e127ae503c608dd76874472103b10
parenta513c184d99fe10e7b20771ef86f5f807769318f
drm/radeon/kms/r600: fix blit support

select the correct max number of bytes per blit based
on whether the size is multiple of 4 bytes.  This
determines whether we can use 8 or 32 bit pixels for
the blit.

airlied: also merged the IB padding patch +
correcting the VS offset for context

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