drm/fb-helper: Fix and improve fbdevio clipping
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
* rename memory-to-clip helper (Javier)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm/fb-helper: Fix clip rectangle heightdrivers/ | +1 | 0 replies | |
| 2/5 | drm/fb-helper: Fix vertical damage clippingdrivers/ | +1 | 0 replies | |
| 3/5 | drm/fb-helper: Calculate damaged area in separate helperdrivers/ | +20 | 0 replies | |
| 4/5 | drm/fb-helper: Clip damage area to written memory rangedrivers/ | +21 | 0 replies | |
| 5/5 | drm/fb-helper: Clip damage area horizontallydrivers/ | +12 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Javier Martinez Canillas |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] drm/fb-helper: Fix and improve fbdevio clipping
This is one of several patchset s to improve fb deferred I/O and DRM's use of it. The patches fix several problems with the current helpers and add some easy improvements.
Deferred I/O tracks dirty pages of the screen buffer, from which DRM calculates a bounding box of the damaged area. Patches 1 and 2 resolve bugs in the computation. Specifically, it makes the damage handling work with overallocation and panning enabled.
Patches 3 to 5 add an easy performance improvement. Instead of damaging the whole viewport after a write operation, only damage the written area. For large writes the area consists of multiple scanlines, for small writes the area might consist of only a few pixels on a single scanline. Write operations now also work correctly with overallocation and panning enabled.
v2:
* rename memory-to-clip helper (Javier)
Thomas Zimmermann (5):
drm/fb-helper: Fix clip rectangle height drm/fb-helper: Fix vertical damage clipping drm/fb-helper: Calculate damaged area in separate helper drm/fb-helper: Clip damage area to written memory range drm/fb-helper: Clip damage area horizontally
drivers/gpu/drm/drm_fb_helper.c | 69 ++++++++++++++++++++++++++------- 1 file changed, 54 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1