]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move 'vram_flags' flag back to platform descriptor
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:09:48 +0000 (13:09 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:44:57 +0000 (07:44 -0700)
commit76b7aedd66040bc2d70f28e49cdf7533c971b2c0
tree6571b123f67f6311c819619a0099414496610705
parent50292f9af8ec06dd1679943cddc3b59844266b9e
drm/xe: Move 'vram_flags' flag back to platform descriptor

Restrictions and requirements on VRAM alignment are something that
should be tracked at the platform level rather than the IP level.  Even
when mixing and matching various graphics, media, and display IP blocks,
the platform as a whole has to have consistent memory allocation
handling.  This is also a trait that should be tied to the platform even
if the graphics IP itself is not present (e.g., if we disable the
primary GT via configfs).

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-30-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_pci_types.h