[PATCH] drm: Add DPMS ioctl

Jani Nikula jani.nikula at linux.intel.com
Wed Oct 11 15:58:14 UTC 2017


On Wed, 11 Oct 2017, Alex Ivanov <gnidorah at ya.ru> wrote:
> On 11.10.2017 12:04, Daniel Vetter wrote:
>>
>> Why exactly is the existing dpms ioctl not good enough? it's implemented
>> as the "DPMS" property attached to connectors, but that's the only
>> difference compared to your code here.
>>
>> Also, that one doesn't have any XXX about atomic like yours.
>>
>> I also have no idea how this fixes any of your above problems.
>> -Daniel
> It's not good enough because it will only succeed if caller is current
> DRM master. Which means it will work only in console, since X.Org
> and Wayland hold DRM_MASTER.

As said elsewhere in the thread, this is a feature, not a bug.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list