Re: [PATCH] drm: Mark IRQ_BUSID ioctl as legacy

2021-05-17 Thread Daniel Vetter
On Sun, May 16, 2021 at 09:51:35PM +0200, Thomas Zimmermann wrote: > The functionality is only implemented for legacy drivers. Mark the ioctl > as legacy and move the code behind CONFIG_DRM_LEGACY. If legacy drivers > are disabled, the ioctl call now returns -EINVAL instead of -EOPNOTSUPP. I think

[PATCH] drm: Mark IRQ_BUSID ioctl as legacy

2021-05-16 Thread Thomas Zimmermann
The functionality is only implemented for legacy drivers. Mark the ioctl as legacy and move the code behind CONFIG_DRM_LEGACY. If legacy drivers are disabled, the ioctl call now returns -EINVAL instead of -EOPNOTSUPP. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_internal.h | 8 --