[Bug 35312] r600g: Automatic mipmap generation doesn't work properly

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35312

Alex Deucher  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from Alex Deucher  2011-05-05 22:57:40 PDT 
---
This should be fixed by the following patches:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d116fe51c1aee3453290ac30ffe993bc131c53f7
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5066f7cd0e010db46b42f8f08a33c10cb34f8726
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf7a3ddca6fcc73eebdd9afdc45a485b38477bd9

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


i915/kms/backlight-combo mode problem (was: Re: Linux 2.6.39-rc5)

2011-05-05 Thread Melchior FRANZ
* Takashi Iwai -- Thursday 05 May 2011:
> Try the fixed patch below.

> ---
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index 456f404..4c6e187 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -332,6 +332,7 @@ typedef struct drm_i915_private {
>   struct intel_overlay *overlay;
>  
>   /* LVDS info */
> + int backlight_combination_mode; /* 0=unknown, -1=no, 1=yes */
>   int backlight_level;  /* restore backlight to this value */
>   bool backlight_enabled;
>   struct drm_display_mode *panel_fixed_mode;
> diff --git a/drivers/gpu/drm/i915/intel_panel.c 
> b/drivers/gpu/drm/i915/intel_panel.c
> index f8f86e5..5a6be04 100644
> --- a/drivers/gpu/drm/i915/intel_panel.c
> +++ b/drivers/gpu/drm/i915/intel_panel.c
> @@ -115,14 +115,24 @@ done:
>  static int is_backlight_combination_mode(struct drm_device *dev)
>  {
>   struct drm_i915_private *dev_priv = dev->dev_private;
> -
> - if (INTEL_INFO(dev)->gen >= 4)
> - return I915_READ(BLC_PWM_CTL2) & BLM_COMBINATION_MODE;
> -
> - if (IS_GEN2(dev))
> - return I915_READ(BLC_PWM_CTL) & BLM_LEGACY_MODE;
> -
> - return 0;
> + int combo_mode;
> + u8 lbpc;
> +
> + if (dev_priv->backlight_combination_mode)
> + return dev_priv->backlight_combination_mode > 0;
> +
> + pci_read_config_byte(dev->pdev, PCI_LBPC, );
> + if (!lbpc)
> + combo_mode = 0;
> + else if (INTEL_INFO(dev)->gen >= 4)
> + combo_mode = I915_READ(BLC_PWM_CTL2) & BLM_COMBINATION_MODE;
> + else if (IS_GEN2(dev))
> + combo_mode = I915_READ(BLC_PWM_CTL) & BLM_LEGACY_MODE;
> + else
> + combo_mode = 0;
> +
> + dev_priv->backlight_combination_mode = combo_mode ? 1 : -1;
> + return combo_mode;
>  }
>  
>  static u32 i915_read_blc_pwm_ctl(struct drm_i915_private *dev_priv)

The first patch had a problem. Without the lbpc check for zero the backlight
still stayed off and could only be activated with the brightness-down key.
This revised patch works correctly for me. Thanks!

m.


2.6.39-rc6, nouveau: unload trips on freed memory (SLUB poison)

2011-05-05 Thread Bruno Prémont
With 2.6.39-rc6 I'm hitting the following (relevant part from objdump of
drm_mm.o at bottom).
Some part of node passed to drm_mm_remove_node() is being use after free
and hits SLUB poison.

Bruno


