]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/registers: Generate _HI/LO builders for reg64
authorRob Clark <robin.clark@oss.qualcomm.com>
Mon, 8 Sep 2025 19:30:07 +0000 (12:30 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Wed, 10 Sep 2025 21:48:12 +0000 (14:48 -0700)
commit60e9f776b7932d67c88e8475df7830cb9cdf3154
tree7e6db539e11e17cfafb9b531ff1948e2e3115287
parent29e087f31bb104c3ad71396e3a2f94982f2801d2
drm/msm/registers: Generate _HI/LO builders for reg64

The upstream mesa copy of the GPU regs has shifted more things to reg64
instead of seperate 32b HI/LO reg32's.  This works better with the "new-
style" c++ builders that mesa has been migrating to for a6xx+ (to better
handle register shuffling between gens), but it leaves the C builders
with missing _HI/LO builders.

So handle the special case of reg64, automatically generating the
missing _HI/LO builders.

Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/673559/
drivers/gpu/drm/msm/registers/gen_header.py