summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/tonga_ih.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-23 11:25:43 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-01-11 09:52:43 -0500
commitba228ac8f512c9cd09cb4245c424ab1632da0c24 (patch)
treecc64c605e6410088e63c1d6db01cf834d5cb00e2 /drivers/gpu/drm/amd/amdgpu/tonga_ih.c
parent57b4f7e68720e8a9f5e6e9e61446ec36822e4c57 (diff)
drm/amdgpu/cgs: add an interface to access PCI resources
This provides an interface to get access to the base address of PCI resources (MMIO, DOORBELL, etc.). Only MMIO and DOORBELL are implemented right now. This is necessary to properly utilize shared drivers on platform devices. IP modules can use this interface to get the base address of the resource and add any additional offset and set the size when setting up the platform driver(s). Acked-by: Dave Airlie <airlied@redhat.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_ih.c')
0 files changed, 0 insertions, 0 deletions