[  328.447498] drm: unregistered panic notifier
[  328.447648] [drm] nouveau :02:00.0: 0xAFD8: Parsing digital output 
script table
[  328.448642] [drm] nouveau :02:00.0: Restoring VGA fonts
[  328.450949] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying 
takedown
[  328.451141] BUG: unable to handle kernel paging request at 6b6b6b6f
[  328.451275] IP: [] drm_mm_remove_node+0x5a/0xc0
[  328.451391] *pde =  
[  328.451479] Oops: 0002 [#1] 
   previous Oops was complaint about CAP_SYS_ADMIN versus CAP_SYSLOG

[  328.451566] last sysfs file: /sys/devices/platform/w83627hf.656/temp3_input
[  328.451625] Modules linked in: nouveau(-) ttm drm_kms_helper video nfs lockd 
nfs_acl sunrpc snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm pcspkr snd_timer 
snd snd_page_alloc
[  328.452361] 
[  328.452410] Pid: 1740, comm: rmmod Tainted: GW   
2.6.39-rc6-jupiter-1-g443badf-dirty #11 NVIDIA Corporation. 
nFORCE-MCP/MS-6373
[  328.452594] EIP: 0060:[] EFLAGS: 00010202 CPU: 0
[  328.452650] EIP is at drm_mm_remove_node+0x5a/0xc0
[  328.452703] EAX: da4dd240 EBX: dcf44be0 ECX: dcf44bd0 EDX: dcf44bd8
[  328.452759] ESI: 6b6b6b6b EDI: 6b6b6b6b EBP: dd64fdb8 ESP: dd64fdac
[  328.452815]  DS: 007b ES: 007b FS:  GS: 00e0 SS: 0068
[  328.452870] Process rmmod (pid: 1740, ti=dd64e000 task=dd7fe120 
task.ti=dd64e000)
[  328.452931] Stack:
[  328.452978]  da4dd240 dcf44bd0 da4dd150 dd64fdc8 c124d417 dbebfb04  
dd64fdd4
[  328.453360]  deb9f281 0090 dd64fde0 deb99853 dbebfad0 dd64fdf0 deb99b5e 
dbf00148
[  328.453717]  dbebfad0 dd64fe18 deb9beed   def5e632 4d98 

[  328.454099] Call Trace:
[  328.454153]  [] drm_mm_put_block+0x17/0x50
[  328.454223]  [] ttm_bo_man_put_node+0x11/0x20 [ttm]
[  328.454283]  [] ttm_bo_mem_put+0x23/0x30 [ttm]
[  328.454364]  [] ttm_bo_cleanup_memtype_use+0x2e/0x60 [ttm]
[  328.454425]  [] ttm_bo_release+0x17d/0x1b0 [ttm]
[  328.454516]  [] ? nouveau_gpuobj_takedown+0x92/0x100 [nouveau]
[  328.454578]  [] ? ttm_bo_create+0xf0/0xf0 [ttm]
[  328.454639]  [] kref_put+0x2c/0x60
[  328.454697]  [] ttm_bo_unref+0x18/0x20 [ttm]
[  328.454762]  [] nouveau_mem_vram_fini+0x37/0xa0 [nouveau]
[  328.454829]  [] nouveau_unload+0xd5/0x150 [nouveau]
[  328.454888]  [] drm_put_dev+0xb3/0x1c0
[  328.454953]  [] nouveau_pci_remove+0x10/0x20 [nouveau]
[  328.455010]  [] pci_device_remove+0x3f/0xf0
[  328.455070]  [] __device_release_driver+0x4b/0xa0
[  328.455126]  [] driver_detach+0x77/0x80
[  328.455181]  [] bus_remove_driver+0x5b/0xa0
[  328.455236]  [] driver_unregister+0x46/0x80
[  328.455314]  [] ? sysfs_remove_file+0xf/0x20
[  328.455369]  [] pci_unregister_driver+0x2a/0x70
[  328.455438]  [] drm_pci_exit+0x7f/0x90
[  328.455506]  [] nouveau_exit+0x1b/0x22 [nouveau]
[  328.455564]  [] sys_delete_module+0x19b/0x1f0
[  328.455622]  [] ? do_munmap+0x212/0x2f0
[  328.455678]  [] sysenter_do_call+0x12/0x26
[  328.455731] Code: 8b 70 08 8b 58 0c 89 5e 04 89 33 c7 40 08 00 01 10 00 c7 
40 0c 00 02 20 00 0f b6 5a 10 f6 c3 01 74 57 8b 7a 08 8b 72 0c 8d 5a 08 
[  328.457446]  77 04 89 3e 8b 31 89 5e 04 89 72 08 89 4a 0c 89 19 8b 08 8b 
[  328.458342] EIP: [] drm_mm_remove_node+0x5a/0xc0 SS:ESP 
0068:dd64fdac
[  328.458481] CR2: 6b6b6b6f
[  328.459085] ---[ end trace cb7019e5756bd7f0 ]---
[  502.313511] 
=
[  502.313597] BUG kmalloc-96: Poison overwritten
[  502.313650] 
-
[  502.313653] 
[  502.313774] INFO: 0xdcf44bd0-0xdcf44bd7. First byte 0xd0 instead of 0x6b
[  502.313832] INFO: Slab 0xddfce880 objects=36 used=26 fp=0xdcf44bd0 
flags=0x40c0
[  502.313895] INFO: Object 0xdcf44bd0 @offset=3024 fp=0xdcf44e00
[  502.313897] 
[  502.313995] Bytes b4 0xdcf44bc0:  cc cc cc cc d0 4b f4 dc 5a 5a 5a 5a 5a 5a 
5a 5a K
[  502.314708]   Object 0xdcf44bd0:  d0 4b f4 dc d0 4b f4 dc 6b 6b 6b 6b 6b 6b 
6b 6b KK
[  502.315417]   Object 0xdcf44be0:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 
6b 6b 
[  502.316134]   Object 0xdcf44bf0:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 
6b 6b 
[  502.316852]   Object 0xdcf44c00:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 
6b 6b 
[  502.317570]   Object 0xdcf44c10:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 
6b 6b 
[  502.318286]   Object 0xdcf44c20:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 
6b a5 kkk
[  502.319014]  Redzone 0xdcf44c30:  bb bb bb bb
 
[  502.319724]  Padding 0xdcf44c38:  5a 5a 5a 5a 5a 5a 5a 5a
 
[  502.320004] Pid: 1750, comm: agetty Tainted: G  D W   

[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=34102





--- Comment #8 from Martin Steigerwald   2011-05-05 
19:53:40 ---
Those 2 MB seem to do just fine with one KDE 4.6 session and lots of open
stuff. Next week I hold a Linux training where I have a private and a job KDE
session open and once. I will try whether the hibernation code takes that ;).
If it doesn't - this sometimes didn't work with TuxOnIce either - even before
Radeon KMS. Somewhere there might just be a limit?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


i915 Sensors

2011-05-05 Thread Jeremy Bush
Hello-

I'm trying to use lm-sensors with a core i3. I talked with a developer on IRC 
about sensors not working, and this is what he had to say:

13:39 khali: zombor: please put the full output of sensors-detect on pastebin
13:39 khali: I'll take a look
13:39 zombor: sure, hold on
13:42 zombor: khali: http://pastebin.com/KPLZbEkd
13:42 zombor: ive got an i3 machine with an asus H61 mobo
14:09 khali: zombor: oh well, it seems that one of the I2C buses on the i915 
(graphics) adapter is seriously misbehaving
14:10 zombor: :(
14:10 zombor: yeah, graphics didnt even work until 2.6.38
14:10 khali: basically it claims there's an I2C chip at every possible address
14:10 khali: I've never seen this before
14:11 khali: as a result, the 2 chips for which we have the worse detection are 
detected
14:11 khali: but I'm 100% certain these are false positives
14:11 khali: I dropped the sbs detection this morning, BTW
14:11 khali: I guess I should do the same now for max6650, for good measure
14:12 zombor: ok, any timeline on planned support for i915?
14:12 khali: zombor: don't ask me, it has nothing to do with lm-sensors
14:13 khali: sensors-detect is just a victim of the bug, it's not responsible 
for it
14:13 zombor: whats it have to with then?
14:13 khali: you should report to the i915 driver maintainer
14:13 khali: Chris Wilson 
14:13 khali: and dri-devel at lists.freedesktop.org

So, I'm here to report this bug! I'm using kernel 2.6.38.

Jeremy


[Bug 36753] Some textures now rendered as completely black after register allocator rewrite.

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36753

--- Comment #4 from Chris Rankin  2011-05-05 
13:14:55 PDT ---
(In reply to comment #3)
> In the mean time, running with RADEON_DEBUG=noopt should fix the problem.

Indeed it does, thanks.

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


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #11 from Igor Strelnikoff  2011-05-05 
12:42:54 PDT ---
<6>[3.130551] [drm] Initialized drm 1.1.0 20060810
<6>[3.177278] [drm] radeon defaulting to kernel modesetting.
<6>[3.177282] [drm] radeon kernel modesetting enabled.
<7>[3.177297] [drm:drm_init], 
<7>[3.178026] checking generic (e000 100) vs hw (e000 800)
<3>[3.178029] fb: conflicting fb hw usage radeondrmfb vs VESA VGA -
removing generic driver
<4>[3.178056] Console: switching to colour dummy device 80x25
<7>[3.178624] [drm:drm_get_pci_dev], 
<4>[3.178748] ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
<6>[3.178761] radeon :01:00.0: PCI INT A -> Link[APC5] -> GSI 16
(level, low) -> IRQ 16
<7>[3.180391] [drm:drm_get_minor], 
<7>[3.180620] [drm:drm_get_minor], new minor assigned 64
<7>[3.180623] [drm:drm_get_minor], 
<7>[3.180711] [drm:drm_get_minor], new minor assigned 0
<6>[3.180724] [drm] initializing kernel modesetting (R350 0x1002:0x4E48).
<6>[3.180800] [drm] register mmio base: 0xF300
<6>[3.180802] [drm] register mmio size: 65536
<7>[3.181323] [drm:radeon_get_bios], COMBIOS detected
<6>[3.181345] agpgart-amd64 :00:00.0: AGP 3.0 bridge
<6>[3.181361] agpgart-amd64 :00:00.0: putting AGP V3 device into 8x
mode
<6>[3.181387] radeon :01:00.0: putting AGP V3 device into 8x mode
<6>[3.181406] radeon :01:00.0: GTT: 32M 0xF000 - 0xF1FF
<6>[3.181411] [drm] Generation 1 PCI interface in multifunction mode
<6>[3.181413] [drm] Limiting VRAM to one aperture
<6>[3.181418] radeon :01:00.0: VRAM: 128M 0xE000 -
0xE7FF (128M used)
<7>[3.181427] [drm:drm_irq_install], irq=16
<6>[3.181449] [drm] radeon: irq initialized.
<6>[3.181559] [drm] Detected VRAM RAM=128M, BAR=128M
<6>[3.181564] [drm] RAM width 256bits DDR
<6>[3.181637] [TTM] Zone  kernel: Available graphics memory: 438570 kiB.
<6>[3.181640] [TTM] Zone highmem: Available graphics memory: 506126 kiB.
<6>[3.181642] [TTM] Initializing pool allocator.
<6>[3.181662] [drm] radeon: 128M of VRAM memory ready
<6>[3.181665] [drm] radeon: 32M of GTT memory ready.
<6>[3.181700] [drm] radeon: 2 quad pipes, 1 Z pipes initialized.
<6>[3.182643] radeon :01:00.0: WB disabled
<7>[3.182662] [drm:r100_cp_init_microcode], 
<6>[3.184504] [drm] Loading R300 Microcode
<6>[3.186440] [drm] radeon: ring at 0xF0001000
<6>[3.186463] [drm] ring test succeeded in 1 usecs
<6>[3.186680] [drm] radeon: ib pool ready.
<6>[3.186738] [drm] ib test succeeded in 0 usecs
<7>[3.186878] [drm:drm_sysfs_connector_add], adding "VGA-1" to sysfs
<7>[3.186907] [drm:drm_sysfs_hotplug_event], generating hotplug event
<7>[3.186922] [drm:radeon_combios_get_tv_info], Default TV standard: NTSC
<7>[3.186924] [drm:radeon_combios_get_tv_info], 27.0 MHz TV ref clk
<7>[3.186928] [drm:radeon_legacy_get_tmds_info_from_combios], DFP table
revision: 4
<7>[3.186931] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 15500 b01cb
<7>[3.186934] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 2 b01cb
<7>[3.186937] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 0 4e2c
<7>[3.186942] [drm:drm_sysfs_connector_add], adding "DVI-I-1" to sysfs
<7>[3.186969] [drm:drm_sysfs_hotplug_event], generating hotplug event
<7>[3.186980] [drm:radeon_combios_get_tv_info], Default TV standard: NTSC
<7>[3.186983] [drm:radeon_combios_get_tv_info], 27.0 MHz TV ref clk
<7>[3.186985] [drm:drm_sysfs_connector_add], adding "SVIDEO-1" to sysfs
<7>[3.187032] [drm:drm_sysfs_hotplug_event], generating hotplug event
<6>[3.187042] [drm] Radeon Display Connectors
<6>[3.187044] [drm] Connector 0:
<6>[3.187046] [drm]   VGA
<6>[3.187048] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
<6>[3.187050] [drm]   Encoders:
<6>[3.187052] [drm] CRT1: INTERNAL_DAC1
<6>[3.187053] [drm] Connector 1:
<6>[3.187055] [drm]   DVI-I
<6>[3.187056] [drm]   HPD1
<6>[3.187059] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
<6>[3.187060] [drm]   Encoders:
<6>[3.187062] [drm] CRT2: INTERNAL_DAC2
<6>[3.187064] [drm] DFP1: INTERNAL_TMDS1
<6>[3.187066] [drm] Connector 2:
<6>[3.187067] [drm]   S-video
<6>[3.187068] [drm]   Encoders:
<6>[3.187070] [drm] TV1: INTERNAL_DAC2
<7>[3.254137] [drm:radeon_pm_print_states], 1 Power State(s)
<7>[3.254143] [drm:radeon_pm_print_states], State 0: Default
<7>[3.254146] [drm:radeon_pm_print_states], Default
<7>[3.254148] [drm:radeon_pm_print_states], 1 Clock Mode(s)
<7>[3.254151] [drm:radeon_pm_print_states], 0 e: 378000m:
338000v: 0
<7>[3.254161] [drm:radeon_legacy_primary_dac_dpms], 
<7>[3.254164] 

[Bug 36745] wine 1.3.19 and 3Dmark2001SE Dragothic demo upset kernel 2.6.38.4

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36745

--- Comment #13 from Andrew Randrianasulu  2011-05-05 
12:05:16 PDT ---
(In reply to comment #12)
> (In reply to comment #11)
> > Hm, just tested 2.6.37 - it is free from this bug!
> 
> Can you bisect?

Incomplete log:

guest at slax:~/src/linux-bisect$ git bisect log
git bisect start
# good: [3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5] Linux 2.6.37
git bisect good 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
# bad: [521cb40b0c44418a4fd36dc633f575813d59a43d] Linux 2.6.38
git bisect bad 521cb40b0c44418a4fd36dc633f575813d59a43d
# good: [5943a268002fce97885f2ca08827ff1b0312068c] Merge branch
'timers-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good 5943a268002fce97885f2ca08827ff1b0312068c
# good: [7d209c8110ecd49db46da786437485e8ef67f414] alpha: kill off alpha_do_IRQ
git bisect good 7d209c8110ecd49db46da786437485e8ef67f414
# good: [78d2978874e4e10e97dfd4fd79db45bdc0748550] CRED: Fix kernel panic upon
security_file_alloc() failure.
git bisect good 78d2978874e4e10e97dfd4fd79db45bdc0748550
# bad: [c486da34390846b430896a407b47f0cea3a4189c] sysctl: ipv6: use correct net
in ipv6_sysctl_rtcache_flush
git bisect bad c486da34390846b430896a407b47f0cea3a4189c
# skip: [68c3d4b26623e92656588061405d9dbdf97c0706] Merge branch
'hwmon-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging
git bisect skip 68c3d4b26623e92656588061405d9dbdf97c0706

[skip because X was unstartable with this kernel - hang]

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


[Bug 33969] "unable to handle kernel paging request" crash after playing tuxracer for a few seconds

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33969

--- Comment #2 from Adam Rak  2011-05-05 
11:20:26 PDT ---
I compiled a new kernel snapshot which had the patch, and nexuiz works fine,
colors are good, brightness is good (even in ultra mode), and it didn't crash
(so far).

only problem is this in kernel logs:
[  154.143277] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  167.311647] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  238.150304] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  239.764641] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  265.227673] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  267.913187] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!

