drm/qxl: drop unused offset parameter from qxl_io_create_primary()
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Noralf Trønnes <noralf@tronnes.org> Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-12-kraxel@redhat.com
This commit is contained in:
@@ -377,8 +377,7 @@ void qxl_io_destroy_primary(struct qxl_device *qdev)
|
||||
qdev->primary_created = false;
|
||||
}
|
||||
|
||||
void qxl_io_create_primary(struct qxl_device *qdev,
|
||||
unsigned int offset, struct qxl_bo *bo)
|
||||
void qxl_io_create_primary(struct qxl_device *qdev, struct qxl_bo *bo)
|
||||
{
|
||||
struct qxl_surface_create *create;
|
||||
|
||||
@@ -389,9 +388,9 @@ void qxl_io_create_primary(struct qxl_device *qdev,
|
||||
create->height = bo->surf.height;
|
||||
create->stride = bo->surf.stride;
|
||||
if (bo->shadow) {
|
||||
create->mem = qxl_bo_physical_address(qdev, bo->shadow, offset);
|
||||
create->mem = qxl_bo_physical_address(qdev, bo->shadow, 0);
|
||||
} else {
|
||||
create->mem = qxl_bo_physical_address(qdev, bo, offset);
|
||||
create->mem = qxl_bo_physical_address(qdev, bo, 0);
|
||||
}
|
||||
|
||||
DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr);
|
||||
|
Reference in New Issue
Block a user