]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Split the smem and lmem plane readout apart
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Feb 2024 22:43:35 +0000 (00:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Feb 2024 23:59:15 +0000 (01:59 +0200)
commit6bfdb06d1efafaa289f16ff5e5dfb4b02327525e
tree29cf4c261eaad24ba55cd896424fd25575028ee5
parent27fbcaf7ca2470dbc112a5ea2759ad6408581c79
drm/i915: Split the smem and lmem plane readout apart

Declutter initial_plane_vma() a bit by pulling the lmem and smem
readout paths into their own functions.

TODO: the smem path should still be fixed to get and validate
      the dma address from the pte as well

Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Tested-by: Paz Zcharya <pazz@chromium.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240202224340.30647-12-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_plane_initial.c