[Bug 66767] atombios stuck in loop for more than 5secs aborting after suspend to ram

2013-07-10 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/3bb9e4fb/attachment.html>

[Bug 66768] UVD decoding of MPEG2 streams doesn't work on CEDAR

2013-07-10 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20130710/31a9c885/attachment-0001.html>

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/5ee61832/attachment.html>

[PATCH 1/3] drm/edid: Fix constness warning in drm_load_edid_firmware()

2013-07-10 Thread Alex Deucher
On Wed, Jul 10, 2013 at 7:16 AM, Geert Uytterhoeven wrote: > drivers/gpu/drm/drm_edid_load.c: In function ?drm_load_edid_firmware?: > drivers/gpu/drm/drm_edid_load.c:245: warning: initialization discards > qualifiers from pointer target type > > drm_get_connector_name() returns a "const char *",

[PATCH 08/39] drm: remove redundant clears from drm_setup

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 2:11 PM, Daniel Vetter wrote: > We kzalloc the driver node at init time, so no need to do this again. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_fops.c | 9 - > 1 file changed, 9 deletions(-) > > diff --git a/drivers/gpu/drm/drm_fops.c b/dri

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
. URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/5ce610db/attachment.html>

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Laurent Pinchart
Hi Daniel, On Wednesday 10 July 2013 13:54:33 Daniel Vetter wrote: > I've checked both implementations (radeon/nouveau) and they both grab > the page array from ttm simply by dereferencing it and then wrapping > it up with drm_prime_pages_to_sg in the callback and map it with > dma_map_sg (in the

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/26693b43/attachment.html>

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 2:12 PM, Daniel Vetter wrote: > The new arch_phys_wc_add/del functions do the right thing both with > and without MTRR support in the kernel. So we can drop these > additional checks. > > Cc: Andy Lutomirski > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm

[PATCH 0/2] GEM CMA PRIME fixes for v3.11

