OSDN Git Service

drm/msm: add DRM_IOCTL_MSM_RMFB2
authorLloyd Atkinson <latkinso@codeaurora.org>
Mon, 30 Jan 2017 22:30:55 +0000 (17:30 -0500)
committerYunyun Cao <yunyunc@codeaurora.org>
Mon, 13 Aug 2018 03:57:37 +0000 (11:57 +0800)
commit5298eb8be59364c03234493b14803fabb8a09b2d
tree15a2a6d8596e4c8ff99aa7908c09d61724c21916
parent6d92c598ae4bd1ce6b983dc3550aff0019388b4d
drm/msm: add DRM_IOCTL_MSM_RMFB2

Add new remove framebuffer ioctl that simply unreferences the
given framebuffer instead of triggering a shutdown of the CRTC
if the buffer is in active use. This allows the user space to
proactively unref the buffer without triggering an unwanted
shutdown.

Change-Id: Iac06985d069989b28affcf620d4e3feba6d07644
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
drivers/gpu/drm/msm/msm_drv.c
include/uapi/drm/msm_drm.h