Re: [RFC] drm/atomic: Abuse legacy cursor update flag for legacy gamma update too

2018-02-19 Thread Daniel Vetter
On Tue, Feb 13, 2018 at 10:12:01AM +0100, Maarten Lankhorst wrote: > Programs like redshift set the legacy gamma for X.org every 5 seconds. > Because atomic commits wait for vblank completion, we get a frame drop > every 5 seconds because of the legacy gamma update. > > Work around this by

Re: [RFC] drm/atomic: Abuse legacy cursor update flag for legacy gamma update too

2018-02-13 Thread Ville Syrjälä
On Tue, Feb 13, 2018 at 10:33:28AM +0100, Maarten Lankhorst wrote: > Hey, > > Op 13-02-18 om 10:16 schreef Chris Wilson: > > Quoting Maarten Lankhorst (2018-02-13 09:12:01) > >> Programs like redshift set the legacy gamma for X.org every 5 seconds. > >> Because atomic commits wait for vblank

Re: [RFC] drm/atomic: Abuse legacy cursor update flag for legacy gamma update too

2018-02-13 Thread Maarten Lankhorst
Hey, Op 13-02-18 om 10:16 schreef Chris Wilson: > Quoting Maarten Lankhorst (2018-02-13 09:12:01) >> Programs like redshift set the legacy gamma for X.org every 5 seconds. >> Because atomic commits wait for vblank completion, we get a frame drop >> every 5 seconds because of the legacy gamma

Re: [RFC] drm/atomic: Abuse legacy cursor update flag for legacy gamma update too

2018-02-13 Thread Chris Wilson
Quoting Maarten Lankhorst (2018-02-13 09:12:01) > Programs like redshift set the legacy gamma for X.org every 5 seconds. > Because atomic commits wait for vblank completion, we get a frame drop > every 5 seconds because of the legacy gamma update. > > Work around this by setting the

[RFC] drm/atomic: Abuse legacy cursor update flag for legacy gamma update too

2018-02-13 Thread Maarten Lankhorst
Programs like redshift set the legacy gamma for X.org every 5 seconds. Because atomic commits wait for vblank completion, we get a frame drop every 5 seconds because of the legacy gamma update. Work around this by setting the legacy_cursor_update flag, to force legacy gamma updates not to be