1
0
Fork 0

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:
Sasha McIntosh 2025-03-28 11:42:17 -04:00 committed by Drew Davenport
parent 7e7e0609ee
commit 525d1aebcb

View file

@ -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.