Re: [git pull] drm for 6.17-rc1

From: Alex Deucher
Date: Thu Jul 31 2025 - 15:04:37 EST


On Thu, Jul 31, 2025 at 2:01 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 31 Jul 2025 at 06:09, Alex Deucher <alexdeucher@xxxxxxxxx> wrote:
> >
> > I think it may be fixed here:
> > https://patchwork.freedesktop.org/patch/663973/
>
> Yes, this patch fixes the problem for me.
>
> I don't know if it's due to the pointer validation (ie this part):
>
> - if (!dsc)
> + if (!dsc || !dsc->ctx || !dsc->ctx->dc ||
> dsc->ctx->dc->debug.disable_dsc)
> return;
>
> or whether it's the divide-by-zero that the commit talks about.
>
> Should I just apply this directly, or expect a pull request in the
> next day or two?

Just typing up the PR now to send to Dave and Simona.

Thanks,

Alex