[haiku-development] Invalid frame position when setting display mode

When using a Savage video card, I can change the display mode on the first boot after installing Haiku, and it changes okay. However, when it is rebooted, the frame position is set to an invalid position because the members h_display_start and v_display_start in the display_mode struct contain invalid values. In the past, these values have always been 0,0; whereas, recently with r22950 I have seen values of 54172, 44 which are obviously invalid.

The Savage driver sets the frame position to the values contained in h_display_start and v_display_start when it sets the display mode. Should the Savage driver continue to use the values in h_display_start and v_display_start to set the frame position, or should these values be ignored and the frame position always set to 0,0 when setting the display mode. In the later case the frame position would only be changed from 0,0 by the Move Display function. Some of the other drivers that I looked at seem to ignore the values in h_display_start and v_display_start when setting the display mode.

I do not know when this problem started since I update my Haiku images infrequently. However, Ronny Wisor, who informed me of this problem, stated that it has been ocurring for a couple weeks.

Gerald Zajac

Other related posts: