[PATCH 0/3] Provide workarounds to use DRM/KMS with broken graphics hardware

2012-03-12 Thread Carsten Emde
In the good old days when graphics parameters were configured explicitly in a file called xorg.conf, even broken hardware could be managed. Today, with the advent of Kernel Mode Setting, a graphics board is either correctly working because all components follow the standards - or the computer is u

[PATCH 3/3] drivers-gpu-drm-i915-invert-backlight-brightness

2012-03-12 Thread Carsten Emde
Following the documentation of the Legacy Backlight Brightness (LBB) Register in the configuration space of some Intel PCI graphics adapters, setting the LBB register with the value 0x0 causes the backlight to be turned off, and 0xFF causes the backlight to be set to 100% intensity (http://download

[PATCH 2/2] module: avoid exporting module_mutex

2012-03-12 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4 ++--

[PATCH 2/3] drivers-gpu-drm-add-disable-enable-connector.patch

2012-03-12 Thread Carsten Emde
Some recent integrated graphics chipset, notably Intel's "Pineview", also provide on-chip LVDS support. As an extra service, the LVDS interface supplies EDID data - irrespective of whether an LVDS panel is connected or not. The drm_mode_getresources() function, therefore, causes Xorg to always incl

[PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread Carsten Emde
Broken monitors and/or broken graphic boards may send erroneous or no EDID data. This also applies to broken KVM devices that are unable to correctly forward the EDID data of the connected monitor but invent their own fantasy data. This patch allows to load an EDID data set via the firmware interf

[V2 PATCH 2/3] module: avoid exporting module_mutex

2012-03-12 Thread Cong Wang
Avoid exporting internal locks to modules, export two functions lock_modules()/unlock_modules() for them instead. Cc: Rusty Russell Signed-off-by: Cong Wang --- drivers/gpu/drm/drm_fb_helper.c |4 ++-- include/linux/module.h |3 ++- kernel/kprobes.c|4 ++--

Re: [PATCH 2/3] drivers-gpu-drm-add-disable-enable-connector.patch

2012-03-12 Thread Carsten Emde
On 03/11/2012 08:20 AM, Dave Airlie wrote: On Sat, Mar 10, 2012 at 8:20 PM, Carsten Emde wrote: Some recent integrated graphics chipset, notably Intel's "Pineview", also provide on-chip LVDS support. As an extra service, the LVDS interface supplies EDID data - irrespective of whether an LVDS pa

Re: [PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread Carsten Emde
On 03/11/2012 02:44 PM, Alan Cox wrote: This patch allows to load an EDID data set via the firmware interface. It contains data sets of frequently used screen resolutions (1024x768, 1280x1024, 1680x1050 and 1920x1080). The requested EDID data are specified as a module parameter of the drm_kms_hel

Re: [PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread Carsten Emde
Alan, This patch allows to load an EDID data set via the firmware interface. It contains data sets of frequently used screen resolutions (1024x768, 1280x1024, 1680x1050 and 1920x1080). The requested EDID data are specified as a module parameter of the drm_kms_helper module, e.g. options drm_kms_

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #7 from Tomi Pieviläinen 2012-03-12 03:15:07 PDT --- This has happened several times more to me. It happens very often when watching a HD video, and some times when viewing photos. Hasn't happened in normal desktop use. I've also no

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #8 from Tomi Pieviläinen 2012-03-12 03:17:18 PDT --- Seems like I can reproduce this every time I view a certain photo taken with my phone in feh... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #14 from Tvrtko Ursulin 2012-03-12 04:27:51 PDT --- Created attachment 58306 --> https://bugs.freedesktop.org/attachment.cgi?id=58306 avivotool register dump under fglrx I've managed to get fglrx running and initially playback spe

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #15 from Tvrtko Ursulin 2012-03-12 04:28:27 PDT --- Created attachment 58307 --> https://bugs.freedesktop.org/attachment.cgi?id=58307 avivotool register dump under fglrx with non-existant LVDS output turned off -- Configure bugma

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46796 Michel Dänzer changed: What|Removed |Added Attachment #58066|0 |1 is obsolete|

[Bug 47201] Absolute modifier does not work with 3-source TGSI instructions

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47201 --- Comment #4 from Vic Lee 2012-03-12 06:33:54 PDT --- Thanks for concerning this bug. It will be great if this can be fixed at driver level. I created a smallest possible test program which will be able to test the shader I am having problem wi

[Bug 47201] Absolute modifier does not work with 3-source TGSI instructions

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47201 --- Comment #5 from Vic Lee 2012-03-12 06:34:57 PDT --- Created attachment 58317 --> https://bugs.freedesktop.org/attachment.cgi?id=58317 test program to reproduce the bug -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 42490] NUTMEG DP to VGA bridge not working

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42490 Alex Deucher changed: What|Removed |Added CC||diego.abele...@gmail.com --- Comment #11

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 Tvrtko Ursulin changed: What|Removed |Added Attachment #58160|0 |1 is obsolete|

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #9 from Alex Deucher 2012-03-12 06:53:28 PDT --- Does booting with radeon.disp_priority=2 on the kernel command line in grub help? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #11 from Alex Deucher 2012-03-12 07:56:06 PDT --- The code is correct as is. I think what's happening is that your monitor is polling and causing hotplug unplug/plug events what cause the detect code to run. Can you try disabling th

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #12 from Simon Farnsworth 2012-03-12 08:13:05 PDT --- Alex, The monitor is not polling - the hotplug detect code is being called because the VGA is polled as DRM_CONNECTOR_POLL_CONNECT, and the output_poll_execute function in drm_cr

Re: [PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread Valdis . Kletnieks
On Sat, 10 Mar 2012 21:20:15 +0100, Carsten Emde said: > EDID data source files are provided for documentation purpose and as a > template to create EDID data sets for other screen resolutions. Note > that source compilation is not part of the build process, but needs to > be done manually, e.g. >

[Bug 47244] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47244 Bug #: 47244 Summary: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! Classification: Unclassified Product: Mesa Version: 7.11 Platform: x86 (IA32) OS/Version: All

[Bug 47244] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47244 --- Comment #1 from adr...@gmail.com 2012-03-12 11:12:22 PDT --- Created attachment 58336 --> https://bugs.freedesktop.org/attachment.cgi?id=58336 Log from wine -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 47244] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47244 --- Comment #2 from adr...@gmail.com 2012-03-12 11:13:12 PDT --- >From wine: radeon: The kernel rejected CS, see dmesg for more information. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving th

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #13 from Alex Deucher 2012-03-12 11:34:39 PDT --- Sorry for the confusion, I mixed up the patches. I was referring to the previous patch (attachment 58160). The patch in attachment 58318 looks good. The only thing I would add is a

[Bug 42887] Garbled display on external screen when using 1920x1080 instead of 1920x1200

2012-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42887 Florian Mickler changed: What|Removed |Added CC||flor...@mickler.org --- Comment #1

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #11 from jonathan 2012-03-12 16:41:14 PDT --- I think this patch works as intended. Well actually, it's hard for me to say it actually fixed the problem due to its random nature, but I haven't had the mouse corruption issue on this p

[Bug 39309] vdpau decodes noise on rv350

2012-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39309 --- Comment #9 from Andy Furniss 2012-03-12 17:29:18 PDT --- (In reply to comment #2) > Testing just -vo vdpau with sw decode it works but crashes if the window is > resized this happened before as well as today. After playing with gdb, valgri

[BUG] inconsistent DPMS settings

2012-03-12 Thread David Herrmann
Hi I was tracing down a bug that made drmModePageFlip() fail and I noticed that the DPMS settings are not correctly restored when switching between xorg-server and vtcon. In fact, when enabling a monitor with xrandr in X while DPMS=off for that monitor, then it will stay blank. Switching back to V

[Bug 47201] Absolute modifier does not work with 3-source TGSI instructions

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47201 Tom Stellard changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOTABUG

[PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread Carsten Emde
rnel. Hope you like it. Thanks, -Carsten. -- next part -- A non-text attachment was scrubbed... Name: drivers-gpu-drm-allow-to-load-edid-firmware.patch Type: text/x-patch Size: 15365 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120312/4d86c899/attachment-0001.bin>

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #7 from Tomi Pievil?inen 2012-03-12 03:15:07 PDT --- This has happened several times more to me. It happens very often when watching a HD video, and some times when viewing photos. Hasn't happened in normal desktop use. I've also no

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #8 from Tomi Pievil?inen 2012-03-12 03:17:18 PDT --- Seems like I can reproduce this every time I view a certain photo taken with my phone in feh... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #14 from Tvrtko Ursulin 2012-03-12 04:27:51 PDT --- Created attachment 58306 --> https://bugs.freedesktop.org/attachment.cgi?id=58306 avivotool register dump under fglrx I've managed to get fglrx running and initially playback spe

[Bug 46713] HDMI audio played back at a wrong rate

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46713 --- Comment #15 from Tvrtko Ursulin 2012-03-12 04:28:27 PDT --- Created attachment 58307 --> https://bugs.freedesktop.org/attachment.cgi?id=58307 avivotool register dump under fglrx with non-existant LVDS output turned off -- Configure bugma

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 Michel D?nzer changed: What|Removed |Added Attachment #58066|0 |1 is obsolete|

[Bug 47201] Absolute modifier does not work with 3-source TGSI instructions

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47201 --- Comment #4 from Vic Lee 2012-03-12 06:33:54 PDT --- Thanks for concerning this bug. It will be great if this can be fixed at driver level. I created a smallest possible test program which will be able to test the shader I am having problem wi

[Bug 47201] Absolute modifier does not work with 3-source TGSI instructions

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47201 --- Comment #5 from Vic Lee 2012-03-12 06:34:57 PDT --- Created attachment 58317 --> https://bugs.freedesktop.org/attachment.cgi?id=58317 test program to reproduce the bug -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 42490] NUTMEG DP to VGA bridge not working

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42490 Alex Deucher changed: What|Removed |Added CC||diego.abelenda at gmail.com --- Comment #

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 Tvrtko Ursulin changed: What|Removed |Added Attachment #58160|0 |1 is obsolete|

[Bug 46725] Monitor "disconnected" and refuses to work anymore

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46725 --- Comment #9 from Alex Deucher 2012-03-12 06:53:28 PDT --- Does booting with radeon.disp_priority=2 on the kernel command line in grub help? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #11 from Alex Deucher 2012-03-12 07:56:06 PDT --- The code is correct as is. I think what's happening is that your monitor is polling and causing hotplug unplug/plug events what cause the detect code to run. Can you try disabling t

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #12 from Simon Farnsworth 2012-03-12 08:13:05 PDT --- Alex, The monitor is not polling - the hotplug detect code is being called because the VGA is polled as DRM_CONNECTOR_POLL_CONNECT, and the output_poll_execute function in drm_cr

[PATCH 1/3] drivers-gpu-drm-allow-to-load-edid-firmware.patch

2012-03-12 Thread valdis.kletni...@vt.edu
Size: 865 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120312/eec33259/attachment.pgp>

[Bug 47244] New: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47244 Bug #: 47244 Summary: [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! Classification: Unclassified Product: Mesa Version: 7.11 Platform: x86 (IA32) OS/Version: All

[Bug 47244] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47244 --- Comment #1 from adres7 at gmail.com 2012-03-12 11:12:22 PDT --- Created attachment 58336 --> https://bugs.freedesktop.org/attachment.cgi?id=58336 Log from wine -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 47244] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47244 --- Comment #2 from adres7 at gmail.com 2012-03-12 11:13:12 PDT ---

No subject

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

[Bug 47007] HDMI monitor polling causing 100ms rendering stalls

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007 --- Comment #13 from Alex Deucher 2012-03-12 11:34:39 PDT --- Sorry for the confusion, I mixed up the patches. I was referring to the previous patch (attachment 58160). The patch in attachment 58318 looks good. The only thing I would add is a

[Bug 42887] Garbled display on external screen when using 1920x1080 instead of 1920x1200

2012-03-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42887 Florian Mickler changed: What|Removed |Added CC||florian at mickler.org --- Comment

[Bug 46796] [X800SE] Mouse cursor corruption when switching users

2012-03-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46796 --- Comment #11 from jonathan 2012-03-12 16:41:14 PDT --- I think this patch works as intended. Well actually, it's hard for me to say it actually fixed the problem due to its random nature, but I haven't had the mouse corruption issue on this p