[Intel-xe] [PATCH] drm/xe/uapi: Remove MMIO ioctl

Jani Nikula jani.nikula at linux.intel.com
Thu Sep 14 08:35:58 UTC 2023


On Tue, 12 Sep 2023, Ofir Bitton <obitton at habana.ai> wrote:
> On 12/09/2023 14:11, Jani Nikula wrote:
>> On Tue, 12 Sep 2023, Ofir Bitton <obitton at habana.ai> wrote:
>>> On 12/09/2023 3:25, Matt Roper wrote:
>>> Hey Matt, I totally undesrstand your concern, I might have another
>>> suggestion. We can create another FD in debugfs and move this ioctl
>>> there (I can take ownership on this), This way ABI is not an issue.
>> 
>> FD or ioctl in debugfs? Or do you just mean adding a debugfs file for
>> register access?
>> 
>> BR,
>> Jani.
>> 
>
> Add a new file in debugfs to which we will send debug ioctls such as the 
> mmio ioctl.

It's so rare to do ioctl on debugfs files that I first had to check it's
possible, and then try to find examples in the kernel. I found one so
far, though there are probably more.

If it's that rare, usually the question is, does it make sense?


BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list