diff options
author | Stylon Wang <stylon.wang@amd.com> | 2020-04-30 16:40:09 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-21 12:48:43 -0400 |
commit | cbd14ae7ea934fd9d9f95103a0601a7fea243573 (patch) | |
tree | e06bac62011fda2a2cf65d27f6e51ec5fe2f4edb /drivers/ata/pata_gayle.c | |
parent | fdcf62fbfb288f4cb050c02c5ab9bc58fc53a872 (diff) |
drm/amd/display: Fix incorrectly pruned modes with deep color
[Why]
When "max bpc" is set to enable deep color, some modes are removed from
the list if they fail validation on max bpc. These modes should be kept
if they validates fine with lower bpc.
[How]
- Retry with lower bpc in mode validation.
- Same in atomic commit to apply working bpc, not necessarily max bpc.
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/ata/pata_gayle.c')
0 files changed, 0 insertions, 0 deletions