]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Make GPU/CPU page size handling consistent in blit code (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2011 16:04:08 +0000 (12:04 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Sep 2011 18:44:36 +0000 (19:44 +0100)
commitfda0509b3e02b37a9fae71682b27dda138c0adee
treeeb310780feff0bbdccda730dceb67a4379dea04c
parent943c0863e4409322ad99053d3e885c69030471fb
drm/radeon/kms: Make GPU/CPU page size handling consistent in blit code (v2)

The BO blit code inconsistenly handled the page size.  This wasn't
an issue on system with 4k pages since the GPU's page size is 4k as
well.  Switch the driver blit callbacks to take num pages in GPU
page units.

Fixes lemote mipsel systems using AMD rs780/rs880 chipsets.

v2: incorporate suggestions from Michel.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r200.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_ttm.c