linux-xiaomi-chiron/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
Makefile
qxl_cmd.c
qxl_debugfs.c
qxl_dev.h
qxl_display.c
qxl_draw.c
qxl_drv.c
qxl_drv.h
qxl_dumb.c
qxl_gem.c
qxl_image.c
qxl_ioctl.c
qxl_irq.c
qxl_kms.c
qxl_object.c
qxl_object.h
qxl_prime.c
qxl_release.c
qxl_ttm.c