but it still works.

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


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #10 from Igor Strelnikoff  2011-05-05 
11:10:08 PDT ---
sorry kernel 2.6.37.6

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


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #9 from Igor Strelnikoff  2011-05-05 11:09:37 
PDT ---
openSUSE 11.4

kernel 2.6.27.6

Xorg 7.6

xorg-server 1.9.3

mesa 7.10

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


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #8 from Igor Strelnikoff  2011-05-05 11:06:29 
PDT ---
Apr 24 21:52:04 dhcppc0 kernel: [19860.012144] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 21:52:44 dhcppc0 kernel: [19900.424329] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 21:52:56 dhcppc0 dhclient: XMT: Solicit on eth0, interval 126640ms.
Apr 24 21:55:03 dhcppc0 dhclient: XMT: Solicit on eth0, interval 121140ms.
Apr 24 21:57:04 dhcppc0 dhclient: XMT: Solicit on eth0, interval 130010ms.
Apr 24 21:59:14 dhcppc0 dhclient: XMT: Solicit on eth0, interval 131890ms.
Apr 24 22:01:26 dhcppc0 dhclient: XMT: Solicit on eth0, interval 124220ms.
Apr 24 22:01:37 dhcppc0 kernel: [20433.199411] radeon :01:00.0: object_init
failed for (39944192, 0x0002)
Apr 24 22:01:37 dhcppc0 kernel: [20433.199416] [drm:radeon_gem_object_create]
*ERROR* Failed to allocate GEM object (39944192, 2, 4096, -12)
Apr 24 22:01:38 dhcppc0 kernel: [20434.033016] i2c i2c-0: readbytes: ack/nak
timeout
Apr 24 22:01:38 dhcppc0 kernel: [20434.033083] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 22:01:43 dhcppc0 kdm[1457]: X server for display :0 terminated
unexpectedly
Apr 24 22:01:43 dhcppc0 polkitd(authority=local): Unregistered Authentication
Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name
:1.2215, object path /org/kde/PolicyKit1/AuthenticationAgent, locale
ru_RU.UTF-8) (disconnected from bus)
Apr 24 22:01:44 dhcppc0 acpid: 1 client rule loaded
Apr 24 22:01:44 dhcppc0 kernel: [20440.078400] [drm:drm_mode_getfb] *ERROR*
invalid framebuffer id
Apr 24 22:01:52 dhcppc0 checkproc: checkproc: can not get session id for
process 10870!
Apr 24 22:02:02 dhcppc0 pulseaudio[12176]: pid.c: Stale PID file, overwriting.
Apr 24 22:02:03 dhcppc0 pulseaudio[12200]: pid.c: Daemon already running.
Apr 24 22:02:03 dhcppc0 pulseaudio[12205]: pid.c: Daemon already running.
Apr 24 22:02:27 dhcppc0 polkitd(authority=local): Registered Authentication
Agent for unix-session:/org/freedesktop/ConsoleKit/Session3 (system bus name
:1.2300 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path
/org/kde/PolicyKit1/AuthenticationAgent, locale ru_RU.UTF-8)
Apr 24 22:03:02 dhcppc0 su: (to root) Keeper on /dev/pts/4
Apr 24 22:03:02 dhcppc0 su: (to root) Keeper on /dev/pts/4
Apr 24 22:03:11 dhcppc0 kernel: [20526.726347] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 22:03:31 dhcppc0 dhclient: XMT: Solicit on eth0, interval 125220ms.
Apr 24 22:03:45 dhcppc0 kernel: [20560.802332] [TTM] Failed to find memory
space for buffer 0xd5ba562c eviction.
Apr 24 22:03:45 dhcppc0 kernel: [20560.802337] [TTM] No space for d5ba562c
(1772 pages, 7088K, 6M)
Apr 24 22:03:45 dhcppc0 kernel: [20560.802340] [TTM]   placement[0]=0x00070002
(1)
Apr 24 22:03:45 dhcppc0 kernel: [20560.802342] [TTM] has_type: 1
Apr 24 22:03:45 dhcppc0 kernel: [20560.802344] [TTM] use_type: 1
Apr 24 22:03:45 dhcppc0 kernel: [20560.802345] [TTM] flags: 0x0002
Apr 24 22:03:45 dhcppc0 kernel: [20560.802347] [TTM] gpu_offset: 0xF000
Apr 24 22:03:45 dhcppc0 kernel: [20560.802349] [TTM] size: 8192
Apr 24 22:03:45 dhcppc0 kernel: [20560.802350] [TTM] available_caching:
0x0006
Apr 24 22:03:45 dhcppc0 kernel: [20560.802352] [TTM] default_caching:
0x0004
Apr 24 22:03:45 dhcppc0 kernel: [20560.802356] [TTM]  0x-0x0001:   
1: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802358] [TTM]  0x0001-0x0101:   
  256: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802361] [TTM]  0x0101-0x0201:   
  256: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802363] [TTM]  0x0201-0x08bb:   
 1722: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802366] [TTM]  0x08bb-0x0dd3:   
 1304: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802368] [TTM]  0x0dd3-0x0dda:   
