mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 01:30:54 +07:00
4ac45eb8d1
Some parts of Host1x uses BIT_WORD/BIT_MASK/BITS_PER_LONG to calculate register or field offsets. This worked fine on ARMv7, but now that BITS_PER_LONG is 64 but our registers are still 32-bit things are broken. Fix by replacing.. - BIT_WORD with (x / 32) - BIT_MASK with BIT(x % 32) - BITS_PER_LONG with 32 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com> |
||
---|---|---|
.. | ||
hw | ||
bus.c | ||
bus.h | ||
cdma.c | ||
cdma.h | ||
channel.c | ||
channel.h | ||
debug.c | ||
debug.h | ||
dev.c | ||
dev.h | ||
intr.c | ||
intr.h | ||
job.c | ||
job.h | ||
Kconfig | ||
Makefile | ||
mipi.c | ||
syncpt.c | ||
syncpt.h |