On 2018-03-26 10:00 PM, [email protected] wrote:
> From: "Leo (Sunpeng) Li" <[email protected]>
> 
> The functions insert into the output resource creation, and property
> change functions. CRTC destroy is also hooked-up for proper cleanup of
> the CRTC property list.
> 
> Signed-off-by: Leo (Sunpeng) Li <[email protected]>

[...]

> @@ -1933,6 +1933,9 @@ static void 
> drmmode_output_create_resources(xf86OutputPtr output)
>                       }
>               }
>       }
> +
> +     if (output->crtc)
> +             drmmode_crtc_create_resources(output->crtc, output);

output->crtc is only non-NULL here for outputs which are enabled at Xorg
startup; other outputs won't have the new properties.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to