diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-14 18:48:57 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-06 15:58:56 +0300 |
commit | ae539ba6553144d9345672ddc991c17563d850b7 (patch) | |
tree | 3e77d4a17cabbf6050db60466bffb0503f60a5b4 /lib/gen8_render.h | |
parent | 78071c2fa53db2f04b8eddc6e6118be4fbc5c2fe (diff) |
lib/rendercopy: Set the upper 32bits of surface base address on gen8+
gen8 introduces 48 bit virtual addresses. Set both dwords correctly
as otherwise the presumed_offset will not match what we actually
have stored in the surface state if the buffer is located somewhere
above 4GiB.
I guess we're not currently using 48bit addresses with rendercopy?
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/gen8_render.h')
-rw-r--r-- | lib/gen8_render.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gen8_render.h b/lib/gen8_render.h index 79f2f388..048e667c 100644 --- a/lib/gen8_render.h +++ b/lib/gen8_render.h @@ -155,8 +155,7 @@ struct gen8_surface_state } ss8; struct { - uint32_t base_addr_hi:16; - uint32_t pad0:16; + uint32_t base_addr_hi; } ss9; struct { |