Re: [Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-12-09 Thread Daniel Vetter
On Tue, Dec 9, 2014 at 10:28 PM, Jesse Barnes wrote: > And yeah the logic needs to be shuffled around a lot more. I meant to > grab more stuff from compute_mode_changes; right now it's just a set of > special cases, and not very complete. If we add a new pipe config > compare function, we can ju

Re: [Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-12-09 Thread Jesse Barnes
On Tue, 9 Dec 2014 22:16:33 +0100 Daniel Vetter wrote: > On Tue, Dec 9, 2014 at 6:51 PM, Jesse Barnes wrote: > > On Tue, 11 Nov 2014 12:30:47 -0800 > > Jesse Barnes wrote: > > > >> This should allow us to avoid mode sets for some panel fitter config > >> changes. > >> > >> v2: > >> - fixup pf

Re: [Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-12-09 Thread Daniel Vetter
On Tue, Dec 9, 2014 at 6:51 PM, Jesse Barnes wrote: > On Tue, 11 Nov 2014 12:30:47 -0800 > Jesse Barnes wrote: > >> This should allow us to avoid mode sets for some panel fitter config >> changes. >> >> v2: >> - fixup pfit comment (Ander) >> v3: >> - fixup pfit disable shortcut, only apply to

Re: [Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-12-09 Thread Jesse Barnes
On Tue, 11 Nov 2014 12:30:47 -0800 Jesse Barnes wrote: > This should allow us to avoid mode sets for some panel fitter config > changes. > > v2: > - fixup pfit comment (Ander) > v3: > - fixup pfit disable shortcut, only apply to gen4 for now (Jesse) > Daniel pointed out offline that in the

Re: [Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-11-17 Thread Ander Conselvan de Oliveira
On 11/11/2014 10:30 PM, Jesse Barnes wrote: > This should allow us to avoid mode sets for some panel fitter config > changes. > > v2: >- fixup pfit comment (Ander) > v3: >- fixup pfit disable shortcut, only apply to gen4 for now (Jesse) I see that the patch does what it claims it does, so

[Intel-gfx] [PATCH 2/2] drm/i915: calculate pfit changes in set_config v3

2014-11-11 Thread Jesse Barnes
This should allow us to avoid mode sets for some panel fitter config changes. v2: - fixup pfit comment (Ander) v3: - fixup pfit disable shortcut, only apply to gen4 for now (Jesse) Signed-off-by: Jesse Barnes --- drivers/gpu/drm/i915/intel_display.c | 73 ++--