Re: [Intel-gfx] [PATCH v2 5/7] drm/i915: Get first crtc instead of PIPE_A crtc

2020-02-18 Thread Anshuman Gupta
On 2020-02-17 at 16:17:22 +0200, Ville Syrjälä wrote: > On Mon, Feb 17, 2020 at 10:52:28AM +0530, Anshuman Gupta wrote: > > On 2020-02-11 at 22:55:30 +0530, Anshuman Gupta wrote: > > > intel_plane_fb_max_stride should return the max stride of > > > primary plane for first available pipe in intel de

Re: [Intel-gfx] [PATCH v2 5/7] drm/i915: Get first crtc instead of PIPE_A crtc

2020-02-17 Thread Ville Syrjälä
On Mon, Feb 17, 2020 at 10:52:28AM +0530, Anshuman Gupta wrote: > On 2020-02-11 at 22:55:30 +0530, Anshuman Gupta wrote: > > intel_plane_fb_max_stride should return the max stride of > > primary plane for first available pipe in intel device info > > pipe_mask. > > Similarly glk_force_audio_cdclk()

Re: [Intel-gfx] [PATCH v2 5/7] drm/i915: Get first crtc instead of PIPE_A crtc

2020-02-16 Thread Anshuman Gupta
On 2020-02-11 at 22:55:30 +0530, Anshuman Gupta wrote: > intel_plane_fb_max_stride should return the max stride of > primary plane for first available pipe in intel device info > pipe_mask. > Similarly glk_force_audio_cdclk() should also use the first > available CRTC instead of pipe 'A' crtc to fo

[Intel-gfx] [PATCH v2 5/7] drm/i915: Get first crtc instead of PIPE_A crtc

2020-02-11 Thread Anshuman Gupta
intel_plane_fb_max_stride should return the max stride of primary plane for first available pipe in intel device info pipe_mask. Similarly glk_force_audio_cdclk() should also use the first available CRTC instead of pipe 'A' crtc to force the cdclk changes. changes since RFC: - Introduced a helper