mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
drm/plane: remove drm_helper_get_plane_damage_clips
It's not used. Drivers should instead use the helpers anyway. Currently both vbox and i915 hand-roll this and it's not the greatest. vbox looks buggy, and i915 does a bit much that helpers would take care of I think. Also improve the kerneldocs while we're at it. Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <mripard@kernel.org> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210723083457.696939-1-daniel.vetter@ffwll.ch
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
* @x2: horizontal ending coordinate (exclusive)
|
||||
* @y1: vertical starting coordinate (inclusive)
|
||||
* @y2: vertical ending coordinate (exclusive)
|
||||
*
|
||||
* Note that this must match the layout of struct drm_mode_rect or the damage
|
||||
* helpers like drm_atomic_helper_damage_iter_init() break.
|
||||
*/
|
||||
struct drm_rect {
|
||||
int x1, y1, x2, y2;
|
||||
|
Reference in New Issue
Block a user