aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2024-09-11 16:55:29 +0100
committerLucas De Marchi <lucas.demarchi@intel.com>2024-09-17 23:30:22 -0500
commit73d10c7788f6d2b7badf9973afbdea7ca433c15d (patch)
treef0f7ababc70e0e0feab2bd52fc5dc16ad66b3faf /drivers/gpu/drm/amd
parent69bbe3adf36de47315498c9384f99a1ff9171694 (diff)
drm/xe/client: use mem_type from the current resource
Rather extract the mem_type from the current resource. Checking the first potential placement doesn't really tell us where the bo is currently allocated, especially if there are multiple potential placements. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240911155527.178910-7-matthew.auld@intel.com (cherry picked from commit fbd73b7d2ae29ef0f604f376bcc22b886a49329e) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
0 files changed, 0 insertions, 0 deletions