[PATCH] drm/radeon/audio: don't set speaker allocation on DCE4+

2013-10-18 Thread Alex Deucher
It causes hangs on some asics. Disable on DCE6+ as well just to be on the safe side. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/dce6_afmt.c | 3 +++ drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 +++ 2 files changed, 6 insertions(+) diff --git

[PATCH] drm/radeon/audio: use actual pll clock for setting up dto

2013-10-18 Thread Alex Deucher
Use the actual pll clock (rather than the mode clock) to set up the audio dto. This fixes audio playback speed issues when the pll clock does not exactly match the mode clock. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 2 ++

[PATCH] drm/nouveau: avoid null deref on bad arguments to nouveau_vma_getmap

2013-10-18 Thread Pasi Kärkkäinen
On Wed, Sep 25, 2013 at 05:42:46PM +0300, Pasi K?rkk?inen wrote: > On Wed, Sep 04, 2013 at 08:59:13AM +0200, Maarten Lankhorst wrote: > > > > When looking into this bug I noticed that nouveau_bo_vma_add needs to have > > a check for nvbo->page_shift == vma->vm->vmm->spg_shift, > > and only if

[PATCH] drm/nouveau: avoid null deref on bad arguments to nouveau_vma_getmap

2013-10-18 Thread Pasi Kärkkäinen
On Thu, Sep 26, 2013 at 02:48:49AM +1000, Ben Skeggs wrote: > > > > Ben/Maarten: Are you guys planning to take a look at this and submit > > another patch, or.. ? > > > > I tested the two earlier patches from this thread, and they both fixed the > > problem (hard kernel crash). > > I'm hoping

[PATCH 2/2] drm/radeon/audio: write audio/video latency info for DCE6/8

2013-10-18 Thread Alex Deucher
Needed by the hda driver to properly set up synchronization on the audio side. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/dce6_afmt.c | 43 +++ drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 +++ drivers/gpu/drm/radeon/sid.h| 45

[PATCH 1/2] drm/radeon/audio: write audio/video latency info for DCE4/5

2013-10-18 Thread Alex Deucher
Needed by the hda driver to properly set up synchronization on the audio side. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_hdmi.c | 37 drivers/gpu/drm/radeon/evergreend.h | 38 + 2 files changed, 75

[GIT PULL] Armada DRM support

2013-10-18 Thread Russell King - ARM Linux
David, Rob Clark has now reviewed this and has given his blessing for it to be pulled for the coming merge window. This adds support for the Armada 510 display subsystem found on the Marvell Dove devices. This IP is re-used across several different Marvell SoCs with various tweaks, and this

[PATCH 7/7] drm/qxl: fix disabling extra monitors from client

2013-10-18 Thread Marc-André Lureau
To disable a monitor, a Spice client sends a monitor config with the monitor resolution to 0x0. However, before qxl_crtc_disable() is reached after the hotplug event, it can happen that another monitor is reconfigured, and qxl_send_monitors_config() is called with the old config, which will

[PATCH 6/7] drm/qxl: remove unnecessary check

2013-10-18 Thread Marc-André Lureau
All hard-coded resolutions are passing this check. Signed-off-by: Marc-Andr? Lureau --- drivers/gpu/drm/qxl/qxl_display.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 9f33578..4f28060 100644 ---

[PATCH 5/7] drm/qxl: prefer the monitor config resolution

2013-10-18 Thread Marc-André Lureau
By default, 1024x768 is the preferred resolution. However, when a monitor config is given, it should be the only preferred resolution. Note that the monitor config resolution is passed to qxl_add_common_modes() to avoid adding a duplicate mode without the preferred resolution. That would discard

[PATCH 4/7] drm: copy mode type in drm_mode_connector_list_update()

2013-10-18 Thread Marc-André Lureau
In commit 38d5487db7f289be1d56ac7df704ee49ed3213b9, Keith explained: This patch simply merges the two mode type bits together; that seems reasonable to me, but perhaps only a subset of the bits should be used? None of these can be user defined as they all come from looking at just

[PATCH 3/7] drm/qxl: notify that the monitor config changed

