summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-02-21 16:10:50 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2025-02-25 14:32:03 -0800
commit1671c9617d7e987f7cb815a77dcb2dbcf6d28988 (patch)
treecda9d0427c078aefcd12011420013b534972884c
parent292b1a8a50545b47d4fafc54452147abd2d1d86c (diff)
downloadlinux-1671c9617d7e987f7cb815a77dcb2dbcf6d28988.tar.gz
linux-1671c9617d7e987f7cb815a77dcb2dbcf6d28988.tar.bz2
linux-1671c9617d7e987f7cb815a77dcb2dbcf6d28988.zip
drm/xe: Rename update_device_info() after sriov
This is only changing info flags for SR-IOV reasons. Rename it accordingly, because there are several other places in probe where the flags are updated, which is not inside this function. Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250222001051.3012936-11-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
-rw-r--r--drivers/gpu/drm/xe/xe_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 5ef8cffbc88f..ed1cc5983f74 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -660,7 +660,7 @@ static int wait_for_lmem_ready(struct xe_device *xe)
}
ALLOW_ERROR_INJECTION(wait_for_lmem_ready, ERRNO); /* See xe_pci_probe() */
-static void update_device_info(struct xe_device *xe)
+static void sriov_update_device_info(struct xe_device *xe)
{
/* disable features that are not available/applicable to VFs */
if (IS_SRIOV_VF(xe)) {
@@ -691,7 +691,7 @@ int xe_device_probe_early(struct xe_device *xe)
xe_sriov_probe_early(xe);
- update_device_info(xe);
+ sriov_update_device_info(xe);
err = xe_pcode_probe_early(xe);
if (err)