* [linux-next:master 4384/4731] drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c:1250 amdgpu_userq_start_sched_for_enforce_isolation() warn: inconsistent indenting
@ 2025-10-29 16:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-29 16:59 UTC (permalink / raw)
To: Jesse.Zhang; +Cc: oe-kbuild-all, Alex Deucher
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f9ba12abc5282bf992f9a9ae87ad814fd03a0270
commit: f18719ef4bb7b0e48dee92703b01e16f6c0d6318 [4384/4731] drm/amdgpu: Convert amdgpu userqueue management from IDR to XArray
config: arm64-randconfig-r073-20251029 (https://download.01.org/0day-ci/archive/20251030/202510300033.pwwkKnVb-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.3.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510300033.pwwkKnVb-lkp@intel.com/
smatch warnings:
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c:1250 amdgpu_userq_start_sched_for_enforce_isolation() warn: inconsistent indenting
vim +1250 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1230
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1231 int amdgpu_userq_start_sched_for_enforce_isolation(struct amdgpu_device *adev,
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1232 u32 idx)
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1233 {
42a66677805d03 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Alex Deucher 2025-04-16 1234 u32 ip_mask = amdgpu_userq_get_supported_ip_mask(adev);
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1235 struct amdgpu_usermode_queue *queue;
f18719ef4bb7b0 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-10-21 1236 struct amdgpu_userq_mgr *uqm;
f18719ef4bb7b0 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-10-21 1237 unsigned long queue_id;
e67b95f0cd5e8d drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-12 1238 int ret = 0, r;
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1239
ba324ffb25999e drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-16 1240 /* only need to stop gfx/compute */
ba324ffb25999e drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-16 1241 if (!(ip_mask & ((1 << AMDGPU_HW_IP_GFX) | (1 << AMDGPU_HW_IP_COMPUTE))))
ba324ffb25999e drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-16 1242 return 0;
ba324ffb25999e drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-16 1243
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1244 if (!adev->userq_halt_for_enforce_isolation)
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1245 dev_warn(adev->dev, "userq scheduling already started!\n");
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1246 adev->userq_halt_for_enforce_isolation = false;
f18719ef4bb7b0 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-10-21 1247 xa_for_each(&adev->userq_doorbell_xa, queue_id, queue) {
f18719ef4bb7b0 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-10-21 1248 uqm = queue->userq_mgr;
482d48533257fd drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Alex Deucher 2025-04-25 1249 mutex_lock(&uqm->userq_mutex);
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 @1250 if (((queue->queue_type == AMDGPU_HW_IP_GFX) ||
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1251 (queue->queue_type == AMDGPU_HW_IP_COMPUTE)) &&
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1252 (queue->xcp_id == idx)) {
bb1d7f157e3d23 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-08-05 1253 r = amdgpu_userq_restore_helper(uqm, queue);
e67b95f0cd5e8d drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-12 1254 if (r)
e67b95f0cd5e8d drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-12 1255 ret = r;
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1256 }
482d48533257fd drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Alex Deucher 2025-04-25 1257 mutex_unlock(&uqm->userq_mutex);
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1258 }
f18719ef4bb7b0 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Jesse.Zhang 2025-10-21 1259
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1260 return ret;
94976e7e5ede65 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c Alex Deucher 2025-04-10 1261 }
2e7ceac0ea4192 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c Prike Liang 2025-09-19 1262
:::::: The code at line 1250 was first introduced by commit
:::::: 94976e7e5ede65f9dfad669b1ea7170320f08399 drm/amdgpu/userq: add helpers to start/stop scheduling
:::::: TO: Alex Deucher <alexander.deucher@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-29 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 16:59 [linux-next:master 4384/4731] drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c:1250 amdgpu_userq_start_sched_for_enforce_isolation() warn: inconsistent indenting kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.