aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_fbdev.c
diff options
context:
space:
mode:
authorNoralf Trønnes <[email protected]>2019-04-26 12:47:53 +0000
committerNoralf Trønnes <[email protected]>2019-05-08 14:01:40 +0000
commit23e35c0eb81a23d40c079a7eb187fc321fa1deb7 (patch)
tree3a79e89d4bb59a2223f1cb54a2b81e1d9b78196b /drivers/gpu/drm/i915/intel_fbdev.c
parentdrm: Fix timestamp docs for variable refresh properties. (diff)
downloadkernel-23e35c0eb81a23d40c079a7eb187fc321fa1deb7.tar.gz
kernel-23e35c0eb81a23d40c079a7eb187fc321fa1deb7.zip
drm/cma-helper: Fix drm_gem_cma_free_object()
The logic for freeing an imported buffer with a virtual address is broken. It will free the buffer instead of unmapping the dma buf. Fix by reversing the if ladder and first check if the buffer is imported. Fixes: b9068cde51ee ("drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS") Cc: [email protected] Reported-by: "Li, Tingqian" <[email protected]> Signed-off-by: Noralf Trønnes <[email protected]> Reviewed-by: Oleksandr Andrushchenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fbdev.c')
0 files changed, 0 insertions, 0 deletions