Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Only enable RBC when single display is connected
Browse files Browse the repository at this point in the history
RBC will be disabled when 2 or more displays are connected

Change-Id: I8944fb7070c99fad30732077f06b4c9e5e2bacd3
Tests: RBC only enabled with 1 connected display
Tracked-On: #585
Signed-off-by: Shaofeng Tang <[email protected]>
  • Loading branch information
Shao-Feng committed Jun 6, 2019
1 parent bee7ad1 commit 27bf98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsi/drm/drmdisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ bool DrmDisplay::PopulatePlanes(

bool use_modifier = true;
#ifdef MODIFICATOR_WA
use_modifier = (manager_->GetConnectedPhysicalDisplayCount() < 3);
use_modifier = (manager_->GetConnectedPhysicalDisplayCount() < 2);
if (i >= 2)
use_modifier = false;
#endif
Expand Down

0 comments on commit 27bf98d

Please sign in to comment.