7: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802371] [TTM]  0x0dda-0x14af:   
 1749: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802373] [TTM]  0x14af-0x1b4f:   
 1696: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802376] [TTM]  0x1b4f-0x1b67:   
   24: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802378] [TTM]  0x1b67-0x1b8f:   
   40: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802381] [TTM]  0x1b8f-0x1b96:   
7: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802383] [TTM]  0x1b96-0x1db8:   
  546: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802386] [TTM]  0x1db8-0x1e06:   
   78: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802388] [TTM]  0x1e06-0x1e22:   
   28: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802390] [TTM]  0x1e22-0x1e62:   
   64: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802393] [TTM]  0x1e62-0x1ecb:   
  105: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802395] [TTM]  

[Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-05 Thread Dave Airlie
On Wed, 2011-05-04 at 16:16 -0700, Jesse Barnes wrote:
> On Wed, 04 May 2011 15:17:31 -0700
> Ian Romanick  wrote:
> 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > On 05/03/2011 12:21 PM, Jesse Barnes wrote:
> > > We only spec a 32 bit swap count, so drop the high sbc field.
> > > 
> > > Signed-off-by: Jesse Barnes 
> > 
> > Is there any way we could do this and NOT break building older versions
> > of Mesa?  I'd like to be able to build 7.9, 7.10, and master on my
> > system without having two different versions of glproto.
> > 
> 
> We did that the last time glproto bumped (kept the req at 1.4.10 and
> added ifdefs), but that added bugs that we didn't find for awhile, so I
> wanted to try to avoid it this time.  Another option for you would be
> to build 7.9, 7.10, and master against different install roots with
> PKG_CONFIG_PATH set appropriately...
> 

How about you try again, with an increased emphasis on not adding bugs,
now that you know what you did wrong the first time?

Dave.




[Bug 35254] Radeon TTM Crash With E-350 Fusion

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35254

--- Comment #6 from Alex Deucher  2011-05-05 09:27:23 PDT 
---
Can you try with this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8aeb96f80232e9a701b5c4715504f4c9173978bd

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


[Bug 33969] "unable to handle kernel paging request" crash after playing tuxracer for a few seconds

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33969

--- Comment #1 from Alex Deucher  2011-05-05 09:26:43 PDT 
---
Can you try with this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8aeb96f80232e9a701b5c4715504f4c9173978bd

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


[Bug 36873] [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36873

Alex Deucher  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #2 from Alex Deucher  2011-05-05 09:14:52 PDT 
---


*** This bug has been marked as a duplicate of bug 31943 ***

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


[Bug 31943] drm EDID checking is too strict

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31943

Alex Deucher  changed:

   What|Removed |Added

 CC||s.j.turner at uqconnect.net

--- Comment #13 from Alex Deucher  2011-05-05 09:14:52 PDT 
---
*** Bug 36873 has been marked as a duplicate of this bug. ***

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


[Bug 36873] [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36873

--- Comment #1 from madbiologist  2011-05-05 
09:07:48 PDT ---
Created an attachment (id=46365)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46365)
another dmesg

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


[Bug 36873] New: [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36873

   Summary: [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed
a monitor but no|invalid EDID
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: s.j.turner at uqconnect.net


Created an attachment (id=46364)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46364)
dmesg

Several users have reported this problem in the Launchpad bug at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539851

This has been occurring at least since Ubuntu 10.04's 2.6.32-14.20-generic
kernel, continued in Ubuntu 10.10 with various 2.6.35-based kernels, and is
still occurring in Ubuntu 11.04 with Ubuntu's 2.6.38-7-generic kernel.

I have attached the original reporter's dmesg from their 02:00.0 VGA compatible
controller [0300]: ATI Technologies Inc RV630 [Radeon HD 2600 Series]
[1002:9589] - Subsystem: Info-Tek Corp. Device [18bc:3692]

I will follow up with another dmesg snippet from another user's HD4350.

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


[Bug 35502] Regression: black screen with Radeon KMS in 2.6.38 (2.6.37.4 worked fine)

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35502

Fabio Pedretti  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #11 from Fabio Pedretti  2011-05-05 
00:50:01 PDT ---
Fixed in 2.6.38.3.

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


[Bug 34709] [bisected] with r300 (rv530) kms loaded cannot suspend kernel 2.6.37+ with uswsusp

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34709

Fabio Pedretti  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #21 from Fabio Pedretti  2011-05-05 
00:48:56 PDT ---
Fixed in 2.6.38.4.

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


[Bug 35969] with linux 2.6.38 and later resume from suspend (uswsusp) lockups on rv530 kms

2011-05-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35969

Bug 35969 depends on bug 34709, which changed state.

Bug 34709 Summary: [bisected] with r300 (rv530) kms loaded cannot suspend 
kernel 2.6.37+ with uswsusp
https://bugs.freedesktop.org/show_bug.cgi?id=34709

   What|Old Value   |New Value

 Resolution||FIXED
 Status|NEW |RESOLVED

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


[PATCH] drm/radeon: make crtc number check in radeon_get_vblank_timestamp_kmsconsistent with other functions

2011-05-05 Thread Ilija Hadzic
the crtc check in radeon_get_vblank_timestamp_kms should be against
the num_crtc field in radeon_device not against num_crtcs in drm_device
like it's done in all other functions that handle crtc

Signed-off-by: Ilija Hadzic 
---
 drivers/gpu/drm/radeon/radeon_kms.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_kms.c 
b/drivers/gpu/drm/radeon/radeon_kms.c
index 871df03..f9e968f 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -331,7 +331,7 @@ int radeon_get_vblank_timestamp_kms(struct drm_device *dev, 
int crtc,
struct drm_crtc *drmcrtc;
struct radeon_device *rdev = dev->dev_private;

-   if (crtc < 0 || crtc >= dev->num_crtcs) {
+   if (crtc < 0 || crtc >= rdev->num_crtc) {
DRM_ERROR("Invalid crtc %d\n", crtc);
return -EINVAL;
}
-- 
1.7.4.1



[Bug 34709] [bisected] with r300 (rv530) kms loaded cannot suspend kernel 2.6.37+ with uswsusp

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34709

Fabio Pedretti fabio@libero.it changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #21 from Fabio Pedretti fabio@libero.it 2011-05-05 00:48:56 
PDT ---
Fixed in 2.6.38.4.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Bug 35969] with linux 2.6.38 and later resume from suspend (uswsusp) lockups on rv530 kms

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35969

Bug 35969 depends on bug 34709, which changed state.

Bug 34709 Summary: [bisected] with r300 (rv530) kms loaded cannot suspend 
kernel 2.6.37+ with uswsusp
https://bugs.freedesktop.org/show_bug.cgi?id=34709

   What|Old Value   |New Value

 Resolution||FIXED
 Status|NEW |RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 35502] Regression: black screen with Radeon KMS in 2.6.38 (2.6.37.4 worked fine)

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35502

Fabio Pedretti fabio@libero.it changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #11 from Fabio Pedretti fabio@libero.it 2011-05-05 00:50:01 
PDT ---
Fixed in 2.6.38.3.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36873] New: [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36873

   Summary: [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed
a monitor but no|invalid EDID
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: s.j.tur...@uqconnect.net


Created an attachment (id=46364)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=46364)
dmesg

Several users have reported this problem in the Launchpad bug at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539851

This has been occurring at least since Ubuntu 10.04's 2.6.32-14.20-generic
kernel, continued in Ubuntu 10.10 with various 2.6.35-based kernels, and is
still occurring in Ubuntu 11.04 with Ubuntu's 2.6.38-7-generic kernel.

I have attached the original reporter's dmesg from their 02:00.0 VGA compatible
controller [0300]: ATI Technologies Inc RV630 [Radeon HD 2600 Series]
[1002:9589] - Subsystem: Info-Tek Corp. Device [18bc:3692]

I will follow up with another dmesg snippet from another user's HD4350.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36873] [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36873

--- Comment #1 from madbiologist s.j.tur...@uqconnect.net 2011-05-05 09:07:48 
PDT ---
Created an attachment (id=46365)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=46365)
another dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36873] [drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36873

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #2 from Alex Deucher ag...@yahoo.com 2011-05-05 09:14:52 PDT ---


*** This bug has been marked as a duplicate of bug 31943 ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 31943] drm EDID checking is too strict

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31943

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

 CC||s.j.tur...@uqconnect.net

--- Comment #13 from Alex Deucher ag...@yahoo.com 2011-05-05 09:14:52 PDT ---
*** Bug 36873 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 33969] unable to handle kernel paging request crash after playing tuxracer for a few seconds

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33969

