diff options
author | Imre Deak <[email protected]> | 2021-03-25 23:47:57 +0200 |
---|---|---|
committer | Imre Deak <[email protected]> | 2021-03-29 22:54:51 +0300 |
commit | 435b3e7ed708715b048ec5d08edcec4876e3eb57 (patch) | |
tree | f45ef06073c94ed8ba1feb56899a6e30c7c029d9 /tools/perf/util/trace-event-scripting.c | |
parent | d3c5e10b6059581b7d526f4d7cfe625f834b080c (diff) |
drm/i915/intel_fb: Factor out calc_plane_aligned_offset()
Factor out to a new function the logic to convert the FB plane x/y
values to a tile size based offset and new x/y relative to this offset.
This makes intel_fill_fb_info() and intel_plane_remap_gtt() somewhat
more readable.
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions