i915/display: split and constify vtable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | drm/i915/pm: drop get_fifo_size vfunc.drivers/ drivers/ | +11 | 1 reply | |
| 2/21 | drm/i915: make update_wm take a dev_priv.drivers/ drivers/ drivers/ +1 more | +13 | 3 replies | |
| 3/21 | drm/i915/wm: move the update watermark wrapper to display side.drivers/ drivers/ drivers/ | +40 | 3 replies | |
| 4/21 | drm/i915: split clock gating init from display vtabledrivers/ drivers/ | +32 | 1 reply | |
| 5/21 | drm/i915: split watermark vfuncs from display vtable.drivers/ drivers/ drivers/ | +63 | 1 reply | |
| 6/21 | drm/i915: split color functions from display vtabledrivers/ drivers/ | +54 | 1 reply | |
| 7/21 | drm/i915: split audio functions from display vtabledrivers/ drivers/ | +25 | 1 reply | |
| 8/21 | drm/i915: split cdclk functions from display vtable.drivers/ drivers/ drivers/ +1 more | +83 | 1 reply | |
| 9/21 | drm/i915: split irq hotplug function from display vtabledrivers/ drivers/ drivers/ | +17 | 1 reply | |
| 10/21 | drm/i915: split fdi link training from display vtable.drivers/ drivers/ drivers/ | +12 | 1 reply | |
| 11/21 | drm/i915: split the dpll clock compute out from display vtable.drivers/ drivers/ drivers/ | +18 | 2 replies | |
| 12/21 | drm/i915: constify fdi link training vtabledrivers/ drivers/ drivers/ | +17 | 2 replies | |
| 13/21 | drm/i915: constify irq function vtable.drivers/ drivers/ drivers/ | +23 | 1 reply | |
| 14/21 | drm/i915: constify color function vtable.drivers/ drivers/ | +93 | 1 reply | |
| 15/21 | drm/i915: constify the audio function vtabledrivers/ drivers/ | +28 | 1 reply | |
| 16/21 | drm/i915: constify the dpll clock vtabledrivers/ drivers/ drivers/ | +45 | 1 reply | |
| 17/21 | drm/i915: constify the cdclk vtabledrivers/ drivers/ drivers/ +1 more | +211 | 1 reply | |
| 18/21 | drm/i915: drop unused function ptr and comments.drivers/ | +0 | 1 reply | |
| 19/21 | drm/i915: constify display function vtabledrivers/ drivers/ | +52 | 1 reply | |
| 20/21 | drm/i915: constify clock gating init vtable.drivers/ drivers/ | +54 | 2 replies | |
| 21/21 | drm/i915: constify display wm vtabledrivers/ drivers/ drivers/ | +81 | 1 reply |
Reviews trailers per patch
19 of 21 patches have a Reviewed-by or Acked-by.
| Patch | Jani Nikula |
|---|---|
| 1/21 | R-b |
| 2/21 | R-b |
| 3/21 | |
| 4/21 | R-b |
| 5/21 | |
| 6/21 | R-b |
| 7/21 | R-b |
| 8/21 | R-b |
| 9/21 | R-b |
| 10/21 | R-b |
| 11/21 | R-b |
| 12/21 | R-b |
| 13/21 | R-b |
| 14/21 | R-b |
| 15/21 | R-b |
| 16/21 | R-b |
| 17/21 | R-b |
| 18/21 | R-b |
| 19/21 | R-b |
| 20/21 | R-b |
| 21/21 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-gfx] [PATCH 00/21] i915/display: split and constify vtable
This is orthogonal to my display ptr refactoring and should probably be applied first.
The display funcs vtable was a bit of mess, lots of intermixing of internal display functionality and interfaces to watermarks/irqs.
It's also considered not great security practice to leave writeable function pointers around for exploits to get into.
This series attempts to address both problems, first there are a few cleanups, then it splits the function table into multiple pieces. Some of the splits might be bikesheds but I think we should apply first and merge things later if there is good reason.
The second half converts all the vtables to static const structs, I've used macros in some of them to make it less messy, the cdclk one is probably the worst one.
Dave.