Displaying 6 results from an estimated 6 matches for "sched_main".
2025 Jan 22
5
[PATCH] drm/sched: Use struct for drm_sched_init() params
...drivers/gpu/drm/msm/msm_ringbuffer.c | 22 ++--
drivers/gpu/drm/nouveau/nouveau_sched.c | 20 ++-
drivers/gpu/drm/panfrost/panfrost_job.c | 22 ++--
drivers/gpu/drm/panthor/panthor_mmu.c | 18 ++-
drivers/gpu/drm/panthor/panthor_sched.c | 23 ++--
drivers/gpu/drm/scheduler/sched_main.c | 53 +++-----
drivers/gpu/drm/v3d/v3d_sched.c | 135 +++++++++++++++------
drivers/gpu/drm/xe/xe_execlist.c | 20 ++-
drivers/gpu/drm/xe/xe_gpu_scheduler.c | 19 ++-
include/drm/gpu_scheduler.h | 35 +++++-
14 files changed, 311 insertions(+), 139...
2025 Jan 23
0
[PATCH] drm/sched: Use struct for drm_sched_init() params
...aces
> 3. It doesn't create an identical level of intendation
> 4. It wastes huge amount of space and does not solve the problem of
> long names, but might even make it worse:
> https://elixir.bootlin.com/linux/v6.13-
> rc3/source/drivers/gpu/drm/scheduler/sched_main.c#L1296
It's mostly a matter of keeping things consistent in a code base. I
don't really have strong opinions when it comes to coding style, but I
always try to follow the rules in place in the file/subsystem/project
I'm contributing to, and clearly the pattern in this file is to align...
2025 Jan 23
0
[PATCH] drm/sched: Use struct for drm_sched_init() params
...already inconsistent in regards to
> this.
That's not really a good argument to make it more inconsistent, is it?
>
> Anyways, what is your proposed solution to ridiculous nonsense like
> this?
>
> https://elixir.bootlin.com/linux/v6.13-rc3/source/drivers/gpu/drm/scheduler/sched_main.c#L1296
I don't think this one needs a solution.
The kernel picked a convention long ago, which also has downsides. If it gets
too bad, we can deviate from conventions at any point of time; for the thing
that otherwise would be bad, but we shouldn't do it in general.
2025 Jan 22
1
[PATCH] drm/sched: Use struct for drm_sched_init() params
...uffer.c | 22 ++--
> drivers/gpu/drm/nouveau/nouveau_sched.c | 20 ++-
> drivers/gpu/drm/panfrost/panfrost_job.c | 22 ++--
> drivers/gpu/drm/panthor/panthor_mmu.c | 18 ++-
> drivers/gpu/drm/panthor/panthor_sched.c | 23 ++--
> drivers/gpu/drm/scheduler/sched_main.c | 53 +++-----
> drivers/gpu/drm/v3d/v3d_sched.c | 135 +++++++++++++++------
> drivers/gpu/drm/xe/xe_execlist.c | 20 ++-
> drivers/gpu/drm/xe/xe_gpu_scheduler.c | 19 ++-
> include/drm/gpu_scheduler.h | 35 +++++-
> 14 files c...
2025 Jan 23
2
[PATCH] drm/sched: Use struct for drm_sched_init() params
...> > ? drivers/gpu/drm/nouveau/nouveau_sched.c??? |? 20 ++-
> > ? drivers/gpu/drm/panfrost/panfrost_job.c??? |? 22 ++--
> > ? drivers/gpu/drm/panthor/panthor_mmu.c????? |? 18 ++-
> > ? drivers/gpu/drm/panthor/panthor_sched.c??? |? 23 ++--
> > ? drivers/gpu/drm/scheduler/sched_main.c???? |? 53 +++-----
> > ? drivers/gpu/drm/v3d/v3d_sched.c??????????? | 135 +++++++++++++++-
> > -----
> > ? drivers/gpu/drm/xe/xe_execlist.c?????????? |? 20 ++-
> > ? drivers/gpu/drm/xe/xe_gpu_scheduler.c????? |? 19 ++-
> > ? include/drm/gpu_scheduler.h???????????????...
2023 Aug 24
7
[PATCH (set 1) 00/20] Rid W=1 warnings from GPU
...rtc: Demote kerneldoc abuses
drm/radeon/radeon_ttm: Remove unused variable 'rbo' from
radeon_bo_move()
drm/amd/amdgpu/sdma_v6_0: Demote a bunch of half-completed function
headers
drm/tests/drm_kunit_helpers: Place correct function name in the
comment header
drm/scheduler/sched_main: Provide short description of missing param
'result'
drm/amd/amdgpu/amdgpu_doorbell_mgr: Correct misdocumented param
'doorbell_index'
drm/amd/amdgpu/amdgpu_device: Provide suitable description for param
'xcc_id'
drm/tests/drm_kunit_helpers: Correct possible...