drm/v3d: Add drm core helper, use shmem helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm: Add helpers for locking an array of BO reservations.drivers/ include/ | +80 | 5 replies | |
| 2/4 | drm/v3d: Use drm_gem_lock_reservations()/drm_gem_unlock_reservations()drivers/ | +6 | 0 replies | |
| 3/4 | drm/v3d: Remove some dead members of struct v3d_bo.drivers/ drivers/ | +0 | 0 replies | |
| 4/4 | drm/v3d: Use the new shmem helpers to reduce driver boilerplate.drivers/ drivers/ drivers/ +4 more | +134 | 1 reply |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] drm/v3d: Add drm core helper, use shmem helpers
This was inspired by Rob's respin of the shmem helpers patch for panfrost (which the final patch depends on). And, looking at panfrost and lima, recently I realized that we all had some nasty cargo-cult code for BO reservations that we can share now that the reservation object is in the core GEM struct.
Eric Anholt (4):
drm: Add helpers for locking an array of BO reservations. drm/v3d: Use drm_gem_lock_reservations()/drm_gem_unlock_reservations() drm/v3d: Remove some dead members of struct v3d_bo. drm/v3d: Use the new shmem helpers to reduce driver boilerplate.
drivers/gpu/drm/drm_gem.c | 76 +++++++++ drivers/gpu/drm/v3d/Kconfig | 1 + drivers/gpu/drm/v3d/v3d_bo.c | 309 ++++++++++------------------------ drivers/gpu/drm/v3d/v3d_drv.c | 27 +-- drivers/gpu/drm/v3d/v3d_drv.h | 25 +-- drivers/gpu/drm/v3d/v3d_gem.c | 67 ++------ drivers/gpu/drm/v3d/v3d_irq.c | 8 +- drivers/gpu/drm/v3d/v3d_mmu.c | 34 +++- include/drm/drm_gem.h | 4 + 9 files changed, 220 insertions(+), 331 deletions(-)
Signature · 1 line
2.20.1