drm/ttm: bind/unbind + cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/ttm: protect against reentrant bind in the driversdrivers/ drivers/ drivers/ +10 more | +91 | 1 reply | |
| 2/7 | drm/ttm: flip tt destroy ordering.drivers/ drivers/ drivers/ +6 more | +22 | 1 reply | |
| 3/7 | drm/ttm: move unbind into the tt destroy.drivers/ drivers/ drivers/ +3 more | +6 | 1 reply | |
| 4/7 | drm/ttm/drivers: call the bind function directly.drivers/ drivers/ drivers/ +1 more | +14 | 1 reply | |
| 5/7 | drm/ttm: add a simple assign mem to bo wrapperdrivers/ include/ | +14 | 1 reply | |
| 6/7 | drm/ttm: move ghost object creation to a common functiondrivers/ | +43 | 1 reply | |
| 7/7 | drm/ttm: make common function for wait/free node path.drivers/ | +20 | 1 reply |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Christian König |
|---|---|
| 1/7 | |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] drm/ttm: bind/unbind + cleanups
I've pulled a few of the cleaner bits of rework out for review.
The first thing is to move all the tt bind tracking into the driver so the core doesn't do it all anymore. Once that is done it's possible to flip over how destroy works so the drivers call some common code instead of vice-versa.
With those two done the unbind can be completely moved into drivers, so it happens before the unpopulate in the common code. This removes a lot of unbinds from the core code (only really one left).
Then a patch to flip some drivers over to direct calling their bind functions instead of indirect (just a trivial cleanup really) (bind needs a lot more work).
Then I just refactored out some common patters in the move code, which should make it easier to pinpoint the codeflow for future bind changes.
Dave.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel