radeon_hd/pll: Fix pll MiscInfo on table 1.5

* Looks like some error in atombios. AMD just
  reversed the values instead of fixing the atom.h
  defines in Linux.

Change-Id: I440682af5708ce0da1625e8f50e8cb77595c8397
This commit is contained in:
Alexander von Gluck IV 2021-12-11 10:19:11 -06:00
parent 98296c4a29
commit 3084929f81

View File

@ -887,6 +887,11 @@ pll_set(display_mode* mode, uint8 crtcID)
args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_24BPP;
break;
case 10:
// AMD notes the atombios define is incorrect here
args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_32BPP;
break;
case 12:
// AMD notes the atombios define is incorrect here
args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_30BPP;
break;
}