--- Comment #1 from Alex Deucher ag...@yahoo.com 2011-05-05 09:26:43 PDT ---
Can you try with this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8aeb96f80232e9a701b5c4715504f4c9173978bd

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #8 from Igor Strelnikoff freihe...@mail.ru 2011-05-05 11:06:29 
PDT ---
Apr 24 21:52:04 dhcppc0 kernel: [19860.012144] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 21:52:44 dhcppc0 kernel: [19900.424329] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 21:52:56 dhcppc0 dhclient: XMT: Solicit on eth0, interval 126640ms.
Apr 24 21:55:03 dhcppc0 dhclient: XMT: Solicit on eth0, interval 121140ms.
Apr 24 21:57:04 dhcppc0 dhclient: XMT: Solicit on eth0, interval 130010ms.
Apr 24 21:59:14 dhcppc0 dhclient: XMT: Solicit on eth0, interval 131890ms.
Apr 24 22:01:26 dhcppc0 dhclient: XMT: Solicit on eth0, interval 124220ms.
Apr 24 22:01:37 dhcppc0 kernel: [20433.199411] radeon :01:00.0: object_init
failed for (39944192, 0x0002)
Apr 24 22:01:37 dhcppc0 kernel: [20433.199416] [drm:radeon_gem_object_create]
*ERROR* Failed to allocate GEM object (39944192, 2, 4096, -12)
Apr 24 22:01:38 dhcppc0 kernel: [20434.033016] i2c i2c-0: readbytes: ack/nak
timeout
Apr 24 22:01:38 dhcppc0 kernel: [20434.033083] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 22:01:43 dhcppc0 kdm[1457]: X server for display :0 terminated
unexpectedly
Apr 24 22:01:43 dhcppc0 polkitd(authority=local): Unregistered Authentication
Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name
:1.2215, object path /org/kde/PolicyKit1/AuthenticationAgent, locale
ru_RU.UTF-8) (disconnected from bus)
Apr 24 22:01:44 dhcppc0 acpid: 1 client rule loaded
Apr 24 22:01:44 dhcppc0 kernel: [20440.078400] [drm:drm_mode_getfb] *ERROR*
invalid framebuffer id
Apr 24 22:01:52 dhcppc0 checkproc: checkproc: can not get session id for
process 10870!
Apr 24 22:02:02 dhcppc0 pulseaudio[12176]: pid.c: Stale PID file, overwriting.
Apr 24 22:02:03 dhcppc0 pulseaudio[12200]: pid.c: Daemon already running.
Apr 24 22:02:03 dhcppc0 pulseaudio[12205]: pid.c: Daemon already running.
Apr 24 22:02:27 dhcppc0 polkitd(authority=local): Registered Authentication
Agent for unix-session:/org/freedesktop/ConsoleKit/Session3 (system bus name
:1.2300 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path
/org/kde/PolicyKit1/AuthenticationAgent, locale ru_RU.UTF-8)
Apr 24 22:03:02 dhcppc0 su: (to root) Keeper on /dev/pts/4
Apr 24 22:03:02 dhcppc0 su: (to root) Keeper on /dev/pts/4
Apr 24 22:03:11 dhcppc0 kernel: [20526.726347] [drm:radeon_dvi_detect] *ERROR*
DVI-I-1: probed a monitor but no|invalid EDID
Apr 24 22:03:31 dhcppc0 dhclient: XMT: Solicit on eth0, interval 125220ms.
Apr 24 22:03:45 dhcppc0 kernel: [20560.802332] [TTM] Failed to find memory
space for buffer 0xd5ba562c eviction.
Apr 24 22:03:45 dhcppc0 kernel: [20560.802337] [TTM] No space for d5ba562c
(1772 pages, 7088K, 6M)
Apr 24 22:03:45 dhcppc0 kernel: [20560.802340] [TTM]   placement[0]=0x00070002
(1)
Apr 24 22:03:45 dhcppc0 kernel: [20560.802342] [TTM] has_type: 1
Apr 24 22:03:45 dhcppc0 kernel: [20560.802344] [TTM] use_type: 1
Apr 24 22:03:45 dhcppc0 kernel: [20560.802345] [TTM] flags: 0x0002
Apr 24 22:03:45 dhcppc0 kernel: [20560.802347] [TTM] gpu_offset: 0xF000
Apr 24 22:03:45 dhcppc0 kernel: [20560.802349] [TTM] size: 8192
Apr 24 22:03:45 dhcppc0 kernel: [20560.802350] [TTM] available_caching:
0x0006
Apr 24 22:03:45 dhcppc0 kernel: [20560.802352] [TTM] default_caching:
0x0004
Apr 24 22:03:45 dhcppc0 kernel: [20560.802356] [TTM]  0x-0x0001:   
1: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802358] [TTM]  0x0001-0x0101:   
  256: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802361] [TTM]  0x0101-0x0201:   
  256: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802363] [TTM]  0x0201-0x08bb:   
 1722: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802366] [TTM]  0x08bb-0x0dd3:   
 1304: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802368] [TTM]  0x0dd3-0x0dda:   
