drm: writeback: Add client capability for exposing writeback connectors
Due to the fact that writeback connectors behave in a special way in DRM (they always report being disconnected) we might confuse some userspace. Add a client capability for writeback connectors that will filter them out for clients that don't understand the capability. Changelog: - only accept the capability if the client has already set the DRM_CLIENT_CAP_ATOMIC one. Cc: Sean Paul <seanpaul@chromium.org> Cc: Brian Starkey <brian.starkey@arm.com> Signed-off-by:Liviu Dudau <liviu.dudau@arm.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Brian Starkey <brian.starkey@arm.com> Link: https://patchwork.freedesktop.org/patch/229038/
Showing
- drivers/gpu/drm/drm_ioctl.c 7 additions, 0 deletionsdrivers/gpu/drm/drm_ioctl.c
- drivers/gpu/drm/drm_mode_config.c 5 additions, 0 deletionsdrivers/gpu/drm/drm_mode_config.c
- include/drm/drm_file.h 7 additions, 0 deletionsinclude/drm/drm_file.h
- include/uapi/drm/drm.h 9 additions, 0 deletionsinclude/uapi/drm/drm.h
Loading
Please register or sign in to comment