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

BUG=chromium:436549,chromium:450390
TEST=plug-unplug-replug on link freon and X11 + bvt_inline

This reverts commit ef3ace6ed785c52371c0d87e791ee594a0216b90.

Change-Id: I2a744734cb2761943717a9b271384b54c946b517
Signed-off-by: Yuly Novikov <ynovikov@chromium.org>
Previous-Reviewed-on: https://chromium-review.googlesource.com/253146
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
(cherry picked from commit 99b64cfa2844cf60f42c9a0ae0cd964267f4d22c)
Reviewed-on: https://chromium-review.googlesource.com/254701
1 file changed