linux/drivers/gpu/drm/qxl
Christian König 3efe180d51 drm/qxl: add NULL check for bo->resource
When allocations fails that can be NULL now.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Tested-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Tested-by: Roberto Sassu <roberto.sassu@huawei.com>
Fixes: bfa3357ef9 ("drm/ttm: allocate resource object instead of embedding it v2")
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210708114710.8186-1-christian.koenig@amd.com
2021-07-09 12:43:13 +02:00
..
Kconfig drm/qxl: Fix randbuild error 2019-10-17 14:31:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c drm/qxl: use ttm bo priorities 2021-02-19 09:13:25 +01:00
qxl_debugfs.c dma-buf: rename and cleanup dma_resv_get_list v2 2021-06-06 11:18:19 +02:00
qxl_dev.h drm/qxl: use flexible-array member instead of zero-length array 2020-12-22 13:43:29 +01:00
qxl_display.c drm/qxl: balance dumb_shadow_bo pin 2021-05-12 12:37:47 +02:00
qxl_draw.c drm/qxl: rename qxl_bo_kmap -> qxl_bo_vmap_locked 2021-02-19 09:13:25 +01:00
qxl_drv.c Merge drm/drm-next into drm-misc-next 2021-05-11 15:59:18 +02:00
qxl_drv.h drm/ttm: rename bo->mem and make it a pointer 2021-06-02 11:07:25 +02:00
qxl_dumb.c drm: qxl: ensure surf.data is ininitialized 2021-06-09 08:52:07 +02:00
qxl_gem.c drm/qxl: use ttm bo priorities 2021-02-19 09:13:25 +01:00
qxl_image.c drm/qxl: rename qxl_bo_kmap -> qxl_bo_vmap_locked 2021-02-19 09:13:25 +01:00
qxl_ioctl.c drm/qxl: Use drm_gem_ttm_dumb_map_offset() 2021-04-11 20:15:21 +02:00
qxl_irq.c drm/qxl: properly free qxl releases 2021-02-05 08:52:45 +01:00
qxl_kms.c drm/qxl: properly handle device init failures 2021-02-19 09:13:25 +01:00
qxl_object.c drm/ttm: rename bo->mem and make it a pointer 2021-06-02 11:07:25 +02:00
qxl_object.h drm/qxl: Use drm_gem_ttm_dumb_map_offset() 2021-04-11 20:15:21 +02:00
qxl_prime.c drm/qxl: fix prime vmap 2021-02-19 09:13:25 +01:00
qxl_release.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
qxl_ttm.c drm/qxl: add NULL check for bo->resource 2021-07-09 12:43:13 +02:00