diff options
author | 2021-03-25 23:47:56 +0200 | |
---|---|---|
committer | 2021-03-29 22:54:50 +0300 | |
commit | d3c5e10b6059581b7d526f4d7cfe625f834b080c (patch) | |
tree | 6e0ab48a52e23ced987fb6ae776655b58cf6c45f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/i915/intel_fb: s/dev_priv/i915/ (diff) | |
download | wireguard-linux-d3c5e10b6059581b7d526f4d7cfe625f834b080c.tar.xz wireguard-linux-d3c5e10b6059581b7d526f4d7cfe625f834b080c.zip |
drm/i915/intel_fb: Factor out convert_plane_offset_to_xy()
Factor out to a new function the logic to convert the FB plane offset to
x/y and check the validity of x/y, with the goal to make
intel_fill_fb_info() more readable.
v2: Use &fb->base instead of a drm_fb alias. (Ville)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-14-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions