hk: fix ptr cast
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
committed by
Marge Bot
parent
9fab9c8979
commit
dee089e9c2
@@ -325,7 +325,7 @@ queue_submit_single(struct agx_device *dev, struct drm_asahi_submit *submit)
|
||||
static VkResult
|
||||
queue_submit_looped(struct agx_device *dev, struct drm_asahi_submit *submit)
|
||||
{
|
||||
struct drm_asahi_command *cmds = (void *)submit->commands;
|
||||
struct drm_asahi_command *cmds = (void *)(uintptr_t)submit->commands;
|
||||
unsigned commands_remaining = submit->command_count;
|
||||
unsigned submitted_vdm = 0, submitted_cdm = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user