Re: [RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-25 Thread Maxime Ripard
Hi, On Wed, Sep 11, 2024 at 05:54:44PM GMT, Abhinav Kumar wrote: > On 9/10/2024 1:40 AM, Maxime Ripard wrote: > > Hi, > > > > On Mon, Sep 09, 2024 at 12:59:47PM GMT, Abhinav Kumar wrote: > > > On 9/9/2024 6:37 AM, Maxime Ripard wrote: > > > > Hi, > > > > > > > > On Thu, Sep 05, 2024 at 03:11:24P

Re: [RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-11 Thread Abhinav Kumar
Hi Maxime On 9/10/2024 1:40 AM, Maxime Ripard wrote: Hi, On Mon, Sep 09, 2024 at 12:59:47PM GMT, Abhinav Kumar wrote: On 9/9/2024 6:37 AM, Maxime Ripard wrote: Hi, On Thu, Sep 05, 2024 at 03:11:24PM GMT, Abhinav Kumar wrote: In certain use-cases, a CRTC could switch between two encoders and

Re: [RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-10 Thread Maxime Ripard
Hi, On Mon, Sep 09, 2024 at 12:59:47PM GMT, Abhinav Kumar wrote: > On 9/9/2024 6:37 AM, Maxime Ripard wrote: > > Hi, > > > > On Thu, Sep 05, 2024 at 03:11:24PM GMT, Abhinav Kumar wrote: > > > In certain use-cases, a CRTC could switch between two encoders > > > and because the mode being programme

Re: [RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-09 Thread Maxime Ripard
Hi, On Thu, Sep 05, 2024 at 03:11:24PM GMT, Abhinav Kumar wrote: > In certain use-cases, a CRTC could switch between two encoders > and because the mode being programmed on the CRTC remains > the same during this switch, the CRTC's mode_changed remains false. > In such cases, the encoder's mode_se

[RFC PATCH] drm: allow encoder mode_set even when connectors change for crtc

2024-09-05 Thread Abhinav Kumar
In certain use-cases, a CRTC could switch between two encoders and because the mode being programmed on the CRTC remains the same during this switch, the CRTC's mode_changed remains false. In such cases, the encoder's mode_set also gets skipped. Skipping mode_set on the encoder for such cases coul