7: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802371] [TTM]  0x0dda-0x14af:   
 1749: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802373] [TTM]  0x14af-0x1b4f:   
 1696: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802376] [TTM]  0x1b4f-0x1b67:   
   24: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802378] [TTM]  0x1b67-0x1b8f:   
   40: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802381] [TTM]  0x1b8f-0x1b96:   
7: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802383] [TTM]  0x1b96-0x1db8:   
  546: free
Apr 24 22:03:45 dhcppc0 kernel: [20560.802386] [TTM]  0x1db8-0x1e06:   
   78: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802388] [TTM]  0x1e06-0x1e22:   
   28: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802390] [TTM]  0x1e22-0x1e62:   
   64: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802393] [TTM]  0x1e62-0x1ecb:   
  105: used
Apr 24 22:03:45 dhcppc0 kernel: [20560.802395] 

[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #9 from Igor Strelnikoff freihe...@mail.ru 2011-05-05 11:09:37 
PDT ---
openSUSE 11.4

kernel 2.6.27.6

Xorg 7.6

xorg-server 1.9.3

mesa 7.10

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #10 from Igor Strelnikoff freihe...@mail.ru 2011-05-05 11:10:08 
PDT ---
sorry kernel 2.6.37.6

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 33969] unable to handle kernel paging request crash after playing tuxracer for a few seconds

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33969

--- Comment #2 from Adam Rak adam@streamnovation.com 2011-05-05 11:20:26 
PDT ---
I compiled a new kernel snapshot which had the patch, and nexuiz works fine,
colors are good, brightness is good (even in ultra mode), and it didn't crash
(so far).

only problem is this in kernel logs:
[  154.143277] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  167.311647] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  238.150304] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  239.764641] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  265.227673] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
[  267.913187] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!

but it still works.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36745] wine 1.3.19 and 3Dmark2001SE Dragothic demo upset kernel 2.6.38.4

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36745

