Skip to content

panfrost: fix running in 32-bit userspace with 64-bit kernel

kszaq requested to merge (removed):panfrost_compat into master

This MR fixes ioctl userspace<->kernel communication when running mesa panfrost in 32-bit userspace with 64-bit kernel, specifically arm userspace with aarch64 kernel on Amlogic S912.

With this MR the following error is fixed:

[  136.013964] [drm:drm_ioctl] pid=1091, dev=0xe280, auth=1, PANFROST_SUBMIT
[  136.014000] [drm:panfrost_ioctl_submit [panfrost]] Failed to copy in GEM handles
Edited by kszaq

Merge request reports