[Intel-gfx] [PATCH i-g-t 2/3] lib/igt_sysfs: igt_sysfs_path only works for master nodes

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Nov 29 08:41:02 UTC 2017


On 28/11/2017 20:52, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2017-11-28 18:09:56)
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> DRM code defines the minor range for master nodes as 0-63, so express that
>> explicitly near the top of the function.
> 
> We do use rendernodes, so we had better support them correctly. I
> thought the premise of /sys/dev/char/$maj:$min/ was that it would work
> with render as well as master nodes.

It's doable, but since the current code does not support them I did not 
feel the responsibility to extend the functionality in that way.

Regards,

Tvrtko


More information about the Intel-gfx mailing list