]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Extract intel_memory_type_is_local()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Mar 2025 14:08:29 +0000 (16:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Apr 2025 23:15:26 +0000 (02:15 +0300)
commit33b3c4791eeacdafdb96ba95dbe24142b73be4da
tree3307f89ae24ae58ad765f6062199043d3711a165
parentda1d515eb1692e87422caefb80799bd716070bbc
drm/i915: Extract intel_memory_type_is_local()

Extract the "is this memory region local?" check into a helper.
I'll have another use for this in the BIOS FB takeover.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250313140838.29742-2-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
drivers/gpu/drm/i915/gem/i915_gem_lmem.c
drivers/gpu/drm/i915/intel_memory_region.c
drivers/gpu/drm/i915/intel_memory_region.h