asahi: reduce ppp alignment
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36633>
This commit is contained in:
committed by
Marge Bot
parent
7297a699f7
commit
1ef97241d7
@@ -810,7 +810,7 @@ hk_cs_init_graphics(struct hk_cmd_buffer *cmd, struct hk_cs *cs)
|
||||
};
|
||||
|
||||
size_t size = agx_ppp_update_size(&present);
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, 64);
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, AGX_PPP_HEADER_ALIGN);
|
||||
if (!T.cpu)
|
||||
return;
|
||||
|
||||
|
||||
@@ -2136,7 +2136,7 @@ hk_flush_vp_state(struct hk_cmd_buffer *cmd, struct hk_cs *cs, uint8_t **out)
|
||||
};
|
||||
|
||||
size_t size = agx_ppp_update_size(&present);
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, 64);
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, AGX_PPP_HEADER_ALIGN);
|
||||
if (!T.cpu)
|
||||
return;
|
||||
|
||||
@@ -2386,7 +2386,7 @@ hk_flush_ppp_state(struct hk_cmd_buffer *cmd, struct hk_cs *cs, uint8_t **out)
|
||||
/* Otherwise, allocate enough space for the update and push it. */
|
||||
assert(size > AGX_PPP_HEADER_LENGTH);
|
||||
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, 64);
|
||||
struct agx_ptr T = hk_pool_alloc(cmd, size, AGX_PPP_HEADER_ALIGN);
|
||||
if (!T.cpu)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user