mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Dave Airlie <airlied@gmail.com>,
	Dillon Varone <dillon.varone@amd.com>,
	Ivan Lipski <ivan.lipski@amd.com>,
	Daniel Wheeler <daniel.wheeler@amd.com>,
	Alex Deucher <alexander.deucher@amd.com>,
	Wenjing Liu <wenjing.liu@amd.com>
Cc: Simona Vetter <simona@ffwll.ch>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [git pull] drm for 6.17-rc1
Date: Thu, 31 Jul 2025 18:11:41 +0530	[thread overview]
Message-ID: <11a42824-b240-43f0-980a-8222be872483@kernel.org> (raw)
In-Reply-To: <CAHk-=wgEGn0azq0n5BfWg4ZStrZYanLCX1a+quug7HKmjimhpw@mail.gmail.com>



On 7/31/25 10:37 AM, Linus Torvalds wrote:
> On Wed, 30 Jul 2025 at 21:58, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>>
>> d7b618bc41ee3d44c070212dff93949702ede997 is the first bad commit
>>      drm/amd/display: Refactor DSC cap calculations
>>
>> Let me go see how painful it is to just revert it from top-of-tree.
> 
> So with that reverted (didn't require a lot of fixing, only minor
> unrelated context added nearby later), current top-of-tree works for
> me again.
> 
> The revert I used for testing attached just so people can see exactly
> what I did.
> 
> It's late here, I wasn't getting any more work done today anyway, so
> I'll leave it like this for now.
> 
> I can continue to do the merge window with this revert purely local
> for a while, so if somebody comes up with a proper fix, I can test
> that out.
> 
>              Linus

Pure guess from looking at the diff from 
d7b618bc41ee3d44c070212dff93949702ede997, maybe the NULL ptr is a deref 
on a pointer that doesn't have funcs declared being an older GPU.  So 
maybe check for funcs?

diff --git a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c 
b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
index a454d16e6586..95d51de26c0b 100644
--- a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
+++ b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
@@ -673,7 +673,7 @@ static void get_dsc_enc_caps(
                 return;

         /* check if reported cap global or only for a single DCN DSC enc */
-       if (dsc->funcs->dsc_get_enc_caps) {
+       if (dsc->funcs && dsc->funcs->dsc_get_enc_caps) {
                 if (!dsc->ctx->dc->debug.disable_dsc)
                         dsc->funcs->dsc_get_enc_caps(dsc_enc_caps, 
pixel_clock_100Hz);
         } else {

  reply	other threads:[~2025-07-31 12:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 21:05 Dave Airlie
2025-07-31  3:05 ` Linus Torvalds
2025-07-31  3:39   ` Dave Airlie
2025-07-31  3:49     ` Linus Torvalds
2025-07-31  3:40   ` Linus Torvalds
2025-07-31  3:47     ` Dave Airlie
2025-07-31  3:52       ` Linus Torvalds
2025-07-31  4:02     ` Linus Torvalds
2025-07-31  4:21       ` Dave Airlie
2025-07-31  4:26         ` Linus Torvalds
2025-07-31  4:31           ` Linus Torvalds
2025-07-31  4:32           ` Dave Airlie
2025-07-31  4:36             ` Dave Airlie
2025-07-31  4:48               ` Linus Torvalds
2025-07-31  4:58                 ` Linus Torvalds
2025-07-31  5:07                   ` Linus Torvalds
2025-07-31 12:41                     ` Mario Limonciello [this message]
2025-07-31 13:09                     ` Alex Deucher
2025-07-31 13:57                       ` Varone, Dillon
2025-07-31 14:00                       ` Alex Deucher
2025-07-31 18:01                       ` Linus Torvalds
2025-07-31 19:04                         ` Alex Deucher
2025-07-31  5:10                   ` Dave Airlie
2025-07-31  3:11 ` pr-tracker-bot
2025-07-31 20:09   ` Miguel Ojeda
2025-07-31  7:01 ` Imre Deak

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=11a42824-b240-43f0-980a-8222be872483@kernel.org \
    --to=superm1@kernel.org \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=daniel.wheeler@amd.com \
    --cc=dillon.varone@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ivan.lipski@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=torvalds@linux-foundation.org \
    --cc=wenjing.liu@amd.com \
    /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

all inboxes | Powered by JetHome®