From b577e6d0e995b33aba8a6e0e09ba8c4e7a9e1a02 Mon Sep 17 00:00:00 2001 From: Santosh BS Date: Fri, 7 Feb 2025 07:38:04 +0000 Subject: [PATCH] gpu: host1x: form u64 address for shim address Store u64 shim address from u32 array fetched from DT. Jira HOSTX-5885 Change-Id: Icf332585c095f81fadfc05b35cc77b16e6ab3a88 Signed-off-by: Santosh BS Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3298399 Reviewed-by: Mikko Perttunen GVS: buildbot_gerritrpt Reviewed-by: svcacv Tested-by: Akihiro Mizusawa --- drivers/gpu/host1x/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index e4b4b2bf..fbfe38bd 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -1028,7 +1028,7 @@ static int host1x_get_syncpt_shim(struct host1x *host) return err; } - base = data[1]; + base = ((u64)data[0] << 32) | data[1]; size = data[3]; } #endif