[PATCH 3/3] drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()