Re: [Intel-gfx] [PATCH 1/2] drm/i915: Add psr_enabled on pipe_config

2015-03-26 Thread Ramalingam C
On Wednesday 25 March 2015 12:42 AM, Rodrigo Vivi wrote: Let's pre-compute it on pipe_config compute to let it exported there but also to use to see if we can enable DRRS. Cc: Chris Wilson Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_display.c | 35

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Add psr_enabled on pipe_config

2015-03-25 Thread Rodrigo Vivi
On Wed, Mar 25, 2015 at 12:04 AM, Sivakumar Thulasimani wrote: > >> _crtc_state *pipe_config) >> { >> @@ -5812,6 +5844,8 @@ static int intel_crtc_compute_config(struct >> intel_crtc *crtc, >> pipe_config->pipe_bpp = 8*3; >> } >> + intel_compute_psr_config(crtc, pipe

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Add psr_enabled on pipe_config

2015-03-25 Thread Sivakumar Thulasimani
_crtc_state *pipe_config) { @@ -5812,6 +5844,8 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc, pipe_config->pipe_bpp = 8*3; } + intel_compute_psr_config(crtc, pipe_config); + if (HAS_IPS(dev)) hsw_compute_ips_config(crtc, pi

[Intel-gfx] [PATCH 1/2] drm/i915: Add psr_enabled on pipe_config

2015-03-24 Thread Rodrigo Vivi
Let's pre-compute it on pipe_config compute to let it exported there but also to use to see if we can enable DRRS. Cc: Chris Wilson Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_display.c | 35 +++ drivers/gpu/drm/i915/intel_drv.h | 2 ++ driver