Radeon drm: dpms backlight problem / question / bug?

2010-11-02 Thread Prof. Dr. Klaus Kusche
On my Dell Precision M6500, backlight power switching does not work, neither by using bl_power in /sys/backlight/... nor by using DPMS: * Any changes of bl_power are simply and silently ignored (no effect, except that brightness is set to minimum), although brightness tuning works fine (in o

Re: Radeon drm: dpms backlight problem / question / bug?

2010-11-02 Thread Michel Dänzer
On Mon, 2010-11-01 at 16:09 +0100, Prof. Dr. Klaus Kusche wrote: > On my Dell Precision M6500, backlight power switching does not work, > neither by using bl_power in /sys/backlight/... Please provide the full path of the file you're using. > nor by using DPMS: > * Any changes of bl_power are si

[Bug 28375] [KMS][RV620] Lockup on PM reclock

2010-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28375 Rafał Miłecki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 26949] kms : radeon rv620 : crash with dynpm=1

2010-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26949 --- Comment #1 from Rafał Miłecki 2010-11-02 02:38:46 PDT --- Please try newer kernel and /sys/class/drm/card0/device/power_method -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail be

[PATCH 0/3] ttm / vmwgfx fixes

2010-11-02 Thread Thomas Hellstrom
Patch 1 fixes a case where a sync object may already have been destroyed when the sync_obj_flush function is called. Patch 2 and 3 deal with non-root EGL masters. On current vmwgfx, trying to run EGL as a non-root user results in a kernel oops. ___ dri-d

[PATCH 1/3] drm/ttm: Make sure a sync object doesn't disappear while we use it

2010-11-02 Thread Thomas Hellstrom
The sync object may disappear as soon as we release the bo::lock, so take a reference on it while we use it. One option would be to call sync_object_flush() before releasing the bo::lock, but that would put an atomic requirement on that function. Signed-off-by: Thomas Hellstrom --- drivers/gpu/d

[PATCH 2/3] drm/ttm: Remove the CAP_SYS_ADMIN requirement for bo pinning

2010-11-02 Thread Thomas Hellstrom
This breaks vmwgfx non-root EGL clients and is a remnant from the TTM user-space interface. This test should be done in the driver. Replace the remaining placement test with a BUG_ON, since triggering it is a driver bug. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 30 ++-

[PATCH 3/3] drm/vmwgfx: Fix oops on failing bo pin

2010-11-02 Thread Thomas Hellstrom
When bo pin failed during modesetting, vmwgfx would try to unref a non-existing buffer object. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/d

[Bug 25544] KMS/R200: No texture bound to unit 1

2010-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25544 --- Comment #15 from madbiologist 2010-11-02 06:31:49 PDT --- This fix has been released in kernel 2.6.37-rc1, and queued for stable. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mai

[Bug 28402] random radeon/kms/drm related freezes with kernel 2.6.34

2010-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28402 --- Comment #96 from madbiologist 2010-11-02 06:53:28 PDT --- This fix has been released in kernel 2.6.37-rc1, and queued for stable. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mai

[Bug 31246] Reproducible hangs on piglit tests with 5850

2010-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31246 --- Comment #1 from Ian Romanick 2010-11-02 10:28:39 PDT --- There was a time when the i965 driver would also hang in at least some of these tests. You might look at how Eric solved it there. Search the GIT log for those test names. In all of

[PATCH] drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks

2010-11-02 Thread Alex Deucher
The A/B links aren't independantly useable on these blocks so when we disable the encoders, make sure to only disable the encoder when there is no connector using it. Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=18564 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/

Radeon drm: dpms backlight problem / question / bug?

2010-11-02 Thread Michel Dänzer
On Mon, 2010-11-01 at 16:09 +0100, Prof. Dr. Klaus Kusche wrote: > On my Dell Precision M6500, backlight power switching does not work, > neither by using bl_power in /sys/backlight/... Please provide the full path of the file you're using. > nor by using DPMS: > * Any changes of bl_power are si

[Bug 28375] [KMS][RV620] Lockup on PM reclock

2010-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28375 Rafa? Mi?ecki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 26949] kms : radeon rv620 : crash with dynpm=1

2010-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26949 --- Comment #1 from Rafa? Mi?ecki 2010-11-02 02:38:46 PDT --- Please try newer kernel and /sys/class/drm/card0/device/power_method -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail b

[PATCH 0/3] ttm / vmwgfx fixes

2010-11-02 Thread Thomas Hellstrom
Patch 1 fixes a case where a sync object may already have been destroyed when the sync_obj_flush function is called. Patch 2 and 3 deal with non-root EGL masters. On current vmwgfx, trying to run EGL as a non-root user results in a kernel oops.

[PATCH 1/3] drm/ttm: Make sure a sync object doesn't disappear while we use it

2010-11-02 Thread Thomas Hellstrom
The sync object may disappear as soon as we release the bo::lock, so take a reference on it while we use it. One option would be to call sync_object_flush() before releasing the bo::lock, but that would put an atomic requirement on that function. Signed-off-by: Thomas Hellstrom --- drivers/gpu/d

[PATCH 2/3] drm/ttm: Remove the CAP_SYS_ADMIN requirement for bo pinning

2010-11-02 Thread Thomas Hellstrom
This breaks vmwgfx non-root EGL clients and is a remnant from the TTM user-space interface. This test should be done in the driver. Replace the remaining placement test with a BUG_ON, since triggering it is a driver bug. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 30 ++-

[PATCH 3/3] drm/vmwgfx: Fix oops on failing bo pin

2010-11-02 Thread Thomas Hellstrom
When bo pin failed during modesetting, vmwgfx would try to unref a non-existing buffer object. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/d

[Bug 25544] KMS/R200: No texture bound to unit 1

2010-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25544 --- Comment #15 from madbiologist 2010-11-02 06:31:49 PDT --- This fix has been released in kernel 2.6.37-rc1, and queued for stable. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mai

[Bug 28402] random radeon/kms/drm related freezes with kernel 2.6.34

2010-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28402 --- Comment #96 from madbiologist 2010-11-02 06:53:28 PDT --- This fix has been released in kernel 2.6.37-rc1, and queued for stable. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mai

[Bug 31246] Reproducible hangs on piglit tests with 5850

2010-11-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31246 --- Comment #1 from Ian Romanick 2010-11-02 10:28:39 PDT --- There was a time when the i965 driver would also hang in at least some of these tests. You might look at how Eric solved it there. Search the GIT log for those test names. In all of

Radeon drm: dpms backlight problem / question / bug?

2010-11-02 Thread Prof. Dr. Klaus Kusche
On 2010-11-02 08:20, Michel D?nzer wrote: > On Mon, 2010-11-01 at 16:09 +0100, Prof. Dr. Klaus Kusche wrote: >> On my Dell Precision M6500, backlight power switching does not work, >> neither by using bl_power in /sys/backlight/... > > Please provide the full path of the file you're using. /sys/de

[Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-11-02 Thread Pavel Machek
Hi! > @@ -79,6 +79,10 @@ static struct drm_driver driver = { > > static int __init i810_init(void) > { > + if (num_present_cpus() > 1) { > + pr_err("drm/i810 does not support SMP\n"); > + return -EINVAL; > + } > driver.num_ioctls = i810_max_ioctl; >