* commit '3e70928f6e3cd46eb82c02c1cc5fccfd0378bb75': sf: Clear display configs when hot pluggable display is disconnected
This commit is contained in:
commit
62914ce664
@ -799,6 +799,9 @@ void HWComposer::disconnectDisplay(int disp) {
|
|||||||
dd.lastRetireFence = Fence::NO_FENCE;
|
dd.lastRetireFence = Fence::NO_FENCE;
|
||||||
dd.lastDisplayFence = Fence::NO_FENCE;
|
dd.lastDisplayFence = Fence::NO_FENCE;
|
||||||
dd.outbufAcquireFence = Fence::NO_FENCE;
|
dd.outbufAcquireFence = Fence::NO_FENCE;
|
||||||
|
// clear all the previous configs and repopulate when a new
|
||||||
|
// device is added
|
||||||
|
dd.configs.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
int HWComposer::getVisualID() const {
|
int HWComposer::getVisualID() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user