[PATCH xf86-video-amdgpu 03/13] List disabled color properties on RandR outputs without a CRTC
Michel Dänzer
michel at daenzer.net
Wed May 16 17:09:13 UTC 2018
On 2018-05-03 08:31 PM, sunpeng.li at amd.com wrote:
> From: "Leo (Sunpeng) Li" <sunpeng.li at amd.com>
>
> The properties on an RandR output needs to stay consistent throughout
> it's lifecycle. However, we cannot list color properties on an output if
> there is no CRTC attached.
>
> Therefore, create a fake CRTC, and initialize "disabled" color
> properites on outputs without a CRTC.
>
> Signed-off-by: Leo (Sunpeng) Li <sunpeng.li at amd.com>
If this patch remains: I don't get the point of the fake CRTC. AFAICT
rr_configure_and_change_cm_property could simply handle a NULL crtc more
or less the same way it does the fake one?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the amd-gfx
mailing list