--- Comment #13 from Andrew Randrianasulu rand...@mail.ru 2011-05-05 12:05:16 
PDT ---
(In reply to comment #12)
 (In reply to comment #11)
  Hm, just tested 2.6.37 - it is free from this bug!
 
 Can you bisect?

Incomplete log:

guest@slax:~/src/linux-bisect$ git bisect log
git bisect start
# good: [3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5] Linux 2.6.37
git bisect good 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
# bad: [521cb40b0c44418a4fd36dc633f575813d59a43d] Linux 2.6.38
git bisect bad 521cb40b0c44418a4fd36dc633f575813d59a43d
# good: [5943a268002fce97885f2ca08827ff1b0312068c] Merge branch
'timers-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good 5943a268002fce97885f2ca08827ff1b0312068c
# good: [7d209c8110ecd49db46da786437485e8ef67f414] alpha: kill off alpha_do_IRQ
git bisect good 7d209c8110ecd49db46da786437485e8ef67f414
# good: [78d2978874e4e10e97dfd4fd79db45bdc0748550] CRED: Fix kernel panic upon
security_file_alloc() failure.
git bisect good 78d2978874e4e10e97dfd4fd79db45bdc0748550
# bad: [c486da34390846b430896a407b47f0cea3a4189c] sysctl: ipv6: use correct net
in ipv6_sysctl_rtcache_flush
git bisect bad c486da34390846b430896a407b47f0cea3a4189c
# skip: [68c3d4b26623e92656588061405d9dbdf97c0706] Merge branch
'hwmon-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging
git bisect skip 68c3d4b26623e92656588061405d9dbdf97c0706

[skip because X was unstartable with this kernel - hang]

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 34740] Invalid EDID on NEC 225WNX

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34740

--- Comment #11 from Igor Strelnikoff freihe...@mail.ru 2011-05-05 12:42:54 
PDT ---
6[3.130551] [drm] Initialized drm 1.1.0 20060810
6[3.177278] [drm] radeon defaulting to kernel modesetting.
6[3.177282] [drm] radeon kernel modesetting enabled.
7[3.177297] [drm:drm_init], 
7[3.178026] checking generic (e000 100) vs hw (e000 800)
3[3.178029] fb: conflicting fb hw usage radeondrmfb vs VESA VGA -
removing generic driver
4[3.178056] Console: switching to colour dummy device 80x25
7[3.178624] [drm:drm_get_pci_dev], 
4[3.178748] ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
6[3.178761] radeon :01:00.0: PCI INT A - Link[APC5] - GSI 16
(level, low) - IRQ 16
7[3.180391] [drm:drm_get_minor], 
7[3.180620] [drm:drm_get_minor], new minor assigned 64
7[3.180623] [drm:drm_get_minor], 
7[3.180711] [drm:drm_get_minor], new minor assigned 0
6[3.180724] [drm] initializing kernel modesetting (R350 0x1002:0x4E48).
6[3.180800] [drm] register mmio base: 0xF300
6[3.180802] [drm] register mmio size: 65536
7[3.181323] [drm:radeon_get_bios], COMBIOS detected
6[3.181345] agpgart-amd64 :00:00.0: AGP 3.0 bridge
6[3.181361] agpgart-amd64 :00:00.0: putting AGP V3 device into 8x
mode
6[3.181387] radeon :01:00.0: putting AGP V3 device into 8x mode
6[3.181406] radeon :01:00.0: GTT: 32M 0xF000 - 0xF1FF
6[3.181411] [drm] Generation 1 PCI interface in multifunction mode
6[3.181413] [drm] Limiting VRAM to one aperture
6[3.181418] radeon :01:00.0: VRAM: 128M 0xE000 -
0xE7FF (128M used)
7[3.181427] [drm:drm_irq_install], irq=16
6[3.181449] [drm] radeon: irq initialized.
6[3.181559] [drm] Detected VRAM RAM=128M, BAR=128M
6[3.181564] [drm] RAM width 256bits DDR
6[3.181637] [TTM] Zone  kernel: Available graphics memory: 438570 kiB.
6[3.181640] [TTM] Zone highmem: Available graphics memory: 506126 kiB.
6[3.181642] [TTM] Initializing pool allocator.
6[3.181662] [drm] radeon: 128M of VRAM memory ready
6[3.181665] [drm] radeon: 32M of GTT memory ready.
6[3.181700] [drm] radeon: 2 quad pipes, 1 Z pipes initialized.
6[3.182643] radeon :01:00.0: WB disabled
7[3.182662] [drm:r100_cp_init_microcode], 
6[3.184504] [drm] Loading R300 Microcode
6[3.186440] [drm] radeon: ring at 0xF0001000
6[3.186463] [drm] ring test succeeded in 1 usecs
6[3.186680] [drm] radeon: ib pool ready.
6[3.186738] [drm] ib test succeeded in 0 usecs
7[3.186878] [drm:drm_sysfs_connector_add], adding VGA-1 to sysfs
7[3.186907] [drm:drm_sysfs_hotplug_event], generating hotplug event
7[3.186922] [drm:radeon_combios_get_tv_info], Default TV standard: NTSC
7[3.186924] [drm:radeon_combios_get_tv_info], 27.0 MHz TV ref clk
7[3.186928] [drm:radeon_legacy_get_tmds_info_from_combios], DFP table
revision: 4
7[3.186931] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 15500 b01cb
7[3.186934] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 2 b01cb
7[3.186937] [drm:radeon_legacy_get_tmds_info_from_combios], TMDS PLL From
COMBIOS 0 4e2c
7[3.186942] [drm:drm_sysfs_connector_add], adding DVI-I-1 to sysfs
7[3.186969] [drm:drm_sysfs_hotplug_event], generating hotplug event
7[3.186980] [drm:radeon_combios_get_tv_info], Default TV standard: NTSC
7[3.186983] [drm:radeon_combios_get_tv_info], 27.0 MHz TV ref clk
7[3.186985] [drm:drm_sysfs_connector_add], adding SVIDEO-1 to sysfs
7[3.187032] [drm:drm_sysfs_hotplug_event], generating hotplug event
6[3.187042] [drm] Radeon Display Connectors
6[3.187044] [drm] Connector 0:
6[3.187046] [drm]   VGA
6[3.187048] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
6[3.187050] [drm]   Encoders:
6[3.187052] [drm] CRT1: INTERNAL_DAC1
6[3.187053] [drm] Connector 1:
6[3.187055] [drm]   DVI-I
6[3.187056] [drm]   HPD1
6[3.187059] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
6[3.187060] [drm]   Encoders:
6[3.187062] [drm] CRT2: INTERNAL_DAC2
6[3.187064] [drm] DFP1: INTERNAL_TMDS1
6[3.187066] [drm] Connector 2:
6[3.187067] [drm]   S-video
6[3.187068] [drm]   Encoders:
6[3.187070] [drm] TV1: INTERNAL_DAC2
7[3.254137] [drm:radeon_pm_print_states], 1 Power State(s)
7[3.254143] [drm:radeon_pm_print_states], State 0: Default
7[3.254146] [drm:radeon_pm_print_states], Default
7[3.254148] [drm:radeon_pm_print_states], 1 Clock Mode(s)
7[3.254151] [drm:radeon_pm_print_states], 0 e: 378000m:
338000v: 0
7[3.254161] [drm:radeon_legacy_primary_dac_dpms], 
7[3.254164] [drm:radeon_legacy_tv_dac_dpms], 
7[3.254170] [drm:radeon_legacy_tmds_int_dpms], 
7[3.254174] [drm:drm_vblank_get], enabling vblank on crtc 0, ret: 0

[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34102





--- Comment #8 from Martin Steigerwald mar...@lichtvoll.de  2011-05-05 
19:53:40 ---
Those 2 MB seem to do just fine with one KDE 4.6 session and lots of open
stuff. Next week I hold a Linux training where I have a private and a job KDE
session open and once. I will try whether the hibernation code takes that ;).
If it doesn't - this sometimes didn't work with TuxOnIce either - even before
Radeon KMS. Somewhere there might just be a limit?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
dri-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


i915 Sensors

2011-05-05 Thread Jeremy Bush
Hello-

I'm trying to use lm-sensors with a core i3. I talked with a developer on IRC 
about sensors not working, and this is what he had to say:

13:39 khali: zombor: please put the full output of sensors-detect on pastebin
13:39 khali: I'll take a look
13:39 zombor: sure, hold on
13:42 zombor: khali: http://pastebin.com/KPLZbEkd
13:42 zombor: ive got an i3 machine with an asus H61 mobo
14:09 khali: zombor: oh well, it seems that one of the I2C buses on the i915 
(graphics) adapter is seriously misbehaving
14:10 zombor: :(
14:10 zombor: yeah, graphics didnt even work until 2.6.38
14:10 khali: basically it claims there's an I2C chip at every possible address
14:10 khali: I've never seen this before
14:11 khali: as a result, the 2 chips for which we have the worse detection are 
detected
14:11 khali: but I'm 100% certain these are false positives
14:11 khali: I dropped the sbs detection this morning, BTW
14:11 khali: I guess I should do the same now for max6650, for good measure
14:12 zombor: ok, any timeline on planned support for i915?
14:12 khali: zombor: don't ask me, it has nothing to do with lm-sensors
14:13 khali: sensors-detect is just a victim of the bug, it's not responsible 
for it
14:13 zombor: whats it have to with then?
14:13 khali: you should report to the i915 driver maintainer
14:13 khali: Chris Wilson ch...@chris-wilson.co.uk
14:13 khali: and dri-devel@lists.freedesktop.org

So, I'm here to report this bug! I'm using kernel 2.6.38.

Jeremy
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36753] Some textures now rendered as completely black after register allocator rewrite.

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36753

--- Comment #4 from Chris Rankin ranki...@googlemail.com 2011-05-05 13:14:55 
PDT ---
(In reply to comment #3)
 In the mean time, running with RADEON_DEBUG=noopt should fix the problem.

Indeed it does, thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: i915/kms/backlight-combo mode problem (was: Re: Linux 2.6.39-rc5)

2011-05-05 Thread Melchior FRANZ
* Takashi Iwai -- Thursday 05 May 2011:
 Try the fixed patch below.

 ---
 diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
 index 456f404..4c6e187 100644
 --- a/drivers/gpu/drm/i915/i915_drv.h
 +++ b/drivers/gpu/drm/i915/i915_drv.h
 @@ -332,6 +332,7 @@ typedef struct drm_i915_private {
   struct intel_overlay *overlay;
  
   /* LVDS info */
 + int backlight_combination_mode; /* 0=unknown, -1=no, 1=yes */
   int backlight_level;  /* restore backlight to this value */
   bool backlight_enabled;
   struct drm_display_mode *panel_fixed_mode;
 diff --git a/drivers/gpu/drm/i915/intel_panel.c 
 b/drivers/gpu/drm/i915/intel_panel.c
 index f8f86e5..5a6be04 100644
 --- a/drivers/gpu/drm/i915/intel_panel.c
 +++ b/drivers/gpu/drm/i915/intel_panel.c
 @@ -115,14 +115,24 @@ done:
  static int is_backlight_combination_mode(struct drm_device *dev)
  {
   struct drm_i915_private *dev_priv = dev-dev_private;
 -
 - if (INTEL_INFO(dev)-gen = 4)
 - return I915_READ(BLC_PWM_CTL2)  BLM_COMBINATION_MODE;
 -
 - if (IS_GEN2(dev))
 - return I915_READ(BLC_PWM_CTL)  BLM_LEGACY_MODE;
 -
 - return 0;
 + int combo_mode;
 + u8 lbpc;
 +
 + if (dev_priv-backlight_combination_mode)
 + return dev_priv-backlight_combination_mode  0;
 +
 + pci_read_config_byte(dev-pdev, PCI_LBPC, lbpc);
 + if (!lbpc)
 + combo_mode = 0;
 + else if (INTEL_INFO(dev)-gen = 4)
 + combo_mode = I915_READ(BLC_PWM_CTL2)  BLM_COMBINATION_MODE;
 + else if (IS_GEN2(dev))
 + combo_mode = I915_READ(BLC_PWM_CTL)  BLM_LEGACY_MODE;
 + else
 + combo_mode = 0;
 +
 + dev_priv-backlight_combination_mode = combo_mode ? 1 : -1;
 + return combo_mode;
  }
  
  static u32 i915_read_blc_pwm_ctl(struct drm_i915_private *dev_priv)

The first patch had a problem. Without the lbpc check for zero the backlight
still stayed off and could only be activated with the brightness-down key.
This revised patch works correctly for me. Thanks!

m.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] drm/radeon/kms: ATPX switcheroo fixes

2011-05-05 Thread Alex Deucher
When we switch the display mux, also switch
the i2c mux.  Also use the start and finish
methods to let the sbios know that the switch
is happening.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=35398

Signed-off-by: Alex Deucher alexdeuc...@gmail.com
---
 drivers/gpu/drm/radeon/radeon_atpx_handler.c |   29 -
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c 
b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index ed5dfe5..9d95792 100644
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@ -15,6 +15,9 @@
 #define ATPX_VERSION 0
 #define ATPX_GPU_PWR 2
 #define ATPX_MUX_SELECT 3
+#define ATPX_I2C_MUX_SELECT 4
+#define ATPX_SWITCH_START 5
+#define ATPX_SWITCH_END 6
 
 #define ATPX_INTEGRATED 0
 #define ATPX_DISCRETE 1
@@ -149,13 +152,35 @@ static int radeon_atpx_switch_mux(acpi_handle handle, int 
mux_id)
return radeon_atpx_execute(handle, ATPX_MUX_SELECT, mux_id);
 }
 
+static int radeon_atpx_switch_i2c_mux(acpi_handle handle, int mux_id)
+{
+   return radeon_atpx_execute(handle, ATPX_I2C_MUX_SELECT, mux_id);
+}
+
+static int radeon_atpx_switch_start(acpi_handle handle, int gpu_id)
+{
+   return radeon_atpx_execute(handle, ATPX_SWITCH_START, gpu_id);
+}
+
+static int radeon_atpx_switch_end(acpi_handle handle, int gpu_id)
+{
+   return radeon_atpx_execute(handle, ATPX_SWITCH_END, gpu_id);
+}
 
 static int radeon_atpx_switchto(enum vga_switcheroo_client_id id)
 {
+   int gpu_id;
+
if (id == VGA_SWITCHEROO_IGD)
-   radeon_atpx_switch_mux(radeon_atpx_priv.atpx_handle, 0);
+   gpu_id = ATPX_INTEGRATED;
else
-   radeon_atpx_switch_mux(radeon_atpx_priv.atpx_handle, 1);
+   gpu_id = ATPX_DISCRETE;
+
+   radeon_atpx_switch_start(radeon_atpx_priv.atpx_handle, gpu_id);
+   radeon_atpx_switch_mux(radeon_atpx_priv.atpx_handle, gpu_id);
+   radeon_atpx_switch_i2c_mux(radeon_atpx_priv.atpx_handle, gpu_id);
+   radeon_atpx_switch_end(radeon_atpx_priv.atpx_handle, gpu_id);
+
return 0;
 }
 
-- 
1.7.1.1

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 35312] r600g: Automatic mipmap generation doesn't work properly

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35312

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from Alex Deucher ag...@yahoo.com 2011-05-05 22:57:40 PDT ---
This should be fixed by the following patches:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d116fe51c1aee3453290ac30ffe993bc131c53f7
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5066f7cd0e010db46b42f8f08a33c10cb34f8726
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf7a3ddca6fcc73eebdd9afdc45a485b38477bd9

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36525] Enemy territory freezes system with r600g.

2011-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36525

--- Comment #3 from Alex Deucher ag...@yahoo.com 2011-05-05 22:59:18 PDT ---
Does mesa git master work any better?  Specifically with these patches:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d116fe51c1aee3453290ac30ffe993bc131c53f7
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf7a3ddca6fcc73eebdd9afdc45a485b38477bd9

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel