]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hdmi, dp: Do not dereference the encoder in the connector destroy
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Sep 2014 20:43:45 +0000 (21:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:41:12 +0000 (14:41 +0200)
commitcf1e55dfb2df11d5ef5196523ed6413d03228ab6
treebdeda3f1d33e0890614f929f1a0a1878c76e865c
parent6e1af19ecc65d1f68269b5658af0bc6dabe2e281
drm/i915/hdmi, dp: Do not dereference the encoder in the connector destroy

Oops, apparently intel_hdmi/intel_dp is the encoder - an object with a
distinct lifetime to the connector, and so we cannot simply reuse the
common function to unset and free the edid.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c