diff mbox series

[Bug,207383,Regression] 5.7 amdgpu/polaris11 gpf: amdgpu_atomic_commit_tail

Message ID bug-207383-2300-tcQYdvcFRu@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show
Series [Bug,207383,Regression] 5.7 amdgpu/polaris11 gpf: amdgpu_atomic_commit_tail | expand

Commit Message

bugzilla-daemon@bugzilla.kernel.org July 22, 2020, 2:05 a.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=207383

--- Comment #81 from Kees Cook (kees@outflux.net) ---
I assume this is the change, BTW:
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
index d61186ff411d..2b8da2b17a5d 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
@@ -424,6 +424,8 @@  struct dm_crtc_state {
 struct dm_atomic_state {
        struct drm_private_state base;

+       /* This will be overwritten by the freelist pointer during kfree() */
+       void *padding;
        struct dc_state *context;
 };