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 <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40655>
This commit is contained in:
Rob Clark 2026-03-26 08:11:06 -07:00 committed by Marge Bot
parent a2e42eff52
commit 04f9a82705

View file

@ -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;