mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
drm-shim: Include the hex of the driver ioctl for unimplemented ioctls.
Some headers #define them in hex, so make it easier to look up which one isn't implemented. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37323>
This commit is contained in:
parent
1375ba209d
commit
37ae0e4255
1 changed files with 2 additions and 2 deletions
|
|
@ -318,8 +318,8 @@ drm_shim_ioctl(int fd, unsigned long request, void *arg)
|
|||
|
||||
if (nr >= DRM_COMMAND_BASE && nr < DRM_COMMAND_END) {
|
||||
fprintf(stderr,
|
||||
"DRM_SHIM: unhandled driver DRM ioctl %d (0x%08lx)\n",
|
||||
nr - DRM_COMMAND_BASE, request);
|
||||
"DRM_SHIM: unhandled driver DRM ioctl %d (0x%x) (0x%08lx)\n",
|
||||
nr - DRM_COMMAND_BASE, nr - DRM_COMMAND_BASE, request);
|
||||
} else {
|
||||
fprintf(stderr,
|
||||
"DRM_SHIM: unhandled core DRM ioctl 0x%X (0x%08lx)\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue