Revert "Revert "drm: Ensure that drm_framebuffer_remove considers the primary plane fb""

This reverts commit 815366b49b1bdcc56cf89262f7e0042be4c4182e.

BUG=chromium:454738
TEST=Hotplugging miniDP-DP cable on link into Dell U3011 and Asus VE258

Change-Id: I8c51242523a33525f9fdf571d9faeeaa6115935f
Signed-off-by: ynovikov@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/246730
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
1 file changed