Re: drm patch

2004-08-27 Thread Mike Mestnik
Not to be a nit prick, but shoulden't there at least be a warning that
VesaFB and the DRM are using the same Hardware?  Thought this is
supported.

Warning: VesaFB and the DRM are using the\n
same Hardware, Thought this is supported.

--- Jon Smirl [EMAIL PROTECTED] wrote:

 Here is the current version of the patch. As soon as Dave approves it
 will go in.
 
 The problem was a conflict between VesaFB and DRM. The patch detects
 VesaFB and puts DRM in stealth mode.
 
 =
 Jon Smirl
 [EMAIL PROTECTED]
 
 
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - Send 10MB messages!
 http://promotions.yahoo.com/new_mail  = linux/drm_drv.h 1.9 vs
edited =
 --- 1.9/linux/drm_drv.h   Wed Aug 25 16:55:12 2004
 +++ edited/linux/drm_drv.hThu Aug 26 00:40:06 2004
 @@ -602,7 +602,7 @@
  static int __init drm_init( void )
  {
   struct pci_dev *pdev = NULL;
 - struct pci_driver *pdriver = NULL;
 + struct pci_device_id *pid;
   int i;
   
   DRM_DEBUG( \n );
 @@ -613,25 +613,39 @@
  
   DRM(mem_init)();
   
 - for (i=0; DRM(pciidlist)[i].vendor != 0; i++) {
 - pdev = pci_get_subsys(DRM(pciidlist[i]).vendor,
 DRM(pciidlist[i]).device, DRM(pciidlist[i]).subvendor,
 DRM(pciidlist[i]).subdevice, NULL);
 - if (pdev)
 - {
 - pdriver = pci_dev_driver(pdev);
 - if (pdriver)
 - {
 - DRM(fb_loaded)=1;
 - drm_probe(pdev, DRM(pciidlist[i]));
 - }
 - else
 + for (i=0; (DRM(pciidlist)[i].vendor != 0)  !DRM(fb_loaded); i++) {
 + pid = DRM(pciidlist[i]);
 + 
 + /* pass back in pdev to account for multiple identical cards */
 + while ((pdev = pci_get_subsys(pid-vendor, pid-device,
 pid-subvendor, pid-subdevice, pdev))) {
 + /* is there already a driver loaded, or (short circuit saves 
 work)
 */
 + /* does something like VesaFB have control of the memory 
 region? */
 + if (pci_dev_driver(pdev) || pci_request_regions(pdev, DRM 
 scan)) {
 + /* go into stealth mode */
 + DRM(fb_loaded) = 1;
   pci_dev_put(pdev);
 + break;
 + }
 + /* no fbdev or vesadev, put things back and wait for normal 
 probe */
 + pci_release_regions(pdev);
 + pci_dev_put(pdev);
   }
   }
   
 - if (DRM(fb_loaded)==0)
 + if (DRM(fb_loaded) == 0)
   pci_register_driver(drm_driver);
 - else
 + else {
 + for (i=0; DRM(pciidlist)[i].vendor != 0; i++) {
 + pid = DRM(pciidlist[i]);
 + 
 + /* pass back in pdev to account for multiple identical cards */
 + while ((pdev = pci_get_subsys(pid-vendor, pid-device,
 pid-subvendor, pid-subdevice, pdev))) {
 + /* stealth mode requires a manual probe */
 + drm_probe(pdev, DRM(pciidlist[i]));
 + }
 + }
   DRM_INFO(Used old pci detect: framebuffer loaded\n);
 + }
   return 0;
  }
  
 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: drm patch

2004-08-27 Thread Dave Airlie

  DRM_INFO(Used old pci detect: framebuffer loaded\n);

we print that... it should be enough I think..

Dave.
On Fri, 27 Aug 2004, Mike Mestnik wrote:

 Not to be a nit prick, but shoulden't there at least be a warning that
 VesaFB and the DRM are using the same Hardware?  Thought this is
 supported.

 Warning: VesaFB and the DRM are using the\n
 same Hardware, Thought this is supported.

 --- Jon Smirl [EMAIL PROTECTED] wrote:

  Here is the current version of the patch. As soon as Dave approves it
  will go in.
 
  The problem was a conflict between VesaFB and DRM. The patch detects
  VesaFB and puts DRM in stealth mode.
 
  =
  Jon Smirl
  [EMAIL PROTECTED]
 
 
 
  __
  Do you Yahoo!?
  New and Improved Yahoo! Mail - Send 10MB messages!
  http://promotions.yahoo.com/new_mail  = linux/drm_drv.h 1.9 vs
 edited =
  --- 1.9/linux/drm_drv.h Wed Aug 25 16:55:12 2004
  +++ edited/linux/drm_drv.h  Thu Aug 26 00:40:06 2004
  @@ -602,7 +602,7 @@
   static int __init drm_init( void )
   {
  struct pci_dev *pdev = NULL;
  -   struct pci_driver *pdriver = NULL;
  +   struct pci_device_id *pid;
  int i;
 
  DRM_DEBUG( \n );
  @@ -613,25 +613,39 @@
 
  DRM(mem_init)();
 
  -   for (i=0; DRM(pciidlist)[i].vendor != 0; i++) {
  -   pdev = pci_get_subsys(DRM(pciidlist[i]).vendor,
  DRM(pciidlist[i]).device, DRM(pciidlist[i]).subvendor,
  DRM(pciidlist[i]).subdevice, NULL);
  -   if (pdev)
  -   {
  -   pdriver = pci_dev_driver(pdev);
  -   if (pdriver)
  -   {
  -   DRM(fb_loaded)=1;
  -   drm_probe(pdev, DRM(pciidlist[i]));
  -   }
  -   else
  +   for (i=0; (DRM(pciidlist)[i].vendor != 0)  !DRM(fb_loaded); i++) {
  +   pid = DRM(pciidlist[i]);
  +
  +   /* pass back in pdev to account for multiple identical cards */
  +   while ((pdev = pci_get_subsys(pid-vendor, pid-device,
  pid-subvendor, pid-subdevice, pdev))) {
  +   /* is there already a driver loaded, or (short circuit saves 
  work)
  */
  +   /* does something like VesaFB have control of the memory 
  region? */
  +   if (pci_dev_driver(pdev) || pci_request_regions(pdev, DRM 
  scan)) {
  +   /* go into stealth mode */
  +   DRM(fb_loaded) = 1;
  pci_dev_put(pdev);
  +   break;
  +   }
  +   /* no fbdev or vesadev, put things back and wait for normal 
  probe */
  +   pci_release_regions(pdev);
  +   pci_dev_put(pdev);
  }
  }
 
  -   if (DRM(fb_loaded)==0)
  +   if (DRM(fb_loaded) == 0)
  pci_register_driver(drm_driver);
  -   else
  +   else {
  +   for (i=0; DRM(pciidlist)[i].vendor != 0; i++) {
  +   pid = DRM(pciidlist[i]);
  +
  +   /* pass back in pdev to account for multiple identical cards */
  +   while ((pdev = pci_get_subsys(pid-vendor, pid-device,
  pid-subvendor, pid-subdevice, pdev))) {
  +   /* stealth mode requires a manual probe */
  +   drm_probe(pdev, DRM(pciidlist[i]));
  +   }
  +   }
  DRM_INFO(Used old pci detect: framebuffer loaded\n);
  +   }
  return 0;
   }
 
 




 ___
 Do you Yahoo!?
 Win 1 of 4,000 free domain names from Yahoo! Enter now.
 http://promotions.yahoo.com/goldrush


 ---
 SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
 Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
 http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
 --
 ___
 Dri-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dri-devel


-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 01:42 ---
Created an attachment (id=740)
 -- (https://freedesktop.org/bugzilla/attachment.cgi?id=740action=view)
ARGB Cursor fix

I suspect this could be video memory not being large enough.

Dave, as for the ARGB cursor problem. Can you try the attached fix.
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 01:48 ---
Xorg.0.log
==
This is a pre-release version of the The X.Org Foundation X11.
Portions of this release are based on XFree86 4.4RC2 and selected
files from XFree86 4.4RC3. It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the The X.Org Foundation monolithic tree CVS
repository hosted at http://www.freedesktop.org/Software/xorg/
X Window System Version 6.7.99.902 (6.8.0 RC 2)
Release Date: 17 August 2004
X Protocol Version 11, Revision 0, Release 6.7.99.902
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF] 
Current Operating System: Linux TuxBook 2.6.8.1-ra #2 Thu Aug 26 23:32:52 CEST
2004 i686
Build Date: 25 August 2004
Build Host: tweety.build.redhat.com
 
 Before reporting problems, check http://wiki.X.Org
 to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.8.1-ra ([EMAIL PROTECTED]) (gcc-Version 3.4.1 20040815
(Red Hat 3.4.1-9)) #2 Thu Aug 26 23:32:52 CEST 2004 
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Aug 26 23:55:02 2004
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Videocard0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(**) FontPath set to unix/:7100
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.2
 X.Org Video Driver: 0.7
 X.Org XInput driver : 0.4
 X.Org Server Extension : 0.2
 X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=X.Org Foundation
 compiled for 6.7.99.902, module version = 1.0.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=X.Org Foundation
 compiled for 6.7.99.902, module version = 1.0.0
 ABI class: X.Org Video Driver, version 0.7
(++) using VT number 8

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,3580 card 1028,0153 rev 02 class 06,00,00 hdr 80
(II) PCI: 00:00:1: chip 8086,3584 card 1028,0153 rev 02 class 08,80,00 hdr 00
(II) PCI: 00:00:3: chip 8086,3585 card 1028,0153 rev 02 class 08,80,00 hdr 80
(II) PCI: 00:02:0: chip 8086,3582 card 1028,0153 rev 02 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,3582 card 1028,0153 rev 02 class 03,80,00 hdr 80
(II) PCI: 00:1d:0: chip 8086,24c2 card 8086,4541 rev 01 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24c4 card 8086,4541 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24c7 card 8086,4541 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24cd card 1028,0153 rev 01 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev 81 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,24cc card , rev 01 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,24ca card 8086,4541 rev 01 class 01,01,8a hdr 00
(II) PCI: 00:1f:5: chip 8086,24c5 card 1028,0153 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:1f:6: chip 8086,24c6 card 134d,4c21 rev 01 class 07,03,00 hdr 00
(II) PCI: 01:01:0: chip 1217,6972 card 4001, rev 00 class 06,07,00 hdr 02
(II) PCI: 01:03:0: chip 8086,1043 card 8086,2561 rev 04 class 02,80,00 hdr 00
(II) PCI: 01:08:0: chip 8086,103d card 1028,2002 rev 81 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
 [0] -1 0 0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
 [0] -1 0 0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
 [0] -1 0 0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 1 I/O range:
 [0] -1 0 0xe000 - 0xe0ff (0x100) IX[B]
 [1] -1 0 0xe400 - 0xe4ff (0x100) IX[B]
 [2] -1 0 0xe800 - 0xe8ff (0x100) IX[B]
 [3] -1 0 0xec00 - 0xecff (0x100) IX[B]
(II) Bus 1 non-prefetchable 

[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 01:50 ---
dmesg
=
Linux version 2.6.8.1-ra ([EMAIL PROTECTED]) (gcc-Version 3.4.1 20040815 (Red Hat
3.4.1-9)) #2 Thu Aug 26 23:32:52 CEST 2004
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 0010 - 1feaa000 (usable)
 BIOS-e820: 1feaa000 - 2000 (reserved)
 BIOS-e820: fec1 - fec2 (reserved)
 BIOS-e820: feda - fee0 (reserved)
 BIOS-e820: ffb0 - 0001 (reserved)
510MB LOWMEM available.
On node 0 totalpages: 130730
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126634 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 DELL  ) @ 0x000fdf00
ACPI: RSDT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x1fef
ACPI: FADT (v001 DELLCPi R   0x27d4070e ASL  0x0061) @ 0x1fef0400
ACPI: DSDT (v001 INT430 SYSFexxx 0x1001 MSFT 0x010e) @ 0x
ACPI: PM-Timer IO Port: 0x808
Built 1 zonelists
Kernel command line: ro root=/dev/hda2 acpi=on apm=off rhgb quiet
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1294.881 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 513712k/522920k available (2428k kernel code, 8412k reserved, 804k data,
144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2564.09 BogoMIPS
Security Scaffold v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9f9bf   
CPU: After vendor identify, caps:  a7e9f9bf   
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps:a7e9f9bf   0040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Pentium(R) M processor 1300MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 130k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfc96e, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller :00:1f.1
PCI: Transparent bridge - :00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt :00:02.0[A] - GSI 11 (level, low) - IRQ 11
ACPI: PCI interrupt :00:1d.0[A] - GSI 11 (level, low) - IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI interrupt :00:1d.1[B] - GSI 11 (level, low) - IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI interrupt :00:1d.2[C] - GSI 11 (level, low) - IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI interrupt :00:1d.7[D] - GSI 11 (level, low) - IRQ 11
ACPI: PCI interrupt :00:1f.1[A] - GSI 11 (level, low) - IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 7
ACPI: PCI interrupt :00:1f.5[B] - GSI 7 (level, low) - IRQ 7
ACPI: PCI interrupt :00:1f.6[B] - GSI 7 (level, low) - IRQ 7
ACPI: PCI interrupt :01:01.0[A] - GSI 11 (level, low) - IRQ 11
ACPI: PCI interrupt :01:03.0[A] - GSI 7 (level, low) - IRQ 7
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI interrupt :01:08.0[A] - GSI 11 (level, low) - IRQ 11
vesafb: probe of vesafb0 failed with error -6
audit: initializing netlink socket (disabled)
audit(1093563399.4294966098:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1

[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 02:09 ---
O.k. I can see something unusual in your 2.6.8.1 kernel build that uses the 
old i830 kernel module. You should be using the i915 kernel module now.

Can you rebuild your kernel and try that ?
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


killing __NO_VESRION__

2004-08-27 Thread Dave Airlie

the __NO_VERSION_ hasn't been needed since 2.3 so I've killed it out of
every file in the drm...

make my kernel diffs a lot easier ...

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 02:29 ---
Actually 2.6.8.1 doesn't contain the i915 patch, you'll have to grab the DRM
from CVS for now and build it ...

I'm pushing against a brick wall trying to get stuff into 2.6.9 but I'll get the
i915 in at least...

Dave.
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 02:42 ---
and i already wondered why i'm missing that i915 stuff ;)

actually i'm not used with CVS :(
can anyone tell me how (and where and which files i'll need exactly) to get it?
or if it's quite small, attach it here?

then i'll make a new kernel...
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 03:31 ---
Lucky your timing is quite good... I've just done the basic i915 patch it should
apply to 2.6.8.1

It's at

http://www.skynet.ie/~airlied/patches/dri/i915_linux.diff

just patch -p1  i915_linux.diff in the toplevel linux-2.6.8.1 directory...

Alan I'll test the ARGB on Monday hopefully my i815 board is in the office (I'm
not :-)
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 03:37 ---
patching worked without any problems :) thank you.

another question: should i disable DRM_I830 when i'm now using DRM_I915?
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 04:01 ---
i just applied the i915 patch, enabled DRM_I915 (without disabling DRM_I830).
DRI is still not working.

dmesg looks now like this:
snip
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855 Chipset.
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xf000
[drm] Initialized i830 1.3.2 20021108 on minor 0: Intel Corp. 82852/855GM
Integrated Graphics Device
[drm] Initialized i830 1.3.2 20021108 on minor 1: Intel Corp. 82852/855GM
Integrated Graphics Device (#2)
[drm] Initialized i915 1.1.0 20040405 on minor 2: Intel Corp. 82852/855GM
Integrated Graphics Device
[drm] Initialized i915 1.1.0 20040405 on minor 3: Intel Corp. 82852/855GM
Integrated Graphics Device (#2)
/snip

and the Xorg.0.log looks still the same
snip
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created i915 driver at busid pci::00:02.0
(II) I810(0): [drm] drmAddMap failed
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
/snip
snap
(**) Option dpms
(**) I810(0): DPMS enabled
(II) I810(0): direct rendering: Failed
(==) RandR enabled
/snap
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 04:08 ---
You should disable the DRM_I830 - it's a conflicting driver.
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 04:11 ---
You probably want to make both as modules and not load the i830 one
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 982] Resolution switching broken on ATI IGP3xx

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=982
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 04:20 ---
I've done some more testing; mode switching works fine when connecting the LCD
via normal VGA cable, while connecting via DVI only the initial mode works
correctly. I'm going to take a closer look at the code, if someone thinks they
know the problem/solution - please speak up!
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1195] (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

2004-08-27 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to  
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1195
   




--- Additional Comments From [EMAIL PROTECTED]  2004-08-27 04:38 ---
yea, great! now (after disabling DRM_I830) DRI is working again! thank you all
very much!
however my quake 3 arena isn't working while it did with xorg 6.7 ;)
but foobillard and chromium are doing fine again :)
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: drm patch

2004-08-27 Thread Randy.Dunlap
On Fri, 27 Aug 2004 09:44:51 +0100 (IST) Dave Airlie wrote:

| 
|   DRM_INFO(Used old pci detect: framebuffer loaded\n);
| 
| we print that... it should be enough I think..
| 
| Dave.
| On Fri, 27 Aug 2004, Mike Mestnik wrote:
| 
|  Not to be a nit prick, but shoulden't there at least be a warning that
|  VesaFB and the DRM are using the same Hardware?  Thought this is
|  supported.
| 
|  Warning: VesaFB and the DRM are using the\n
|  same Hardware, Thought this is supported.


Are you saying that those messages mean the same thing??

--
~Randy


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


ProSavage DDR XvScaling

2004-08-27 Thread Robert S. Kerr
I've been looking into the scaling behavior on the ProsavageDDR
I'm using Alex's patch on the Xorg cvs tree.
Based on a recommendation from Alex, I've been looking in the 
savage_video.c file and I'm starting to make some progress.  Currently I 
think I have hardware downscaling almost working.  I can now hardware 
downscale to the point that the sources that I have are difficult to see 
(although I think that downscaling by 16, 32 and 64 might still be 
off).  Plus I'm still not sure I'm doing it quite right (because the 
register settings I'm using don't seem to make sense compared to any of 
the older versions of the driver I've seen.  But at least I'm getting 
somewhere.

What I haven't been successfull at accomplishing is any hardware 
upscaling.  If I upscale an image at all, then I get corrupted results.  
There is a comment in savage_video.c that offers me some clue:

/*
 * Process horizontal scaling
 *  upscaling and downscaling smaller than 2:1 controled by MM8198
 *  MM8190 controls downscaling mode larger than 2:1
 */
The MM8198 is (I think) the memory mapped register at offset 0x8198.  
The driver refers to this elsewhere as SSTREAM_STRETCH_REG.  The MM8190 
is (I think) the memory mapped register at offset 0x8198.  The driver 
refers to this elsewhere as SSTREAM_CONTROL_REG.

I haven't been able to figure out how to get the stretch register to do 
any stretching though.  I did find this:

#define S_Filter_Shift28
#define S_Filter_Mask(7L  S_Filter_Shift)
#define S_1x(0L  S_Filter_Shift)
#define S_Upto2x(1L  S_Filter_Shift)
#define S_2xTo4x(2L  S_Filter_Shift)
#define S_Beyond4x(3L  S_Filter_Shift)
in the sddata.h file in the XvMC section of the updated VIA/S3 driver.  
This appears to be what I need, but ORing that into the 
SSTREAM_STRETCH_REG doesn't seem to help.

Any ideas?
Rob
begin:vcard
fn:Robert S. Kerr
n:Kerr;Robert
org:Digital Sandbox, Inc.
adr;dom:Suite 501;;12355 Sunrise Valley Drive;Reston;VA;20191
email;internet:[EMAIL PROTECTED]
title:Chief Software Architect
tel;work:703-390-9770
tel;fax:703-390-9778
tel;cell:703-861-0510
url:http://www.dsbox.com
version:2.1
end:vcard



Re: Unichrome DRM ring buffer patch

2004-08-27 Thread Thomas Hellström
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as 
expected not the video engine nor the mpeg player.

I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the 3d lib need?
/Thomas

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.4.8.1+P6: radeon, dri xruns

2004-08-27 Thread Mike Mestnik
I guess I don't understand, the article said the sound(OSS) took the BKL? 
It didn't say that ALSA's OSS is effected, I'm assuming that it is not. 
In any case ALSA still uses ioctls.  So no mater what sound takes the BKL
and disables preemption?

I don't think that preemption could work at all, unless when the BKL is
[1]droped you preemptate.  I think you have something wrong, as DRI dose
these things alot so it might not block preemption.

1.  msleep, usercpy, ect.

--- Lee Revell [EMAIL PROTECTED] wrote:

 On Sun, 2004-08-22 at 22:09, Mike Mestnik wrote:
  --- Jon Smirl [EMAIL PROTECTED] wrote:
  
   Michel pointed out that all IOCTL calls hold the big kernel lock.
   Releasing this lock is sure to case problems since the DRM code is
 not
   designed to be reentrant. I don't know what it will take to fix
 locking
   to allow this, maybe one of the original DRM authors will pop in
 here
   with the answer. Until locking is adjusted we can't add the schedule
   call.
   
  From what I'v read, http://lwn.net/Articles/86859/, it's not a global
  kernel lock (I.E. it dosen't stop non-locked kernel code from
 running). 
  So the only reason it effects audio performace is that well, read the
  article :)
  
 
 The reason the BKL affects audio performance is that taking the BKL
 disables preemption.
 
 Lee
 
 
 
 ---
 SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
 Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
 http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
 --
 ___
 Dri-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dri-devel
 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: 2.4.8.1+P6: radeon, dri xruns

2004-08-27 Thread Lee Revell
On Fri, 2004-08-27 at 13:23, Mike Mestnik wrote:
 I guess I don't understand, the article said the sound(OSS) took the BKL? 
 It didn't say that ALSA's OSS is effected, I'm assuming that it is not. 
 In any case ALSA still uses ioctls.  So no mater what sound takes the BKL
 and disables preemption?
 
 I don't think that preemption could work at all, unless when the BKL is
 [1]droped you preemptate.  I think you have something wrong, as DRI dose
 these things alot so it might not block preemption.
 
 1.  msleep, usercpy, ect.
 

The article actually didn't say much about why the BKL affects audio
performance.  Sound (meaning ALSA) does not take the BKL.  When another
process takes the BKL, however, preemption is disabled until that
process either drops the BKL or goes to sleep.  So to minimize audio
latency (which is just the amount of time between when a SCHED_FIFO
process is made runnable and when it gets the processor), other parts of
the kernel need to minimize the amount of time they spend
non-preemptible (holding the BKL or a spinlock, or having explicityly
disabled preemption).  Therefore ioctl is bad and should be avoided
wherever possible.  It's not a big deal for ALSA, because the ioctls
complete very quickly, and they only happen when starting or stopping
the audio device anyway.  But if we are recording audio and the DRI
comes along and spends more than a few hundred usecs in an ioctl(), we
are screwed.

Like Ingo said, the real fix is to replace the DRM's use of the BKL with
fine grained locking.

Also please don't top post!

Lee




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Unichrome DRM ring buffer patch

2004-08-27 Thread Erdi Chen
Thomas Hellström wrote:
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as 
expected not the video engine nor the mpeg player.

I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the 3d lib need?
Currently the 3D driver has 2 2MB buffers. I think a single 2MB buffer 
should be big enough.


/Thomas

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47alloc_id808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


vertex programs for r200 patch

2004-08-27 Thread Philipp Klaus Krause
The same as the patches I sent earlier, but as a single unified file.
For those that didn't read the original posting: This patch enables
GL_ARB_vertex_program support for the r200 driver. The vertex programs
are executed in software, but since this only replaces tcl everything
from the perspective divide onward is still hardware accelerated, even
when a vertex program is active.
Philipp Klaus Krause
Gemeinsame Unterverzeichnisse: r200.bak/CVS und r200/CVS.
diff -u r200.bak/r200_context.c r200/r200_context.c
--- r200.bak/r200_context.c	2004-08-19 18:20:48 +0200
+++ r200/r200_context.c	2004-08-19 18:44:23 +0200
@@ -62,7 +62,7 @@
 #include r200_vtxfmt.h
 #include r200_maos.h
 
-#define DRIVER_DATE	20030328
+#define DRIVER_DATE	20040819
 
 #include vblank.h
 #include utils.h
@@ -129,6 +129,7 @@
 GL_ARB_texture_env_dot3,
 GL_ARB_texture_mirrored_repeat,
 GL_ARB_vertex_buffer_object,
+GL_ARB_vertex_program,
 GL_EXT_blend_minmax,
 GL_EXT_blend_subtract,
 GL_EXT_secondary_color,
@@ -166,6 +167,7 @@
_tnl_fog_coordinate_stage,
_tnl_texgen_stage,
_tnl_texture_transform_stage,
+   _tnl_vertex_program_stage,
 
/* Try again to go to tcl? 
 * - no good for asymmetric-twoside (do with multipass)
diff -u r200.bak/r200_state.c r200/r200_state.c
--- r200.bak/r200_state.c	2004-08-19 18:22:28 +0200
+++ r200/r200_state.c	2004-08-19 18:28:04 +0200
@@ -2043,6 +2043,10 @@
   r200UpdateSpecular ( ctx );
   break;
 
+   case GL_VERTEX_PROGRAM_ARB:
+  TCL_FALLBACK(rmesa-glCtx, R200_TCL_FALLBACK_TCL_DISABLE, state);
+  break;
+
default:
   return;
}
diff -u r200.bak/r200_tcl.h r200/r200_tcl.h
--- r200.bak/r200_tcl.h	2004-08-19 18:24:38 +0200
+++ r200/r200_tcl.h	2004-08-19 18:25:24 +0200
@@ -60,6 +60,7 @@
 #define R200_TCL_FALLBACK_TEXGEN_5  0x200 /* texgen, unit 5 */
 #define R200_TCL_FALLBACK_TCL_DISABLE   0x400 /* user disable */
 #define R200_TCL_FALLBACK_BITMAP0x800 /* draw bitmap with points */
+#define R200_TCL_FALLBACK_VERTEX_PROGRAM0x1000/* vertex program active */
 
 #define TCL_FALLBACK( ctx, bit, mode )	r200TclFallback( ctx, bit, mode )
 
Gemeinsame Unterverzeichnisse: r200.bak/server und r200/server.


Re: Unichrome DRM ring buffer patch

2004-08-27 Thread Thomas Hellström
Erdi Chen wrote:
Thomas Hellström wrote:
Hi!
Yes.. Works nice. :-).
I'm able to program the blitter from the user space XvMC lib, but as 
expected not the video engine nor the mpeg player.

I've requested info from VIA about this. Let's see what happens.
What approx size of the ringbuffer would the 3d lib need?

Currently the 3D driver has 2 2MB buffers. I think a single 2MB buffer 
should be big enough.
OK. I've put the buffer in the last 2 of the 32 MB AGP area the DDX 
allocates. I've also restricted the public AGP map and the AGP memory 
manager not to include this area, for security reasons. If I understand 
it correctly, only the kernel should have access to the buffer.

Also, The irq enable IOCTL returns an error with your patch applied. Not 
before. The via specific IRQ setup routines are never called. Could you 
have a look into this?

/Thomas



/Thomas

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47alloc_id808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-deve
l


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47alloc_id808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: drm patch

2004-08-27 Thread Michel Dänzer
On Fri, 2004-08-27 at 09:44 +0100, Dave Airlie wrote:
   DRM_INFO(Used old pci detect: framebuffer loaded\n);

Most cards have a framebuffer... this is about framebuffer _devices_. :)


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47alloc_id808op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel