[Openchrome-users] [openChrome] #296: No matching modes for KM400

OpenChrome Trac trac
Wed Apr 29 03:07:22 PDT 2009


#296: No matching modes for KM400
-------------------+--------------------------------------------------------
Reporter:  gang65  |       Owner:  somebody   
    Type:  defect  |      Status:  new        
Priority:  major   |   Component:  modesetting
 Version:  trunk   |    Keywords:             
Blocking:          |   Blockedby:             
-------------------+--------------------------------------------------------
 On the KM400 chipset there exist bug: the autodetection of the panel
 resolution is not working.

 All was described at:
 https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
 openchrome/+bug/293326

 This happend because in file src/via_mode.c
 and function ViaPanelGetIndex(ScrnInfoPtr pScrn, DisplayModePtr mode)

 there is check if mode is supported by Panel, and its always sends
 fail: "ViaPanelGetIndex: Mode not supported by Panel.".

 After comment this lines the resolution is set properly.

 For what is that check and variables "mode->PrivSize", "mode->Private"
 (which has always value 0) ?

 Here is the code:
 {{{
 646     static Bool
 647     ViaPanelGetIndex(ScrnInfoPtr pScrn, DisplayModePtr mode)
 648     {
 ...
 664
 665         if ((mode->PrivSize != sizeof(struct ViaModePriv))
 666             || (mode->Private != (void *)&ViaPanelPrivate)) {
 667             xf86DrvMsg(pScrn->scrnIndex, X_INFO,
 668                        "ViaPanelGetIndex: Mode not supported by
 Panel.\n");
 669             return FALSE;
 670         }

 }}}

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/296>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list