diff options
author | Lionel Landwerlin <[email protected]> | 2019-04-11 13:01:46 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-04-11 22:56:43 +0100 |
commit | 628c9ca9089789e0103a7de0cc479ff7a5ed0871 (patch) | |
tree | b3f3a1ea88babd655f54b721469991d225bbbf6d /src/gallium/drivers | |
parent | 316a98dec99ff1cfb848b0220141a47d52bcd24c (diff) |
anv: store heap address bounds when initializing physical device
We can then reuse those bounds to initialize the VMA heaps at logical
device creation.
This fixes an issue on EHL which has only 36bits of VMA. We were
incorrectly using the fixed 48bits upper bound to initialize the
logical device heap, resulting in addresses beyong the device's
limits.
v2: Don't confuse heap size (limited by system memory) and VMA size
(limited by number of addressing bits the platform has)
v3: Fix low heap vma_size :( (Lionel)
Signed-off-by: Lionel Landwerlin <[email protected]>
Reported-by: James Xiong <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]> (v1)
Reviewed-by: Jason Ekstrand <[email protected]> (v2)
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions