dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 212957] [radeon] kernel NULL pointer dereference during system boot
Date: Wed, 12 May 2021 00:50:41 +0000	[thread overview]
Message-ID: <bug-212957-2300-VZCtg2RazP@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-212957-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=212957

--- Comment #3 from Dennis Foster (mail@dennisfoster.us) ---
(In reply to Alex Deucher from comment #1)
> Can you bisect?

0575ff3d33cd62123991d2a5d0d8459d72592388 is the first bad commit
commit 0575ff3d33cd62123991d2a5d0d8459d72592388
Author: Christian König <christian.koenig@amd.com>
Date:   Thu Oct 8 13:01:35 2020 +0200

    drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays v2

    This is deprecated.

    v2: also use ttm_sg_tt_init to avoid allocating the page array.

    Signed-off-by: Christian König <christian.koenig@amd.com>
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.freedesktop.org/patch/403832/

 drivers/gpu/drm/radeon/radeon_ttm.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)


I wasn't able to revert this commit on v5.12, because there's another commit
c67e62790f5c156705fb162da840c6d89d0af6e0 where it seems like that file was
changed drastically, in particular drm_prime_sg_to_page_addr_arrays() was
replaced with drm_prime_sg_to_dma_addr_array().

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2021-05-12  0:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-05 21:17 [Bug 212957] New: [radeon] kernel NULL pointer dereference during system boot bugzilla-daemon
2021-05-05 21:54 ` [Bug 212957] " bugzilla-daemon
2021-05-08 15:45 ` bugzilla-daemon
2021-05-12  0:50 ` bugzilla-daemon [this message]
2021-05-12  1:35 ` bugzilla-daemon
2021-05-27 17:19 ` bugzilla-daemon

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=bug-212957-2300-VZCtg2RazP@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.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