Rev 1179 | Rev 1268 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1179 | Rev 1221 | ||
---|---|---|---|
Line 743... | Line 743... | ||
743 | bg = RBIOS8(dac_info + 0xe) & 0xf; |
743 | bg = RBIOS8(dac_info + 0xe) & 0xf; |
744 | dac = (RBIOS8(dac_info + 0xe) >> 4) & 0xf; |
744 | dac = (RBIOS8(dac_info + 0xe) >> 4) & 0xf; |
745 | tv_dac->ntsc_tvdac_adj = (bg << 16) | (dac << 20); |
745 | tv_dac->ntsc_tvdac_adj = (bg << 16) | (dac << 20); |
746 | found = 1; |
746 | found = 1; |
747 | } |
747 | } |
748 | - | ||
749 | tv_dac->tv_std = radeon_combios_get_tv_info(encoder); |
748 | tv_dac->tv_std = radeon_combios_get_tv_info(encoder); |
750 | } |
749 | } |
751 | if (!found) { |
750 | if (!found) { |
752 | /* then check CRT table */ |
751 | /* then check CRT table */ |
753 | dac_info = |
752 | dac_info = |
Line 773... | Line 772... | ||
773 | } |
772 | } |
774 | } else { |
773 | } else { |
775 | DRM_INFO("No TV DAC info found in BIOS\n"); |
774 | DRM_INFO("No TV DAC info found in BIOS\n"); |
776 | } |
775 | } |
777 | } |
776 | } |
- | 777 | ||
778 | out: |
778 | out: |
779 | if (!found) /* fallback to defaults */ |
779 | if (!found) /* fallback to defaults */ |
780 | radeon_legacy_get_tv_dac_info_from_table(rdev, tv_dac); |
780 | radeon_legacy_get_tv_dac_info_from_table(rdev, tv_dac); |
Line 781... | Line 781... | ||
781 | 781 |