drm_hwcomposer: Disable HDR for internal displays
Supported on external displays only. Update to match implementation in QueueConfig. Change-Id: I647935f914f33f488b28b909d847d85039986f9b
This commit is contained in:
parent
7e7e0609ee
commit
525d1aebcb
1 changed files with 3 additions and 1 deletions
|
|
@ -237,7 +237,9 @@ HwcDisplay::ConfigError HwcDisplay::SetConfig(ConfigId config) {
|
|||
}
|
||||
|
||||
ALOGV("Create modeset commit.");
|
||||
SetOutputType(new_config->output_type);
|
||||
// Allow HDR only on external displays
|
||||
if (GetPipe().connector->Get()->IsExternal())
|
||||
SetOutputType(new_config->output_type);
|
||||
|
||||
// Create atomic commit args for a blocking modeset. There's no need to do a
|
||||
// separate test commit, since the commit does a test anyways.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue