Skip to content

drm/msm: fbdev: Fix the framebuffer pin leak on destroy

Vladimir Zapolskiy dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/msm: fbdev: Unpin the framebuffer buffer object on destroydrivers/gpu/drm/msm/msm_fbdev.c+2 -01 reply
2/2drm/msm: fbdev: Add the missing VMA reference of the framebufferdrivers/gpu/drm/msm/msm_fbdev.c+4 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDmitry Baryshkov
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm/msm: fbdev: Fix the framebuffer pin leak on destroy

The fbdev emulation pins the framebuffer buffer object in the KMS address space on probe, but never unpins it, and the buffer object is freed while still pinned, which triggers a pin_count warning on unbind of the MSM DRM device, for instance on removal of a DSI panel driver module.

Vladimir Zapolskiy (2):
drm/msm: fbdev: Unpin the framebuffer buffer object on destroy drm/msm: fbdev: Add the missing VMA reference of the framebuffer

 drivers/gpu/drm/msm/msm_fbdev.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.51.0