Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Add DRM plane damage support #1267

Closed
emersion opened this issue Sep 27, 2018 · 3 comments · Fixed by #3059
Closed

Add DRM plane damage support #1267

emersion opened this issue Sep 27, 2018 · 3 comments · Fixed by #3059

Comments

@emersion
Copy link
Member

emersion commented Sep 27, 2018

Aka FB_DAMAGE_CLIPS

It's an optimization that allows drivers to access the damaged region. Shouldn't be hard to implement.

See https://gitlab.freedesktop.org/wayland/weston/merge_requests/17

Docs: https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#fb-damage-clips

@emersion
Copy link
Member Author

emersion commented Apr 1, 2019

The GitLab MR has been merged.

@emersion
Copy link
Member Author

emersion commented Apr 19, 2019

The new PSR2 panels (Panel Self Refresh) may use this property

@emersion
Copy link
Member Author

i915 patch to use this prop for PSR2 on gen12+: https://patchwork.freedesktop.org/series/78830/

emersion added a commit to emersion/wlroots that referenced this issue Jul 21, 2021
This allows the kernel to access our buffer damage. Some drivers
can take advantage of this, e.g. for PSR2 panels (Panel Self
Refresh) or for transfer over USB.

Closes: swaywm#1267
emersion added a commit that referenced this issue Aug 18, 2021
This allows the kernel to access our buffer damage. Some drivers
can take advantage of this, e.g. for PSR2 panels (Panel Self
Refresh) or for transfer over USB.

Closes: #1267
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

1 participant