[Intel-gfx] [PATCH] Allow userspace to set NULL blob on properties

Daniel Stone daniel at fooishbar.org
Fri Dec 18 08:57:20 PST 2015


Hi,

On 18 December 2015 at 15:17, Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
> A couple of people told me I should be able to set a blob property to
> NULL from user space using a blob id 0. I couldn't get that to work
> (probably nobody's doing this at the moment). Here is a patch to make
> that work.

You can't do it with CM because it goes out of its way to make sure it
doesn't happen. With the CRTC MODE_ID, you should be able to do it by
setting ACTIVE to 0 first, then setting MODE_ID to 0, or just doing
both at once with the atomic ioctl.

Cheers,
Daniel


More information about the Intel-gfx mailing list