2013-10-18 Thread Marc-André Lureau
drm_helper_hpd_irq_event() only notifies when the connector status changed. However, Spice monitor config can change while the connector is connected, to support arbitrary resolution. Do an hotplug event if it wasn't done by drm_helper_hpd_irq_event(). Signed-off-by: Marc-Andr? Lureau ---

[PATCH 2/7] drm: return if changed in drm_helper_hpd_irq_event()

2013-10-18 Thread Marc-André Lureau
The caller may want to know whether the configuration was changed, and if an hotplug event was sent. Signed-off-by: Marc-Andr? Lureau --- drivers/gpu/drm/drm_crtc_helper.c | 6 -- include/drm/drm_crtc_helper.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH 1/7] drm: fix a small spelling

2013-10-18 Thread Marc-André Lureau
Fix a little spelling of drm_crtc_convert_umode() comment. Signed-off-by: Marc-Andr? Lureau --- drivers/gpu/drm/drm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index fc83bb9..3729fb2 100644 ---

[PATCH 1/4] drm: Constify struct drm_info_list * arguments

2013-10-18 Thread Ville Syrjälä
On Thu, Oct 17, 2013 at 07:09:53PM +0100, Damien Lespiau wrote: > Those functions are just reading data from those pointers. > > Signed-off-by: Damien Lespiau Reviewed-by: Ville Syrj?l? for the series. > --- > drivers/gpu/drm/drm_debugfs.c | 4 ++-- > include/drm/drmP.h| 9

[PATCH] drm/ttm: Handle in memory region copies

2013-10-18 Thread Jakob Bornecrantz
Reviewed-by: Thomas Hellstr?m Signed-off-by: Jakob Bornecrantz Cc: Dave Airlie Cc: dri-devel at lists.freedesktop.org Cc: stable at vger.kernel.org --- drivers/gpu/drm/ttm/ttm_bo_util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c

[PATCH/RFC v3 00/19] Common Display Framework

2013-10-18 Thread Andrzej Hajda
On 10/17/2013 02:55 PM, Tomi Valkeinen wrote: > On 17/10/13 15:26, Andrzej Hajda wrote: > >> I am not sure what exactly the encoder performs, if this is only image >> transport from dispc to panel CDF pipeline in both cases should look like: >> dispc > panel >> The only difference is that

[Bug 70439] Mobility 4570: System freezes after ~5s of enabling audio via xrandr

2013-10-18 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131018/8926c132/attachment.html>

[PATCH v2 12/26] drm/exynos: Split manager/display/subdrv

2013-10-18 Thread Inki Dae
> -Original Message- > From: Sean Paul [mailto:seanpaul at chromium.org] > Sent: Thursday, October 17, 2013 11:37 PM > To: Inki Dae > Cc: dri-devel; Dave Airlie; Tomasz Figa; St?phane Marchesin > Subject: Re: [PATCH v2 12/26] drm/exynos: Split manager/display/subdrv > > On Thu, Oct 17,

linux-next: Tree for Oct 17 (drm: panel-simple)

2013-10-18 Thread Randy Dunlap
On 10/17/13 17:38, Mark Brown wrote: > Hi all, > > I've uploaded today's linux-next tree to the master branch of the > repository below: > > git://gitorious.org/thierryreding/linux-next.git > > A next-20131017 tag is also provided for convenience. > > One new conflict today but

[PATCH] gpu: drm: Add helpers to allow export gem cma objects

2013-10-18 Thread benjamin.gaign...@linaro.org
From: Benjamin Gaignard DRM already offer helpers to use CMA for dumb buffers. This patch add helpers to export/import gem_cam objects and allow them to be mmap from userland. The goal is to make working this kind of sequence: create_dumb, get fd from buffer handle

[PATCH 1/5] drm/i2c: tda998x: set VIF for full range, underscanned display

2013-10-18 Thread Rob Clark
On Mon, Oct 7, 2013 at 4:59 AM, Jean-Francois Moine wrote: > On Sun, 06 Oct 2013 23:07:55 +0100 > Russell King wrote: > >> Signed-off-by: Russell King >> --- >> drivers/gpu/drm/i2c/tda998x_drv.c |2 ++ >> 1 files changed, 2

