summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-03-28 16:54:50 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-04-04 23:33:42 -0400
commitea642c3216cb2a60d1c0e760ae47ee85c9c16447 (patch)
tree8f80acf77ce3e8d80ccabf63e1e9502492c3a42a /drivers/gpu/drm/qxl
parent018b7fc3a9ac33ac56310ab301dca402155eee15 (diff)
downloadblackbird-op-linux-ea642c3216cb2a60d1c0e760ae47ee85c9c16447.tar.gz
blackbird-op-linux-ea642c3216cb2a60d1c0e760ae47ee85c9c16447.zip
drm/ttm: add io_mem_pfn callback
This allows the driver to handle io_mem mappings on their own. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r--drivers/gpu/drm/qxl/qxl_ttm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c
index 7d1cab57c89e..0fdedee4509d 100644
--- a/drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/drivers/gpu/drm/qxl/qxl_ttm.c
@@ -393,6 +393,7 @@ static struct ttm_bo_driver qxl_bo_driver = {
.verify_access = &qxl_verify_access,
.io_mem_reserve = &qxl_ttm_io_mem_reserve,
.io_mem_free = &qxl_ttm_io_mem_free,
+ .io_mem_pfn = ttm_bo_default_io_mem_pfn,
.move_notify = &qxl_bo_move_notify,
};
OpenPOWER on IntegriCloud