mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-06 10:38:17 +02:00
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:
parent
a2e42eff52
commit
04f9a82705
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue