summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-07-06 08:51:25 +0200
committerChristian König <christian.koenig@amd.com>2021-07-09 12:43:13 +0200
commit3efe180d5105d367ae1dfadb97892ab93a89a783 (patch)
tree7def59b752035e81f75560b136fbabf4426e7b66 /drivers/gpu/drm/i915
parentf18f58012ee894039cd59ee8c889bf499d7a3943 (diff)
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: bfa3357ef9ab ("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
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions