]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: avoid leaking edid data
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jul 2014 21:57:19 +0000 (17:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Jul 2014 13:01:29 +0000 (09:01 -0400)
commit545daf64e0da6a01e5275d11203d3df0579f4a05
tree50e441e2b2684ee59b299003c0f61dd187180ef8
parent46c34f9f1c2d480d27dc74bf33c7cb548cd28950
drm/radeon: avoid leaking edid data

In some cases we fetch the edid in the detect() callback
in order to determine what sort of monitor is connected.
If that happens, don't fetch the edid again in the get_modes()
callback or we will leak the edid.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_display.c