[Bug 212957] [radeon] kernel NULL pointer dereference during system boot

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed May 12 00:50:41 UTC 2021


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

--- Comment #3 from Dennis Foster (mail at 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 at 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 at amd.com>
    Acked-by: Daniel Vetter <daniel.vetter at 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.


More information about the dri-devel mailing list