sdm: Reset ROI to NULL on full screen update
1. Reset Crtc/Connector ROI to NULL on full screen update on partial
update enabled panel.
2. Validate FB to mixer scaling factor before setting the mixer
resolution
Change-Id: Id219c17093487de4123b89d7280824bbeec6439b
diff --git a/sdm/libs/hwc2/hwc_display_builtin.cpp b/sdm/libs/hwc2/hwc_display_builtin.cpp
index cd4dbe9..0f9bd9e 100644
--- a/sdm/libs/hwc2/hwc_display_builtin.cpp
+++ b/sdm/libs/hwc2/hwc_display_builtin.cpp
@@ -815,6 +815,7 @@
DisplayError HWCDisplayBuiltIn::SetMixerResolution(uint32_t width, uint32_t height) {
DisplayError error = display_intf_->SetMixerResolution(width, height);
+ callbacks_->Refresh(id_);
validated_ = false;
return error;
}