diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-01-19 10:05:57 +0100 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-01-22 17:19:57 +0100 |
commit | cf41cebf9dc8143ca7bb0aabb7e0053e16f0515a (patch) | |
tree | 757bc3e6f56ad2b4d92f16640c8403c70c8ec5a9 /include/drm/drm_exec.h | |
parent | media: tc358743: register v4l2 async device only after successful setup (diff) | |
download | linux-cf41cebf9dc8143ca7bb0aabb7e0053e16f0515a.tar.xz linux-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 <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240119090557.6360-1-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'include/drm/drm_exec.h')
-rw-r--r-- | include/drm/drm_exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_exec.h b/include/drm/drm_exec.h index b5bf0b6da791..187c3ec44606 100644 --- a/include/drm/drm_exec.h +++ b/include/drm/drm_exec.h @@ -18,7 +18,7 @@ struct drm_exec { /** * @flags: Flags to control locking behavior */ - uint32_t flags; + u32 flags; /** * @ticket: WW ticket used for acquiring locks @@ -135,7 +135,7 @@ static inline bool drm_exec_is_contended(struct drm_exec *exec) return !!exec->contended; } -void drm_exec_init(struct drm_exec *exec, uint32_t flags); +void drm_exec_init(struct drm_exec *exec, u32 flags); void drm_exec_fini(struct drm_exec *exec); bool drm_exec_cleanup(struct drm_exec *exec); int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj); |