From 04f9a827058cde4f14bc7625ac4e8d13a7d671ed Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 26 Mar 2026 08:11:06 -0700 Subject: [PATCH] freedreno/common: Drop gen8 0x78000 offset Initially I'd added the offset to make things match up to blob driver on x2-85/a840. But this gets in the way on parts with smaller GMEM. Signed-off-by: Rob Clark Part-of: --- src/freedreno/common/fd6_gmem_cache.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/freedreno/common/fd6_gmem_cache.h b/src/freedreno/common/fd6_gmem_cache.h index c2243d3cb25..a4a53057b29 100644 --- a/src/freedreno/common/fd6_gmem_cache.h +++ b/src/freedreno/common/fd6_gmem_cache.h @@ -42,10 +42,6 @@ __calc_gmem_cache_offsets(const struct fd_dev_info *info, unsigned offset, { unsigned num_ccu = info->num_ccu; - /* This seems not to be load bearing, but keeping it for now to match blob: */ - if (info->chip >= 8) - offset -= 0x78000; - config->vpc_bv_pos_buf_offset = offset - (num_ccu * config->vpc_bv_pos_buf_size); offset = config->vpc_bv_pos_buf_offset;