]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/alpha: Add Alpha support to Radeon DRM code
authorJay Estabrook <jay.estabrook@gmail.com>
Wed, 6 Jul 2011 23:57:13 +0000 (23:57 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Aug 2011 08:31:08 +0000 (09:31 +0100)
commit01b442b11c9b6dd42bac5300001b7782f52079c6
treef21fa0e39c45dee70b5c0d82954fcf161eb5af26
parentf3fe47055b9e778127957b4c9c939d7d9c5d2969
drm/radeon/alpha: Add Alpha support to Radeon DRM code

Alpha needs to have available the system bus address for the Radeon's
local memory, so that it can be used in ttm_bo_vm_fault(), when building
the PTEs for accessing that VRAM.  So, we make bus.addr hold the ioremap()
return, and then we can modify bus.base appropriately for use during page
fault processing.

Signed-off-by: Jay Estabrook <jay.estabrook@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_ttm.c