]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/nouveau: fix the broken marco GSP_MSG_MAX_SIZE
authorZhi Wang <zhiw@nvidia.com>
Fri, 24 Jan 2025 18:29:50 +0000 (10:29 -0800)
committerDanilo Krummrich <dakr@kernel.org>
Fri, 24 Jan 2025 23:55:10 +0000 (00:55 +0100)
commitbbae6680cfe38b033250b483722e60ccd865976f
tree4567c39845a2577799abb5c3e4a3b1fca192a664
parentbda6fe811fba6742c4ec2f3c0a962b02d7d6e87f
drm/nouveau: fix the broken marco GSP_MSG_MAX_SIZE

The macro GSP_MSG_MAX_SIZE refers to another macro that doesn't exist.
It represents the max GSP message element size.

Fix the broken marco so it can be used to replace some magic numbers in
the code.

Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250124182958.2040494-8-zhiw@nvidia.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c