When switching ports, the code forgot to also switch the detected flatpanel
parameters. This caused ticket #1732 for me. At another place in the code, the native resolution is added to the supported mode list and there it is hardcoded to the first flatpanel info. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26540 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1069,10 +1069,17 @@ Radeon_DetectDisplays(accelerator_info *ai)
|
|||||||
if (routes->port_info[1].mon_type == mt_none) {
|
if (routes->port_info[1].mon_type == mt_none) {
|
||||||
routes->port_info[0].mon_type = mt_crt;
|
routes->port_info[0].mon_type = mt_crt;
|
||||||
} else {
|
} else {
|
||||||
radeon_connector swap_entity;
|
radeon_connector portSwapEntity;
|
||||||
swap_entity = routes->port_info[0];
|
fp_info panelInfoSwapEntity;
|
||||||
|
|
||||||
|
portSwapEntity = routes->port_info[0];
|
||||||
routes->port_info[0] = routes->port_info[1];
|
routes->port_info[0] = routes->port_info[1];
|
||||||
routes->port_info[1] = swap_entity;
|
routes->port_info[1] = portSwapEntity;
|
||||||
|
|
||||||
|
panelInfoSwapEntity = ai->si->flatpanels[0];
|
||||||
|
ai->si->flatpanels[0] = ai->si->flatpanels[1];
|
||||||
|
ai->si->flatpanels[1] = panelInfoSwapEntity;
|
||||||
|
|
||||||
SHOW_ERROR0(2, "swapping active port 2 to free port 1");
|
SHOW_ERROR0(2, "swapping active port 2 to free port 1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user