drm: remove the EDID blob stored in the EDID property when it is disconnected
commit5d085d89715692c6b4c918a42ee6638468544812
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 4 Mar 2010 08:25:55 +0000 (4 08:25 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:45 +0000 (26 07:47 -0700)
tree181f1320403996d659d51095f892c4a4f3c7343a
parente651edd883a9334c059615d7d829ae290a72b66c
drm: remove the EDID blob stored in the EDID property when it is disconnected

commit 725398322d05486109375fbb85c3404108881e17 upstream.

Now the EDID property will be updated when the corresponding EDID can be
obtained from the external display device. But after the external device
is plugged-out, the EDID property is not updated. In such case we still
get the corresponding EDID property although it is already detected as
disconnected.

https://bugs.freedesktop.org/show_bug.cgi?id=26743

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/drm_crtc_helper.c