diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2020-04-29 12:34:36 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-04-29 14:21:34 +0300 |
commit | 5b5703dbafae74adfbe298a56a81694172caf5e6 (patch) | |
tree | 8adc233b7f9ff80e764757e57a3032a205fceeb9 /drivers/gpu/drm/qxl | |
parent | a65aa9c3676ffccb21361d52fcfedd5b5ff387d7 (diff) | |
download | linux-5b5703dbafae74adfbe298a56a81694172caf5e6.tar.xz |
drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
v2: removed TODO reminder
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Link: http://patchwork.freedesktop.org/patch/msgid/a4e0ae09-a73c-1c62-04ef-3f990d41bea9@virtuozzo.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_image.c b/drivers/gpu/drm/qxl/qxl_image.c index 43688ecdd8a0..60ab7151b84d 100644 --- a/drivers/gpu/drm/qxl/qxl_image.c +++ b/drivers/gpu/drm/qxl/qxl_image.c @@ -212,7 +212,8 @@ qxl_image_init_helper(struct qxl_device *qdev, break; default: DRM_ERROR("unsupported image bit depth\n"); - return -EINVAL; /* TODO: cleanup */ + qxl_bo_kunmap_atomic_page(qdev, image_bo, ptr); + return -EINVAL; } image->u.bitmap.flags = QXL_BITMAP_TOP_DOWN; image->u.bitmap.x = width; |