|Summary:||USEMGAHAL causes make error: 'MGAMODEINFO_FLATPANEL1' undeclared|
|Component:||Driver/mga||Assignee:||Xorg Project Team <xorg-team>|
|Status:||RESOLVED WONTFIX||QA Contact:|
|i915 platform:||i915 features:|
Description TJ 2007-02-04 23:34:31 UTC
X Window System Version 7.1.1 on Ubuntu Edgy 6.10 (kernel 2.6.17-10) Trying to compile xf86-video-mga-184.108.40.206 with USEMGAHAL defined. mga_driver.c: In function 'MGAFillModeInfoStruct': mga_driver.c:2739: error: 'MGAMODEINFO_FLATPANEL1' undeclared (first use in this function) mga_driver.c:2739: error: (Each undeclared identifier is reported only once mga_driver.c:2739: error: for each function it appears in.) make: *** [mga_driver.lo] Error 1 make: Leaving directory `/usr/src/xf86-video-mga-220.127.116.11/src' make: *** [all-recursive] Error 1 make: Leaving directory `/usr/src/xf86-video-mga-18.104.22.168' make: *** [all] Error 2 Appears to be caused because binding.h is missing: #define MGAMODEINFO_FLATPANEL1 (1L << 8) #define MGAMODEINFO_FLATPANEL2 (1L << 9)
Comment 1 Tilman Sauerbeck 2007-02-05 09:01:32 UTC
Won't fix. Support for mga_hal will be removed in future releases anyway.
Comment 2 TJ 2007-02-05 11:15:51 UTC
Does that mean that the open-source driver will no longer support G450 dual-head display? As I understand it, mga_hal_drv.so is required to run MergedFB or Xinerama on both heads.
Comment 3 Tilman Sauerbeck 2007-02-05 11:40:37 UTC
Nope, as the man page implicitly states, G450 dual head works without mga_hal. mga_hal is only required to drive DVI output or mergedfb. I will implement DVI support in the driver soonish. mergedfb support will likely follow.
Comment 4 TJ 2007-02-05 23:59:10 UTC
Thanks for the explanation. I have to use MergedFB mode at present to get any kind of acceptable performance on the dual-heads, although none of the drivers I've tried so far are close to the performance in Windows 2003/XP, which is a shame.