Sharing a KMS device

Troll Berserker berserker.troll at yandex.com
Wed Sep 19 15:12:03 UTC 2018


On 19/09/18 17:54, Keith Packard wrote:
> Pekka Paalanen <ppaalanen at gmail.com> writes:
> 
>> Hi Keith,
>>
>> sorry to bump in, but do you mean that a lessee doing drmDropMaster()
>> will both succeed and drop master also for the lessor (and recursively
>> through the whole leasing tree up and down as a consequence)?
> 
> If that call weren't disabled for lessees, then yes. And, that's why
> patch 761e05a702f5d537ffcca1ba933f9f0a968aa022 was added...
> 

And the ioctl will return EINVAL...
What is the motivation behind such asymmetry?


BTW, what is 'mastern'? (DRM_DEBUG_LEASE("Attempt to drop lessee %d as mastern", file_priv->master->lessee_id);)


More information about the xorg-devel mailing list