[Bug 209987] Memory leak in amdgpu_dm_update_connector_after_detect

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Nov 9 04:24:50 UTC 2020


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

--- Comment #2 from Lee Starnes (lstarnes1024 at gmail.com) ---
It looks like this can be fixed by setting aconnector->num_modes to the return
value from drm_add_edid_modes. At least one other place in amdgpu_dm.c sets
struct amdgpu_dm_connector.num_modes to the return value of drm_add_edid_modes
like this. I'm not familiar enough with AMDGPU or DRM internals to know if this
will mess anything up.

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


More information about the dri-devel mailing list