drm: remove the EDID blob stored in the EDID property when it is disconnected
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 4 Mar 2010 08:25:55 +0000 (08:25 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Mar 2010 00:36:21 +0000 (10:36 +1000)
commit725398322d05486109375fbb85c3404108881e17
tree8eba79e5539d07a71cfa0455436a6b41d1ec06ea
parentae6445ac7475ff0526b019560793e50bad9cf78d
drm: remove the EDID blob stored in the EDID property when it is disconnected

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>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c