[Patch v2][ 03/37] drm: Add the lacking DRM_MODE_FLAG_* for matching the DISPLAY_FLAGS_*

2013-10-18 Thread Ville Syrjälä
On Thu, Oct 17, 2013 at 05:02:01PM +0200, Denis Carikli wrote: > Without that fix, drivers using the drm_display_mode_from_videomode > function will not be able to get certain information because > some DISPLAY_FLAGS_* have no corresponding DRM_MODE_FLAG_*. > > Cc: Greg Kroah-Hartman > Cc:

[PATCH 3/5] DRM: Armada: Add support for ARGB 32x64 or 64x32 hardware cursors

2013-10-18 Thread Alex Deucher
On Thu, Oct 17, 2013 at 7:58 PM, Rob Clark wrote: > On Mon, Oct 7, 2013 at 8:50 AM, Russell King - ARM Linux > wrote: >> On Mon, Oct 07, 2013 at 03:29:15PM +0300, Siarhei Siamashka wrote: >>> On Mon, 7 Oct 2013 11:32:50 +0100 >>> Russell King - ARM Linux wrote: >>> > However, what you're

[Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above

2013-10-18 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=63101 --- Comment #8 from Kertesz Laszlo --- Ok, i finished bisecting. According to git, 6d15ee492809d38bd62237b6d0f6a81d4dd12d15 (v3.12-rc3-267-g6d15ee4) is the first bad commit. -- You are receiving this mail because: You are watching the assignee

[PATCH 1/2] drm/radeon/audio: don't set speaker allocation on DCE3.2

2013-10-18 Thread Rafał Miłecki
2013/10/17 Alex Deucher : > It causes hangs on some asics. > > Bug: > https://bugs.freedesktop.org/show_bug.cgi?id=70439 I noticed some hangs on BARTS too, let me test this solution on DCE5. Maybe it's not just DCE3.2.

[PATCH 2/2] drm/radeon: rework audio option

2013-10-18 Thread Rafał Miłecki
2013/10/17 Alex Deucher : > In 3.12 I changed audio to be enabled by default, > but you still had to turn it on via xrandr. This > was confusing to users so change it to minic the > previous behavior: > > - audio option is set to -1 (auto) by default which is > the current 3.12 behavior (audio

[Patch v2][ 11/37] staging: imx-drm: use of_get_display_timings.

2013-10-18 Thread Sascha Hauer
On Thu, Oct 17, 2013 at 05:02:09PM +0200, Denis Carikli wrote: > The comment on top of of_get_drm_display_mode says: > * This function is expensive and should only be used, if only one mode is to > be > * read from DT. To get multiple modes start with of_get_display_timings and > * work with

[PATCH 1/2] drm/radeon/audio: don't set speaker allocation on DCE3.2

2013-10-18 Thread Christian König
Am 17.10.2013 22:22, schrieb Alex Deucher: > It causes hangs on some asics. > > Bug: > https://bugs.freedesktop.org/show_bug.cgi?id=70439 > > Signed-off-by: Alex Deucher Both are: Reviewed-by: Christian K?nig > --- > drivers/gpu/drm/radeon/r600_hdmi.c | 3 +++ > 1 file changed, 3

[Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above

2013-10-18 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=63101 --- Comment #7 from Kertesz Laszlo --- I run the latest git, updated until commit 83f11a9cf2578b104c0daf18fc9c7d33c3d6d53a and i still have this issue. The problem was introduced somewhere between a2ac07fe292ea41296049dfdbfeed203e2467ee7

[Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above

2013-10-18 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=63101 Christopher Meng changed: What|Removed |Added CC||cickumqt at gmail.com --- Comment #6

[Bug 68391] [radeonsi] Crash unigine-sanctuary

2013-10-18 Thread bugzilla-dae...@freedesktop.org
dri-devel/attachments/20131018/f0606279/attachment.html>

MmioTrace: Using the Instruction Decoder, etc.

2013-10-18 Thread Eugene Shatokhin
le on the mailing > lists. I'm CC'ing nouveau, since that is where mmiotrace started, > and dri-devel in the hopes to catch other drivers' reverse > engineers. > > > Thanks, > pq > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131018/1bbfc509/attachment.html>