diff options
| author | Thomas Hellström <[email protected]> | 2024-01-19 09:05:57 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2024-01-22 16:19:57 +0000 |
| commit | cf41cebf9dc8143ca7bb0aabb7e0053e16f0515a (patch) | |
| tree | 757bc3e6f56ad2b4d92f16640c8403c70c8ec5a9 /drivers/gpu/drm/drm_exec.c | |
| parent | media: tc358743: register v4l2 async device only after successful setup (diff) | |
| download | kernel-cf41cebf9dc8143ca7bb0aabb7e0053e16f0515a.tar.gz kernel-cf41cebf9dc8143ca7bb0aabb7e0053e16f0515a.zip | |
drm/exec, drm/gpuvm: Prefer u32 over uint32_t
The relatively recently introduced drm/exec utility was using uint32_t
in its interface, which was then also carried over to drm/gpuvm.
Prefer u32 in new code and update drm/exec and drm/gpuvm accordingly.
Cc: Christian König <[email protected]>
Cc: Danilo Krummrich <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_exec.c')
| -rw-r--r-- | drivers/gpu/drm/drm_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_exec.c b/drivers/gpu/drm/drm_exec.c index 5d2809de4517..20e59d88218d 100644 --- a/drivers/gpu/drm/drm_exec.c +++ b/drivers/gpu/drm/drm_exec.c @@ -72,7 +72,7 @@ static void drm_exec_unlock_all(struct drm_exec *exec) * * Initialize the object and make sure that we can track locked objects. */ -void drm_exec_init(struct drm_exec *exec, uint32_t flags) +void drm_exec_init(struct drm_exec *exec, u32 flags) { exec->flags = flags; exec->objects = kmalloc(PAGE_SIZE, GFP_KERNEL); |
