From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: lyude@redhat.com, bskeggs@redhat.com, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] drm/nouveau/kms/gv100-: Re-set LUT after clearing for" failed to apply to 4.19-stable tree
Date: Wed, 26 Feb 2020 22:17:31 -0500 [thread overview]
Message-ID: <20200227031731.GF22178@sasha-vm> (raw)
In-Reply-To: <1582714299255116@kroah.com>
On Wed, Feb 26, 2020 at 11:51:39AM +0100, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From f287d3d19769b1d22cba4e51fa0487f2697713c9 Mon Sep 17 00:00:00 2001
>From: Lyude Paul <lyude@redhat.com>
>Date: Wed, 12 Feb 2020 18:11:49 -0500
>Subject: [PATCH] drm/nouveau/kms/gv100-: Re-set LUT after clearing for
> modesets
>
>While certain modeset operations on gv100+ need us to temporarily
>disable the LUT, we make the mistake of sometimes neglecting to
>reprogram the LUT after such modesets. In particular, moving a head from
>one encoder to another seems to trigger this quite often. GV100+ is very
>picky about having a LUT in most scenarios, so this causes the display
>engine to hang with the following error code:
>
>disp: chid 1 stat 00005080 reason 5 [INVALID_STATE] mthd 0200 data
>00000001 code 0000002d)
>
>So, fix this by always re-programming the LUT if we're clearing it in a
>state where the wndw is still visible, and has a XLUT handle programmed.
>
>Signed-off-by: Lyude Paul <lyude@redhat.com>
>Fixes: facaed62b4cb ("drm/nouveau/kms/gv100: initial support")
>Cc: <stable@vger.kernel.org> # v4.18+
>Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
We don't have 88b703527ba7 ("drm/nouveau/kms/gf119-: add ctm property
support") in 4.19. I've fixed it and queued up.
--
Thanks,
Sasha
prev parent reply other threads:[~2020-02-27 3:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 10:51 FAILED: patch "[PATCH] drm/nouveau/kms/gv100-: Re-set LUT after clearing for" failed to apply to 4.19-stable tree gregkh
2020-02-27 3:17 ` Sasha Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200227031731.GF22178@sasha-vm \
--to=sashal@kernel.org \
--cc=bskeggs@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=lyude@redhat.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox