mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
drm/nouveau: Fix DCB TMDS config parsing.
Thinko caused by 43bda05428a3d2021f3c12220073e0251c65df8b. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
4d1defd724
commit
27d50fcc9a
1 changed files with 4 additions and 4 deletions
|
@ -6131,12 +6131,12 @@ parse_dcb20_entry(struct drm_device *dev, struct dcb_table *dcb,
|
|||
}
|
||||
break;
|
||||
case OUTPUT_TMDS:
|
||||
if (dcb->version >= 0x22)
|
||||
entry->tmdsconf.slave_addr = (conf & 0x00000070) >> 4;
|
||||
if (dcb->version >= 0x40)
|
||||
entry->tmdsconf.sor.link = (conf & 0x00000030) >> 4;
|
||||
else if (dcb->version >= 0x30)
|
||||
entry->tmdsconf.slave_addr = (conf & 0x00000700) >> 8;
|
||||
else if (dcb->version >= 0x40)
|
||||
entry->tmdsconf.sor.link = (conf & 0x00000030) >> 4;
|
||||
else if (dcb->version >= 0x22)
|
||||
entry->tmdsconf.slave_addr = (conf & 0x00000070) >> 4;
|
||||
|
||||
break;
|
||||
case 0xe:
|
||||
|
|
Loading…
Reference in a new issue