diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-02-26 12:07:25 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-02-27 10:41:34 +0200 |
| commit | 24d87ce98e54feae55259bb93a436f872f6cc574 (patch) | |
| tree | 706e26bbdb726f8197075a8df2a9eacbf1c43b1e /tools/perf/scripts/python/bin | |
| parent | 6daf9a495c47337b366ad6d8a096a35d38a388e8 (diff) | |
drm/i915/overlay: Introduce i915_overlay_obj_lookup()
Extract the BO lookup and tiling check into a new
helper called i915_overlay_obj_lookup(). This will have to
move to the i915 side of the parent vs. display driver split.
There is a slight change here in that we now do the tiling
check before taking the modeset locks, but those locks don't
protect the BO tiling stuff in any way, so nothing is really
different here.
Note that the hardware should support X-tiled scanout also
for the overlay, but I guess no one ever bothered to hook
it up and test it. So the check should stay at least for now.
v2: Correctly handle the ERR_PTR returned by
i915_overlay_obj_lookup() (Jani)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260226100738.29997-7-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
