Re: [PATCH 2/2] drm: lcdif: force modeset when FB format changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 1, 2023 at 6:33 PM Marek Vasut <marex@xxxxxxx> wrote:
>
> On 6/1/23 08:24, Ying Liu wrote:
> > On Thu, Jun 1, 2023 at 2:45 AM Lucas Stach <l.stach@xxxxxxxxxxxxxx> wrote:
> >>
> >> Force a modeset if the new FB has a different format than the
> >> currently active one. While it might be possible to change between
> >> compatible formats without a full modeset as the format control is
> >> also supposed to be double buffered, the colorspace conversion is
> >> not, so when the CSC changes we need a modeset.
> >>
> >> For now just always force a modeset when the FB format changes to
> >> properly reconfigure all parts of the device for the new format.
> >>
> >> Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> >> ---
> >>   drivers/gpu/drm/mxsfb/lcdif_kms.c | 26 ++++++++++++++++++++------
> >>   1 file changed, 20 insertions(+), 6 deletions(-)
> >
> > LGTM. If the patch shows up in dri-devel patchwork, I can get it, test
> > it and provide my R-b tag if appropriate.
>
> Aren't these two patches the ones you are looking for ?
>
> https://patchwork.freedesktop.org/patch/540443/
> https://patchwork.freedesktop.org/patch/540444/

Yes, they are. Thanks for the links.

>
> Maybe PW didn't sync when you checked, it takes a bit of time for
> patches to show up.

I used https://patchwork.kernel.org/project/dri-devel/list/.  It turns out
the two patches are not synced at there yet.




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux