mirror of https://github.com/torvalds/linux.git
For later VBIOS versions, the fractional feedback divider is calculated as the remainder of dividing the feedback divider by a factor, which is set to 1000000. For reference, see: - calculate_fb_and_fractional_fb_divider - calc_pll_max_vco_construct However, in case of old VBIOS versions that have set_pixel_clock_v3, they only have 1 byte available for the fractional feedback divider, and it's expected to be set to the remainder from dividing the feedback divider by 10. For reference see the legacy display code: - amdgpu_pll_compute - amdgpu_atombios_crtc_program_pll This commit fixes set_pixel_clock_v3 by dividing the fractional feedback divider passed to the function by 100000. Fixes: |
||
|---|---|---|
| .. | ||
| dce60 | ||
| dce80 | ||
| dce110 | ||
| dce112 | ||
| Makefile | ||
| bios_parser.c | ||
| bios_parser.h | ||
| bios_parser2.c | ||
| bios_parser2.h | ||
| bios_parser_common.c | ||
| bios_parser_common.h | ||
| bios_parser_helper.c | ||
| bios_parser_helper.h | ||
| bios_parser_interface.c | ||
| bios_parser_types_internal.h | ||
| bios_parser_types_internal2.h | ||
| command_table.c | ||
| command_table.h | ||
| command_table2.c | ||
| command_table2.h | ||
| command_table_helper.c | ||
| command_table_helper.h | ||
| command_table_helper2.c | ||
| command_table_helper2.h | ||
| command_table_helper_struct.h | ||