2013-07-10 Thread Laurent Pinchart
Hi Dave, These two patches fix compilation breakages in drm-next due to the removal of drm_gem_cma_dmabuf_import() and drm_gem_cma_dmabuf_export() without updating the existing users (I don't blame anyone here, the patch that removed those functions and the patches that made use of them were merge

[PATCH 1/2] drm/rcar-du: Use the GEM PRIME helpers

2013-07-10 Thread Laurent Pinchart
The GEM CMA PRIME import/export helpers have been removed in favor of generic GEM PRIME helpers with GEM CMA low-level operations. Fix the driver accordingly. Reported-by: Mark Brown Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 9 +++-- 1 file changed, 7 inser

[PATCH 2/2] drm/shmobile: Use the GEM PRIME helpers

2013-07-10 Thread Laurent Pinchart
The GEM CMA PRIME import/export helpers have been removed in favor of generic GEM PRIME helpers with GEM CMA low-level operations. Fix the driver accordingly. Reported-by: Mark Brown Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 9 +++-- 1 file changed, 7 in

[Bug 66767] atombios stuck in loop for more than 5secs aborting after suspend to ram

2013-07-10 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=66767 --- Comment #2 from Johannes Hirte --- It's a discrete only gpu, no hybrid. full dmesg output: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Initializing cgroup subsys cpuacct [

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
curate. MPlayer interrupted by signal 11 in module: check_framedrop -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
his mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/1868b6e0/attachment.html>

[PATCH 34/39] drm: remove the dma_ioctl special-case

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 2:12 PM, Daniel Vetter wrote: > We might as well have a real ioctl function which checks for the > callbacks. This seems to be a remnant from back in the days when each > drm driver had their own complete ioctl table, with no shared core > drm table at all. > > To make

[Bug 66450] JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work

2013-07-10 Thread bugzilla-dae...@freedesktop.org
;http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/2e000176/attachment.html>

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 3:46 PM, Laurent Pinchart wrote: > On Wednesday 10 July 2013 13:54:33 Daniel Vetter wrote: >> I've checked both implementations (radeon/nouveau) and they both grab >> the page array from ttm simply by dereferencing it and then wrapping >> it up with drm_prime_pages_to_sg in

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Daniel Vetter
I've checked both implementations (radeon/nouveau) and they both grab the page array from ttm simply by dereferencing it and then wrapping it up with drm_prime_pages_to_sg in the callback and map it with dma_map_sg (in the helper). Only the grabbing of the underlying page array is anything we need

[PATCH] drm: remove FASYNC support

2013-07-10 Thread Daniel Vetter
So I've stumbled over drm_fasync and wondered what it does. Digging that up is quite a story. First I've had to read up on what this does and ended up being rather bewildered why peopled loved signals so much back in the days that they've created SIGIO just for that ... Then I wondered how this e

[PATCH] drm: remove the dma_ioctl special-case

2013-07-10 Thread Daniel Vetter
We might as well have a real ioctl function which checks for the callbacks. This seems to be a remnant from back in the days when each drm driver had their own complete ioctl table, with no shared core drm table at all. To make really sure no mis-guided user in a kms driver pops up again explicitl

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Konrad Rzeszutek Wilk
> So after a bit of irc chatting with Maarten this seems to be more > involved. The above check is to cache the dma mapping, but the > implementation is bogus in tons of ways: > - If direction changes we don't bother with unmaping and freeing the > mapping, but simply leak it. > - This will break i

[PATCH 08/39] drm: remove redundant clears from drm_setup

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 3:28 PM, David Herrmann wrote: > drm_setup() is called on every first open. I digged through core DRM > and noticed that we have a lot of code that cleans up on lastclose and > reinitializes on firstopen which is skipped for non-UMS drivers to > preserve KMS state if no us

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 5:18 PM, Konrad Rzeszutek Wilk wrote: >> So after a bit of irc chatting with Maarten this seems to be more >> involved. The above check is to cache the dma mapping, but the >> implementation is bogus in tons of ways: >> - If direction changes we don't bother with unmaping a

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 3:51 PM, David Herrmann wrote: >> -#if __OS_HAS_MTRR >> -static inline int drm_core_has_MTRR(struct drm_device *dev) >> -{ >> - return drm_core_check_feature(dev, DRIVER_USE_MTRR); >> -} >> -#else >> -#define drm_core_has_MTRR(dev) (0) >> -#endif >> - > > That was th

[PATCH] drm: remove FASYNC support

2013-07-10 Thread Daniel Vetter
So I've stumbled over drm_fasync and wondered what it does. Digging that up is quite a story. First I've had to read up on what this does and ended up being rather bewildered why peopled loved signals so much back in the days that they've created SIGIO just for that ... Then I wondered how this e

[PATCH] drm: remove FASYNC support

2013-07-10 Thread Daniel Vetter
So I've stumbled over drm_fasync and wondered what it does. Digging that up is quite a story. First I've had to read up on what this does and ended up being rather bewildered why peopled loved signals so much back in the days that they've created SIGIO just for that ... Then I wondered how this e

[PATCH 00/39] clean out drm cruft and hide it better for kms drivers

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 2:11 PM, Daniel Vetter wrote: > Hi all, > > I've figured that it's again time for a bit of (late) drm spring cleanup. This > series here consists of a pile of "rip old stuff out" patches interleaved with > "disable old cruft for kms drivers and hide it better". > > Com

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread David Herrmann
Hi On Wed, Jul 10, 2013 at 5:22 PM, Daniel Vetter wrote: > On Wed, Jul 10, 2013 at 3:51 PM, David Herrmann > wrote: >>> -#if __OS_HAS_MTRR >>> -static inline int drm_core_has_MTRR(struct drm_device *dev) >>> -{ >>> - return drm_core_check_feature(dev, DRIVER_USE_MTRR); >>> -} >>> -#else

[PATCH 1/2] drm: rip out dev->last_checked

2013-07-10 Thread Daniel Vetter
Only ever re-cleared in drm_setup, otherwise completely unused. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_fops.c | 1 - include/drm/drmP.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index d1b4771..5679971 100644

[PATCH 2/2] drm: move dev data clearing from drm_setup to lastclose

2013-07-10 Thread Daniel Vetter
We kzalloc this structure, and for real kms devices we should never loose track of things really. But ums/legacy drivers rely on the drm core to clean up a bit of cruft between lastclose and firstopen (i.e. when X is being restarted), so keep this around. But give it a clear drm_legacy_ prefix and

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 5:41 PM, David Herrmann wrote: > On Wed, Jul 10, 2013 at 5:22 PM, Daniel Vetter > wrote: >> On Wed, Jul 10, 2013 at 3:51 PM, David Herrmann >> wrote: -#if __OS_HAS_MTRR -static inline int drm_core_has_MTRR(struct drm_device *dev) -{ - return d

[PATCH 1/2] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread Daniel Vetter
The new arch_phys_wc_add/del functions do the right thing both with and without MTRR support in the kernel. So we can drop these additional checks. David Herrmann suggest to also kill the DRIVER_USE_MTRR flag since it's now unused, which spurred me to do a bit a better audit of the affected driver

[PATCH 2/2] drm/docs: rip out removed driver flags documentation

2013-07-10 Thread Daniel Vetter
I've forgotten this and shuffling all the little pieces into the respective patches is rather cumbersome ... Signed-off-by: Daniel Vetter --- Documentation/DocBook/drm.tmpl | 29 - 1 file changed, 29 deletions(-) diff --git a/Documentation/DocBook/drm.tmpl b/Document

[PATCH] drm/prime: remove cargo-cult locking from map_sg helper

2013-07-10 Thread Maarten Lankhorst
Op 10-07-13 16:48, Daniel Vetter schreef: > I've checked both implementations (radeon/nouveau) and they both grab > the page array from ttm simply by dereferencing it and then wrapping > it up with drm_prime_pages_to_sg in the callback and map it with > dma_map_sg (in the helper). > > Only the grab

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 6:27 PM, Andy Lutomirski wrote: > Are all of those codepaths really inaccessible in non-legacy drm > drivers? I didn't try to fully unravel all the ioctls and such, but > it seems like userspace could add bufs and map them. Since the mtrr > code isn't very robust (referen

[Bug 65723] Xonotic glsl 1.30 broken due to lack of derivatives support in radeonsi

2013-07-10 Thread bugzilla-dae...@freedesktop.org
-- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/9e80dc02/attachment.html>

[PATCH] drm/rcar-du: Add missing dependency on CMA

2013-07-10 Thread Mark Brown
From: Mark Brown The driver uses CMA APIs so won't link if CMA is not being built. Signed-off-by: Mark Brown --- drivers/gpu/drm/rcar-du/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig index 72887df..

[PATCH] drm/rcar-du: Add missing dependency on CMA

2013-07-10 Thread Mark Brown
res them. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/345853c6/attachment-0001.pgp>

[PATCH 1/2] drm/rcar-du: Use the GEM PRIME helpers

2013-07-10 Thread Mark Brown
igital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/f571c78a/attachment-0001.pgp>

Exposing GPU information for userspace processes

2013-07-10 Thread Rhyland Klein
On 7/10/2013 2:09 AM, Daniel Vetter wrote: > On Wed, Jul 10, 2013 at 04:01:49PM +1000, Dave Airlie wrote: >> On Wed, Jul 10, 2013 at 7:45 AM, Rhyland Klein wrote: >>> We are currently looking into exporting some information from the linux >>> kernel to userspace about the GPU. This information is

[PATCH 33/39] drm: rip out drm_core_has_MTRR checks

2013-07-10 Thread Andy Lutomirski
On Wed, Jul 10, 2013 at 8:59 AM, Daniel Vetter wrote: > On Wed, Jul 10, 2013 at 5:41 PM, David Herrmann > wrote: >> On Wed, Jul 10, 2013 at 5:22 PM, Daniel Vetter >> wrote: >>> On Wed, Jul 10, 2013 at 3:51 PM, David Herrmann >>> wrote: > -#if __OS_HAS_MTRR > -static inline int drm_c

[PATCH 01/12] drivers/gpu/drm/tilcdc: don't use devm_pinctrl_get_select_default() in probe

2013-07-10 Thread Wolfram Sang
Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij (personally at LCE13) Signed-off-by: Wolfram Sang --- drivers/gpu/drm/tilcdc/tilcdc_panel.c |6 -- driver

Bug in warning message from MTRR rework in uvesafb

2013-07-10 Thread Torsten Kaiser
Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up MTRR code" contains the following change: @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *options) } } +if (mtrr != 3 && mtrr != 1) +pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported

[PATCH v2 00/14] Platform Framebuffers and SimpleDRM

2013-07-10 Thread David Herrmann
Hi On Tue, Jul 9, 2013 at 11:02 PM, Stephen Warren wrote: > On 07/04/2013 06:25 AM, David Herrmann wrote: >> Hi >> >> This series changes the way we handle firmware framebuffers on x86 systems. >> On >> other architectures the recently introduced "simple-framebuffer" >> platform-devices provide

Bug in warning message from MTRR rework in uvesafb

2013-07-10 Thread Daniel Vetter
On Wed, Jul 10, 2013 at 7:07 PM, Torsten Kaiser wrote: > Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up > MTRR code" contains the following change: > > @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *options) > } > } > > +if (mtrr != 3 && mtrr != 1) > +

[PATCH] drm: don't call ->firstopen for KMS drivers

2013-07-10 Thread Daniel Vetter
It has way too much potential for driver writers to do stupid things like delayed hw setup because the load sequence is somehow racy (e.g. the imx driver in staging). So don't call it for modesetting drivers, which reduces the complexity of the drm core -> driver interface a notch. v2: Don't forge

[Bug 57381] Radeon HD6950: Resuming from hibernation fails sometimes

2013-07-10 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=57381 Harald Judt changed: What|Removed |Added Kernel Version||3.8.13 --- Comment #21 from Harald Judt --

[PATCH] drm: remove procfs code, take 2

2013-07-10 Thread Daniel Vetter
So almost two years ago I've tried to nuke the procfs code already once before: http://lists.freedesktop.org/archives/dri-devel/2011-October/015707.html The conclusion was that userspace drivers (specifically libdrm device node detection) stopped relying on procfs in 2001. But after some digging

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-10 Thread bugzilla-dae...@freedesktop.org
g/archives/dri-devel/attachments/20130710/7d2d22b9/attachment.html>

[Bug 66425] "failed testing IB on ring 5" when suspending to disk

2013-07-10 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/135e8e29/attachment-0001.html>

[Bug 66805] New: [radeonsi] half life 2 base games are segfaulting

2013-07-10 Thread bugzilla-dae...@freedesktop.org
unmapped Advanced Joystick settings initialized Redownloading all lightmaps ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred Uploading dump (out-of-process) [proxy ''] /tmp/dumps/assert_20130711011649_1.dmp /home/lordh/.local/share/Steam/SteamApps/common/Portal/hl2.sh : ligne 67 : 14112 Abandon (core dumped)${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" Game removed: AppID 400 "Portal", ProcID 14112 -->8-- -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130710/37813f27/attachment.html>

Questions about TTM buffer object maping

2013-07-10 Thread Jerome Glisse
On Wed, Jul 10, 2013 at 8:27 PM, Jean-S?bastien P?dron wrote: > Hello, > > I'm trying to understand how TTM buffer object mapping works on Linux, to > make this behave properly on FreeBSD. > > Here's what I think I understand: > > When a buffer object is mmap()'d, ttm_bo_vm_open() is called. When

Bug in warning message from MTRR rework in uvesafb

2013-07-10 Thread Andy Lutomirski
On Wed, Jul 10, 2013 at 10:07 AM, Torsten Kaiser wrote: > Commit 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75, "uvesafb: Clean up > MTRR code" contains the following change: > > @@ -1930,6 +1891,9 @@ static int uvesafb_setup(char *options) > } > } > > +if (mtrr != 3 && mtrr != 1) > +

<    1   2   3