diff options
author | Ville Syrjälä <[email protected]> | 2016-11-16 13:33:16 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-11-17 11:58:09 +0100 |
commit | bae781b259269590109e8a4a8227331362b88212 (patch) | |
tree | 73b92c605db8f1b17d2817942e404e43b355e75a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0b46fcdb082cc6bdc7871a674a0041509cd21eb3 (diff) |
drm: Nuke modifier[1-3]
It has been suggested that having per-plane modifiers is making life
more difficult for userspace, so let's just retire modifier[1-3] and
use modifier[0] to apply to the entire framebuffer.
Obviosuly this means that if individual planes need different tiling
layouts and whatnot we will need a new modifier for each combination
of planes with different tiling layouts.
For a bit of extra backwards compatilbilty the kernel will allow
non-zero modifier[1+] but it require that they will match modifier[0].
This in case there's existing userspace out there that sets
modifier[1+] to something non-zero with planar formats.
Mostly a cocci job, with a bit of manual stuff mixed in.
@@
struct drm_framebuffer *fb;
expression E;
@@
- fb->modifier[E]
+ fb->modifier
@@
struct drm_framebuffer fb;
expression E;
@@
- fb.modifier[E]
+ fb.modifier
Cc: Kristian Høgsberg <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Tomeu Vizoso <[email protected]>
Cc: [email protected]
Suggested-by: Kristian Høgsberg <[email protected]>
Acked-by: Ben Widawsky <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Acked-by: Rob Clark <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions