This series makes the amdgpu dma-buf exporter handle
AMDGPU_PL_MMIO_REMAP (the HDP flush page) as a BAR-mapped register
window (MMIO)

* Only compilation tested so far (x86_64, defconfig + amdgpu enabled).

Cc: Christian König <christian.koe...@amd.com>
Cc: Alex Deucher <alexander.deuc...@amd.com>

Srinivasan Shanmugam (4):
  drm/amdgpu/dma-buf: Add helpers to map/unmap BAR I/O with
    dma_map_resource()
  drm/amdgpu/dma-buf: Map/Unmap MMIO_REMAP as BAR register window
    (dma_map_resource)
  drm/amdgpu/dma-buf: Pin MMIO_REMAP at export; unpin on release
  drm/amdgpu/dma-buf: Treat MMIO_REMAP as fixed I/O; don't move it

 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 136 +++++++++++++++++++-
 1 file changed, 133 insertions(+), 3 deletions(-)

-- 
2.34.1

Reply via email to