fix for cloning accelerant on singlehead cards: routine pointers were 'undefined' before.These routine pointers need to be revisited later on because they are not updated for clones when modeswitches happen (should be in shared_info or so). The good news is that these pointers can be gone anyway once driver instances exist per head instead of per card.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16433 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2006-02-16 20:04:47 +00:00
parent 98d9f1b483
commit b227904c50

View File

@ -307,7 +307,12 @@ status_t CLONE_ACCELERANT(void *data)
}
/* setup CRTC and DAC functions access */
setup_virtualized_heads(si->crtc_switch_mode);
//fixme: setup_virtualized_heads is a problem for clones: needs to be run
//for each clone if the mode is changed!
if (si->ps.secondary_head)
setup_virtualized_heads(si->crtc_switch_mode);
else
setup_virtualized_heads(si->ps.crtc2_prim);
/* get shared area for display modes */
result = my_mode_list_area = clone_area(