projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292b1a8
)
drm/xe: Rename update_device_info() after sriov
author
Lucas De Marchi
<lucas.demarchi@intel.com>
Sat, 22 Feb 2025 00:10:50 +0000
(16:10 -0800)
committer
Lucas De Marchi
<lucas.demarchi@intel.com>
Tue, 25 Feb 2025 22:32:03 +0000
(14:32 -0800)
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>
drivers/gpu/drm/xe/xe_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_device.c
b/drivers/gpu/drm/xe/xe_device.c
index
5ef8cff
..
ed1cc59
100644
(file)
--- 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)