diff options
| author | Ville Syrjälä <[email protected]> | 2018-10-05 15:58:15 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2018-10-08 13:55:35 +0300 |
| commit | b7c806007559fd834f22cf2a6a28e1a49e8e90f2 (patch) | |
| tree | 96115f2bad6b10227e129e6d084d0d9a3001ef86 /tools/perf/scripts/python | |
| parent | c539b579b6c72719a8e14b1823ccf1e9fb3380d2 (diff) | |
drm/i915: Extract skl_universal_plane_init()
There's not much point in following the primary vs. sprite split
for the SKL+ universal plane init code. The only difference is
of our own doing in the form of the .check_plane(). Let's make
a small exception for that little detail and otherwise share
the same code to initialize all the universal planes.
Eventually we should eliminate the mess around .check_plane()
as well, but for now let's be happy with some code reduction.
v2: Remember to set up plane->has_fbc
Make skl_plane_has_ccs() static
v3: Rebase due to NV12, rename some variables
v4: Don't leave the color_encoding/range props behind
v5: Rebase dur to blend properties, skl_plane_max_stride() and
skl_plane_check()
v6: Make skl_update_plane() static
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]> #v4
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions