Skip to content

plane update with damage

Deepak Rawat dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm: add new plane property FB_DAMAGE_CLIPS to send damage during plane updateDocumentation/gpu/drm-kms.rst drivers/gpu/drm/Makefile drivers/gpu/drm/drm_atomic.c +8 more+226 -19 replies
2/14drm: add helper iterator functions for plane fb_damage_clips blobdrivers/gpu/drm/drm_damage_helper.c include/drm/drm_damage_helper.h+113 -03 replies
3/14drm: clear plane damage during full modesetdrivers/gpu/drm/drm_atomic_helper.c include/drm/drm_damage_helper.h+14 -05 replies
4/14drm: add helper to implement legacy dirtyfbdrivers/gpu/drm/drm_damage_helper.c include/drm/drm_damage_helper.h+120 -01 reply
5/14drm/vmwgfx: add a new interface for plane update on a display unitdrivers/gpu/drm/vmwgfx/vmwgfx_kms.c drivers/gpu/drm/vmwgfx/vmwgfx_kms.h+251 -02 replies
6/14drm/vmwgfx: implement STDU plane update for surface backed fbdrivers/gpu/drm/vmwgfx/vmwgfx_kms.h drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c+219 -10 replies
7/14drm/vmwgfx: implement STDU plane update for BO backed fbdrivers/gpu/drm/vmwgfx/vmwgfx_kms.h drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c+249 -00 replies
8/14drm/vmwgfx: use the new interface for STDU plane updatedrivers/gpu/drm/vmwgfx/vmwgfx_stdu.c+9 -291 reply
9/14drm/vmwgfx: enable FB_DAMAGE_CLIPS property for STDU primary planedrivers/gpu/drm/vmwgfx/vmwgfx_stdu.c+1 -01 reply
10/14drm/vmwgfx: implement SOU plane update for surface backed fbdrivers/gpu/drm/vmwgfx/vmwgfx_kms.h drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c+190 -00 replies
11/14drm/vmwgfx: implement SOU plane update for BO backed fbdrivers/gpu/drm/vmwgfx/vmwgfx_scrn.c+134 -00 replies
12/14drm/vmwgfx: use the new interface for SOU plane updatedrivers/gpu/drm/vmwgfx/vmwgfx_scrn.c+9 -290 replies
13/14drm/vmwgfx: enable FB_DAMAGE_CLIPS property for SOU primary planedrivers/gpu/drm/vmwgfx/vmwgfx_scrn.c+2 -00 replies
14/14drm/vmwgfx: use atomic helper function for dirty fb IOCTLdrivers/gpu/drm/vmwgfx/vmwgfx_kms.c+2 -1140 replies

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/14
2/14
3/14R-b
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] plane update with damage

Hi,

Set of patches for a new plane property FB_DAMAGE_CLIPS to send damage during plane update. I have incorporated review comments since last RFC. Also with this patch series vmwgfx implementation of plane damage.

Based on Rob Clark earlier patch, implemented legacy dirtyfb with new damage clips property.

I will be sending a separate patch series for unit test case for damage interface using igt-gpu-tools. Also a separate patch series for a rudimentary weston implementation, which for now only send damage for default scanout plane.

Testing: vmware xorg driver mainly use dirty_fb ioctl to update the screen so it is a good overall test of damage interface. Weston implementation also works as intended.

Let me know what you think. Thanks,
Deepak

Deepak Rawat (12):
drm: add helper iterator functions for plane fb_damage_clips blob
drm: clear plane damage during full modeset
drm/vmwgfx: add a new interface for plane update on a display unit drm/vmwgfx: implement STDU plane update for surface backed fb drm/vmwgfx: implement STDU plane update for BO backed fb drm/vmwgfx: use the new interface for STDU plane update drm/vmwgfx: enable FB_DAMAGE_CLIPS property for STDU primary plane drm/vmwgfx: implement SOU plane update for surface backed fb drm/vmwgfx: implement SOU plane update for BO backed fb drm/vmwgfx: use the new interface for SOU plane update drm/vmwgfx: enable FB_DAMAGE_CLIPS property for SOU primary plane drm/vmwgfx: use atomic helper function for dirty fb IOCTL

Lukasz Spintzyk (1):
drm: add new plane property FB_DAMAGE_CLIPS to send damage during
plane update

Rob Clark (1):
drm: add helper to implement legacy dirtyfb

 Documentation/gpu/drm-kms.rst        |   9 +
 drivers/gpu/drm/Makefile             |   2 +-
 drivers/gpu/drm/drm_atomic.c         |  13 +
 drivers/gpu/drm/drm_atomic_helper.c  |   8 +
 drivers/gpu/drm/drm_damage_helper.c  | 301 +++++++++++++++++
 drivers/gpu/drm/drm_mode_config.c    |   6 +
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  | 225 ++++++-------
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h  | 171 ++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 361 ++++++++++++++++++--
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 483 +++++++++++++++++++++++++--
 include/drm/drm_damage_helper.h      |  97 ++++++
 include/drm/drm_mode_config.h        |  10 +
 include/drm/drm_plane.h              |   8 +
 include/uapi/drm/drm_mode.h          |  19 ++
 14 files changed, 1539 insertions(+), 174 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_damage_helper.c
 create mode 100644 include/drm/drm_damage_helper.h
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel