[Bug 67800] Computer freezes after idle for several hours (trinity)

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67800 --- Comment #8 from Kertesz Laszlo --- This bug seems to be gone now in this form after the aforementioned patches were installed. But now i have random freezes here and there when i am actually working on the computer. I had it happening durin

[PATCHv3 2/4] ARM: dts: Add rotator node for exynos4210

2013-08-12 Thread Chanho Park
This patch adds a rotator node for exynos4210. The exynos4210 has different limitation of image size compared with later chips. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi |8 1 file ch

[PATCHv3 3/4] ARM: dts: Add rotator node for exynos4x12

2013-08-12 Thread Chanho Park
This patch adds a rotator node for exynos4212 and 4412. These have different limitation of image size compared with the exynos4210. So, we should define new compatible to distinguish it from the exynos4210. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by

[PATCHv3 0/4] device tree support for exynos rotator

2013-08-12 Thread Chanho Park
This patchset includes device tree support for rotator of exynos4210/4x12/5250. Unfortunately, each of them has slightly different limitations of image size. The rotator can support several image formats(RGB888/555, YCbCr422/420_2/3p). For convinience, however, exynos drm rotator driver only suppor

[PATCHv3 4/4] ARM: dts: Add rotator node for exynos5250

2013-08-12 Thread Chanho Park
This patch adds a rotator node for exynos5250. It has different align value of image size compared with any other chips. So, we should define new compatible for the exynos5250. Signed-off-by: Chanho Park Cc: Thomas Abraham Cc: Kukjin Kim Cc: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm

[PATCHv3 1/4] drm/exynos: add device tree support for rotator

2013-08-12 Thread Chanho Park
The exynos4 platform is only dt-based since 3.10, we should convert driver data and ids to dt-based parsing methods. The rotator driver has a limit table to get size limit of input picture. Each SoCs has slightly different limit value compared with any others. For example, exynos4210's max_size of

Re: [GIT PULL FOR v3.12] R-Car DU DRM support for R8A7790 SoC

2013-08-12 Thread Simon Horman
On Sat, Aug 10, 2013 at 07:28:30AM +1000, Dave Airlie wrote: > On Sat, Aug 10, 2013 at 7:25 AM, Laurent Pinchart > wrote: > > Hi Dave, > > > > On Saturday 10 August 2013 06:45:05 Dave Airlie wrote: > >> On Thu, Aug 8, 2013 at 11:39 AM, Simon Horman wrote: > >> > On Thu, Aug 08, 2013 at 03:34:17AM

[PATCH] drm/exynos: Add missing includes

2013-08-12 Thread Mark Brown
From: Mark Brown Ensure that all externally accessed functions are correctly prototyped when defined in each file by making sure the headers with the protoypes are included in the file with the definition. Signed-off-by: Mark Brown --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 1 + drive

Re: [PATCH 03/25] drm/imx: kill firstopen callback

2013-08-12 Thread Greg Kroah-Hartman
On Thu, Aug 08, 2013 at 03:41:13PM +0200, Daniel Vetter wrote: > This thing seems to do some kind of delayed setup. Really, real kms > drivers shouldn't do that at all. Either stuff needs to be dynamically > hotplugged or the driver setup sequence needs to be fixed. > > This patch here just moves

RE: [PATCHv2 5/5] ARM: dts: Add dt binding documentation for exynos rotator

2013-08-12 Thread Chanho Park
Hi Tomasz, > -Original Message- > From: Tomasz Figa [mailto:t.f...@samsung.com] > Sent: Friday, August 09, 2013 10:16 PM > To: Chanho Park > Cc: inki@samsung.com; kgene@samsung.com; dri- > de...@lists.freedesktop.org; kyungmin.p...@samsung.com; > mark.rutl...@arm.com; l.st...@pengu

RE: [PATCHv2 2/5] ARM: dts: Add rotator node for exynos4210

2013-08-12 Thread Chanho Park
Hi Tomasz, > -Original Message- > From: Tomasz Figa [mailto:t.f...@samsung.com] > Sent: Friday, August 09, 2013 9:57 PM > To: Chanho Park > Cc: inki@samsung.com; kgene@samsung.com; dri- > de...@lists.freedesktop.org; kyungmin.p...@samsung.com; > mark.rutl...@arm.com; l.st...@pengut

RE: [PATCHv2 1/5] drm/exynos: add device tree support for rotator

2013-08-12 Thread Chanho Park
Hi Tomasz, > -Original Message- > From: Tomasz Figa [mailto:t.f...@samsung.com] > Sent: Friday, August 09, 2013 9:51 PM > To: Chanho Park > Cc: inki@samsung.com; kgene@samsung.com; dri- > de...@lists.freedesktop.org; kyungmin.p...@samsung.com; > mark.rutl...@arm.com; l.st...@pengut

Re: EDID modes unavailable when no connector/crtc available at boot

2013-08-12 Thread Tony Prisk
On 11/08/13 20:42, Dave Airlie wrote: On Sun, Aug 11, 2013 at 2:41 PM, Tony Prisk wrote: I am working on the HDMI driver for the i.MX6 as part of the larger DRM driver written by Sascha Hauer and need a little advice. I seem to be missing one important part of the subsystem that I haven't been

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
.115566] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35). -- 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/attachment

EDID modes unavailable when no connector/crtc available at boot

2013-08-12 Thread Tony Prisk
I am working on the HDMI driver for the i.MX6 as part of the larger DRM driver written by Sascha Hauer and need a little advice. I seem to be missing one important part of the subsystem that I haven't been able to resolve. In my testing, powering on the system with only a HDMI cable connected

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
sabled. -- 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/20130812/ffbdb605/attachment.html>

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
|--- |FIXED -- 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/20130812/e8a7cb2f/attachment.html>

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
ssignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130812/e9a3eb7e/attachment-0001.html>

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20130812/e4164a73/attachment.html>

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

2013-08-12 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20130812/b1508b3c/attachment.html>

[Bug 50091] [BISECTED]GeForce 6150SE: system hangs on X-server start with garbled screen

2013-08-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=50091 Tom Wijsman changed: What|Removed |Added CC||kernel at gentoo.org --- Comment #32 from T

[PATCH] radeon/kms: set/get the scanout flag using the set/get_tiling ioctls

2013-08-12 Thread Marek Olšák
Basically just pass RADEON_TILING_R600_SCANOUT everywhere. Hopefully I didn't miss anything. This is only compile-tested. Signed-off-by: Marek Ol??k --- src/drmmode_display.c | 44 +--- src/radeon_bo_helper.c | 11 +-- src/radeon_drm.h | 5

[PATCH] r600g, radeonsi: set/get the scanout flag using the set/get_tiling ioctls

2013-08-12 Thread Marek Olšák
--- src/gallium/drivers/r300/r300_state.c | 2 +- src/gallium/drivers/r300/r300_texture.c | 4 ++-- src/gallium/drivers/r600/r600_texture.c | 13 - src/gallium/drivers/radeonsi/r600_texture.c | 13 - src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 12

[PATCH] radeon: add RADEON_TILING_R600_SCANOUT to radeon_drm.h

2013-08-12 Thread Marek Olšák
--- include/drm/radeon_drm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 86cef15..1e8713c 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -806,8 +806,9 @@ struct drm_radeon_gem_create {

[PATCH] drm/radeon: add RADEON_TILING_R600_SCANOUT to radeon_drm.h

2013-08-12 Thread Marek Olšák
Signed-off-by: Marek Ol??k --- include/uapi/drm/radeon_drm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 321d4ac..0b6740a 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-dae...@freedesktop.org
ives/dri-devel/attachments/20130812/51d704d1/attachment.html>

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-dae...@freedesktop.org
enabled or does it happen regardless of whether dpm is enabled? -- 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/20130812/6c1c3

RE: [PATCH] drm/exynos: Add missing includes

2013-08-12 Thread Inki Dae
> -Original Message- > From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- > ow...@vger.kernel.org] On Behalf Of Mark Brown > Sent: Tuesday, August 13, 2013 8:47 AM > To: David Airlie > Cc: linux-samsung-...@vger.kernel.org; dri-devel@lists.freedesktop.org; > Mark Bro

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-dae...@freedesktop.org
t was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130812/ae97606d/attachment.html>

About buffer sychronization mechanism and cache operation

2013-08-12 Thread Inki Dae
Hello all, The purpose of this email is to get other opinions and advices to buffer synchronization mechanism, and coupling cache operation feature with the buffer synchronization mechanism. First of all, I am not a native English speaker so I'm not sure that I can convey my intention to you.

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #30 from wuruxu --- Created attachment 83989 --> https://bugs.freedesktop.org/attachment.cgi?id=83989&action=edit dmesg 3.11rc5 [ 129.095684] [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35). [ 129.115566] [drm:rade

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #29 from Alex Deucher --- (In reply to comment #28) > If you are having problems with dpm enabled, please open a new bug as it may > be a different issue. Also check to see if you can reproduce the problem with dpm disabled. -- Yo

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 Alex Deucher changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[PATCH 03/25] drm/imx: kill firstopen callback

2013-08-12 Thread Greg Kroah-Hartman
On Thu, Aug 08, 2013 at 03:41:13PM +0200, Daniel Vetter wrote: > This thing seems to do some kind of delayed setup. Really, real kms > drivers shouldn't do that at all. Either stuff needs to be dynamically > hotplugged or the driver setup sequence needs to be fixed. > > This patch here just moves

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #28 from Alex Deucher --- (In reply to comment #27) > Hi I found that after enable radeon.dpm, this message > [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 > (-35). always show after suspend system to RAM. wai

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 --- Comment #27 from wuruxu --- Hi I found that after enable radeon.dpm, this message [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35). always show after suspend system to RAM. wait a minute, the X Server crash. the a

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

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66425 wuruxu changed: What|Removed |Added Hardware|x86-64 (AMD64) |x86 (IA32) Status|RESOLVED

[Bug 50091] [BISECTED]GeForce 6150SE: system hangs on X-server start with garbled screen

2013-08-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=50091 Tom Wijsman changed: What|Removed |Added CC||ker...@gentoo.org --- Comment #32 from Tom

[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.

2013-08-12 Thread Maarten Lankhorst
Not as thoroughly tested as I would like. Newer nvd0 and kepler are unsupported, as I don't know the registers yet. Information of the scanout position is based on Lucas Stach's original patch, with a teak to read vline twice, to prevent a race of hline with vline. Cc: Lucas Stach Cc: Mario Klei

[PATCH] drm/nouveau: fix vblank deadlock

2013-08-12 Thread Maarten Lankhorst
This fixes a deadlock inversion when vblank is enabled/disabled by drm. &dev->vblank_time_lock is always taken when the vblank state is toggled, which caused a deadlock when &event->lock was also taken during event_get/put. Solve the race by requiring that lock to change enable/disable state, and

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67723 Bastian Triller changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[PATCH] drm/nouveau: fix ltcg memory initialization after suspend

2013-08-12 Thread Maarten Lankhorst
Some registers were not initialized in init, this causes them to be uninitialized after suspend. Signed-off-by: Maarten Lankhorst --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c b/drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c index bcca883..7288940 100644 --- a/drivers/gpu/drm

[PATCH 53/53] drm/radeon/dpm: adjust the vblank time checks for eg, ni, si

2013-08-12 Thread Alex Deucher
According to the internal teams, we never hit the limit for mclk switching on these asics, so we can disable the check. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cypress_dpm.c | 3 ++- drivers/gpu/drm/radeon/ni_dpm.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) di

[PATCH 52/53] drm/radeon/dpm: add reclocking quirk for ASUS K70AF

2013-08-12 Thread Alex Deucher
The LCD has a relatively short vblank time (216us), but the card is able to reclock memory fine in that time. Signed-off-by: Alex Deucher Reported-by: normalrawr at gmail.com --- drivers/gpu/drm/radeon/rv770_dpm.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH 51/53] drm/radeon/dpm: implement UVD powergating for CI

2013-08-12 Thread Alex Deucher
Disable the UVD block when not in use to save power. The block is not actually powergated on CI, but we switch between UVD DPM (where the uvd clocks are adjusted on demand) and clocks off. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 7 +-- drivers/gpu/drm/radeon/ra

[PATCH 50/53] drm/radeon/dpm: implement UVD powergating for KB/KV

2013-08-12 Thread Alex Deucher
Powergate the UVD block when not in use to save power. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 4 ++-- drivers/gpu/drm/radeon/kv_dpm.c | 22 +++--- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 1 + 4 fil

[PATCH 49/53] drm/radeon: restructure UVD code to handle UVD PG (v2)

2013-08-12 Thread Alex Deucher
When we PG (powergate) UVD, we need to re-initialize it before we can use it again. v2: rebase on UVD stop fixes Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 14 +++ drivers/gpu/drm/radeon/evergreen.c | 2 +- drivers/gpu/drm/radeon/ni.c | 2 +- drivers

[PATCH 48/53] drm/radeon/dpm: add new callback for powergating UVD (v3)

2013-08-12 Thread Alex Deucher
Starting on CIK, multi-media blocks like UVD no longer have special power state. Rather they have their own DPM implementation which adjusts their clocks dynamically when active. When they are not active, the blocks are powergated to save power. v2: add missing pm locks v3: rebase on uvd state s

[PATCH 47/53] drm/radeon/dpm: implement force performance level for KB/KV

2013-08-12 Thread Alex Deucher
Allows you to force the selected performance level via sysfs. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/kv_dpm.c | 43 drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 2 ++ 3 files changed, 46 insertions(

[PATCH 46/53] drm/radeon/dpm: add debugfs support for KB/KV

2013-08-12 Thread Alex Deucher
This allows you to look at the current DPM state via debugfs. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cikd.h| 4 drivers/gpu/drm/radeon/kv_dpm.c | 23 +++ drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 2

[PATCH 45/53] drm/radeon/dpm: implement vblank_too_short callback for CI

2013-08-12 Thread Alex Deucher
Check if we can switch the mclk during the vblank time otherwise we may get artifacts on the screen when the mclk changes. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 16 +++- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h

[PATCH 44/53] drm/radeon/dpm: implement force performance level for CI

2013-08-12 Thread Alex Deucher
Allows you to force the selected performance level via sysfs. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 153 +++ drivers/gpu/drm/radeon/ppsmc.h | 1 + drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_

[PATCH 43/53] drm/radeon/dpm: add debugfs support for CI

2013-08-12 Thread Alex Deucher
This allows you to look at the current DPM state via debugfs. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 11 +++ drivers/gpu/drm/radeon/cikd.h| 12 drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 2 ++

[PATCH 42/53] drm/radeon: add dpm support for CI dGPUs (v2)

2013-08-12 Thread Alex Deucher
This adds dpm support for btc asics. This includes: - dynamic engine clock scaling - dynamic memory clock scaling - dynamic voltage scaling - dynamic pcie gen switching Set radeon.dpm=1 to enable. v2: remove unused radeon_atombios.c changes, make missing smc ucode non-fatal Signed-off-by: Al

[PATCH 41/53] drm/radeon/kms: add dpm support for KB/KV

2013-08-12 Thread Alex Deucher
This adds dpm support for KB/KV asics. This includes: - dynamic engine clock scaling - dynamic voltage scaling - power containment - shader power scaling Set radeon.dpm=1 to enable. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile |2 +- drivers/gpu/drm/radeon/cik.c

[PATCH 40/53] drm/radeon/dpm: add helper to fetch the vrefresh of the current mode

2013-08-12 Thread Alex Deucher
Needed for DPM on CI. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 18 ++ drivers/gpu/drm/radeon/r600_dpm.h | 1 + 2 files changed, 19 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index 89c46c5..26a7878

[PATCH 39/53] drm/radeon/dpm: add a helper to encode pcie lane setting

2013-08-12 Thread Alex Deucher
convert from number of lanes to register setting. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 10 ++ drivers/gpu/drm/radeon/r600_dpm.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c in

[PATCH 38/53] drm/radeon/dpm: add vce clocks to radeon_ps

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 661e7c1..13e402c 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -12

[PATCH 37/53] drm/radeon: add r600_get_pcie_lane_support helper

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 23 +++ drivers/gpu/drm/radeon/r600_dpm.h | 4 2 files changed, 27 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index bf851ac..34ea5d6 100644 --- a/d

[PATCH 36/53] drm/radeon: parse the acp clock voltage deps table

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index 314886a..bf851ac 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.c +++ b/driv

[PATCH 35/53] drm/radeon: parse the samu clock voltage deps table

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index 98db6ea..314886a 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.c +++ b/driv

[PATCH 34/53] drm/radeon/dpm: clean up the extended table error pathes

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 40 ++- 1 file changed, 6 insertions(+), 34 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index c103d3f..98db6ea 100644 --- a/drivers/gpu/drm

[PATCH 33/53] drm/radeon: parse the uvd clock voltage deps table

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 40 +++ 1 file changed, 40 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index b49b0f0..c103d3f 100644 --- a/drivers/gpu/drm/radeon/r600_dpm

[PATCH 32/53] drm/radeon: parse the vce clock voltage deps table

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 41 ++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index 9dda735..b49b0f0 100644 --- a/drivers/gpu/drm/

[PATCH 31/53] drm/radeon: add clock voltage dep tables for acp, samu

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index d21fa20..661e7c1 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -133

[PATCH 30/53] drm/radeon: add structs to store vce clock voltage deps

2013-08-12 Thread Alex Deucher
Used for vce power management. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index e65304a..d21fa20 100644 --- a/drivers/gpu/drm/radeon/radeon.h +

[PATCH 29/53] drm/radeon/dpm: grab mvdd_dependency_on_mclk info from vbios

2013-08-12 Thread Alex Deucher
Required for dpm on CI. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 19 +++ drivers/gpu/drm/radeon/radeon.h | 1 + 2 files changed, 20 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index e6905f0..9dda

[PATCH 28/53] drm/radeon/dpm: add support for parsing the atom powertune table

2013-08-12 Thread Alex Deucher
Needed for DPM on CI. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 44 +++ drivers/gpu/drm/radeon/radeon.h | 12 +++ 2 files changed, 56 insertions(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r6

[PATCH 27/53] drm/radeon/dpm: update cac leakage table parsing for CI

2013-08-12 Thread Alex Deucher
Uses a different table format if the board supports EVV. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 17 + drivers/gpu/drm/radeon/radeon.h | 15 +++ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_d

[PATCH 26/53] drm/radeon: adjust si_dpm function for code sharing

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si_dpm.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index 88699e3..0f8be48 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/dr

[PATCH 25/53] drm/radeon: add get_temperature() callbacks for CIK

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 37 drivers/gpu/drm/radeon/cikd.h| 8 drivers/gpu/drm/radeon/radeon_asic.c | 2 ++ drivers/gpu/drm/radeon/radeon_asic.h | 2 ++ drivers/gpu/drm/radeon/radeon_pm.c | 2

[PATCH 24/53] drm/radeon: add KB/KV to r600_is_internal_thermal_sensor

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index e246e3a..d54a838 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.c +++ b/drivers/gpu/drm/radeon/r600_dpm.

[PATCH 23/53] drm/radeon: add CI to r600_is_internal_thermal_sensor()

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/r600_dpm.c b/drivers/gpu/drm/radeon/r600_dpm.c index e5c860f..e246e3a 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.c +++ b/drivers/gpu/drm/radeon/r600_dpm.

[PATCH 22/53] drm/radeon: add support for thermal controller on KB/KV

2013-08-12 Thread Alex Deucher
No support for reading temperature back yet. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_atombios.c | 5 + 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index

[PATCH 21/53] drm/radeon/cik: add rlc helpers for DPM

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 29 + drivers/gpu/drm/radeon/cikd.h | 9 + 2 files changed, 38 insertions(+) diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index a36e98c..727c296 100644 --- a/drivers/g

[PATCH 20/53] drm/radeon: add structs to store uvd clock voltage deps

2013-08-12 Thread Alex Deucher
Used for uvd power management. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 37b0fc4..00d154d 100644 --- a/drivers/gpu/drm/radeon/radeon.h +

[PATCH 19/53] drm/radeon: switch to pptable.h

2013-08-12 Thread Alex Deucher
Internally we switched to using a separate header for atombios pplib definitions. Switch over the open source driver. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios.h | 615 +- drivers/gpu/drm/radeon/pptable.h | 682 +

[PATCH 18/53] drm/radeon/sumo add helper to go from vid7 to vid2

2013-08-12 Thread Alex Deucher
Needed for DPM on KB/KV. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/sumo_dpm.c | 14 ++ drivers/gpu/drm/radeon/sumo_dpm.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/gpu/drm/radeon/sumo_dpm.c b/drivers/gpu/drm/radeon/sumo_dpm.c index c0a8503..2cefe5

[PATCH 17/53] drm/radeon: add indirect accessors for dift registers on CIK

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik_reg.h | 3 +++ drivers/gpu/drm/radeon/radeon.h | 18 ++ 2 files changed, 21 insertions(+) diff --git a/drivers/gpu/drm/radeon/cik_reg.h b/drivers/gpu/drm/radeon/cik_reg.h index d71e46d..ca1bb61 100644 --- a/drivers/gpu/

[PATCH 16/53] drm/radeon: implement clock and power gating for CIK (v3)

2013-08-12 Thread Alex Deucher
Only the APUs support power gating. v2: disable cgcg for now v3: workaround hw issue in mgcg Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 1475 +++- drivers/gpu/drm/radeon/cikd.h | 95 +- drivers/gpu/drm/radeon/clearstate_ci.h |

[PATCH 15/53] drm/radeon: convert SI,CIK to use sumo_rlc functions

2013-08-12 Thread Alex Deucher
and remove duplicate si_rlc functions. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 10 +- drivers/gpu/drm/radeon/clearstate_cayman.h| 2 +- drivers/gpu/drm/radeon/clearstate_evergreen.h | 2 +- drivers/gpu/drm/radeon/evergreen.c| 46 -

[PATCH 14/53] drm/radeon: clean up sumo_rlc_init() for code sharing

2013-08-12 Thread Alex Deucher
This will eventually be shared with newer asics to reduce code duplication. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 221 +++-- 1 file changed, 113 insertions(+), 108 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/driv

[PATCH 13/53] drm/radeon/cik: restructure rlc setup

2013-08-12 Thread Alex Deucher
Restructure rlc setup to handle clock and power gating. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 84 +++ drivers/gpu/drm/radeon/cikd.h | 1 + drivers/gpu/drm/radeon/si.c | 2 +- 3 files changed, 56 insertions(+), 31 deletions(-)

[PATCH 12/53] drm/radeon: add support for ASPM on CIK asics

2013-08-12 Thread Alex Deucher
Enables PCIE ASPM (Active State Power Management) on CIK asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 151 ++ drivers/gpu/drm/radeon/cikd.h | 72 +++- 2 files changed, 222 insertions(+), 1 deletion(-) diff --git

[PATCH 11/53] drm/radeon/cik: add support for pcie gen1/2/3 switching

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 161 ++ drivers/gpu/drm/radeon/cikd.h | 57 +++ 2 files changed, 218 insertions(+) diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 2ceb900..a30fb32

[PATCH 10/53] drm/radeon: switch CIK to use radeon_ucode.h

2013-08-12 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 17 + drivers/gpu/drm/radeon/radeon_ucode.h | 14 ++ 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 42b143e..2ceb

[PATCH 09/53] drm/radeon/cik: implement some more atom helpers for DPM

2013-08-12 Thread Alex Deucher
Required for DPM on CIK. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_atombios.c | 115 +++ 1 file changed, 115 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 4ccd61f..27de73c 100

[PATCH 08/53] drm/radeon/kms: fix up dce8 display watermark calc for dpm

2013-08-12 Thread Alex Deucher
Calculate the low and high watermarks based on the low and high clocks for the current power state. The dynamic pm hw will select the appropriate watermark based on the internal dpm state. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 96 ++--

[PATCH 07/53] drm/radeon/dpm: use performance state if no UVD state

2013-08-12 Thread Alex Deucher
Newer asics don't have specific UVD states. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index b72508b..79a03de 100644

[PATCH 06/53] drm/radeon: default to 1024M gart size on rv770+

2013-08-12 Thread Alex Deucher
Newer asics have a lot of vram so it's less of an issue to waste a little more space for the gart page table. This gives us some additional gart space before having to migrate to non-gart system ram for games, etc. where we use up most of vram. Signed-off-by: Alex Deucher --- drivers/gpu/drm/ra

[PATCH 05/53] drm/radeon/dpm: rework thermal state handling

2013-08-12 Thread Alex Deucher
1. Handle the the thermal state directly in the work handler. Remove the state selection function since nothing else uses it now. 2. On some asics there is no thermal state, so we just use a regular state and force the low performance state. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon

[PATCH 04/53] drm/radeon/dpm: use multiple UVD power states (v3)

2013-08-12 Thread Alex Deucher
Use the UVD handle information to determine which which power states to select when using UVD. For example, decoding a single SD stream requires much lower clocks than multiple HD streams. v2: switch to a cleaner dpm/uvd interface v3: change the uvd power state while streams are active if need be

[PATCH 03/53] drm/radeon: add UVD->DPM helper function (v5)

2013-08-12 Thread Alex Deucher
Add a helper function for counting the number of open stream handles. v2: fix copy-pasta in comments and whitespace error v3: make function static since it's only used in radeon_uvd.c at the moment v4: make non-static again for future changes v5: make static again for new rework of dpm uvd changes

[PATCH 02/53] drm/radeon/kms: remove r6xx+ blit copy routines

2013-08-12 Thread Alex Deucher
No longer used now that we use the async dma engines or CP DMA for bo copies. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile | 4 +- drivers/gpu/drm/radeon/cayman_blit_shaders.c| 54 -- drivers/gpu/drm/radeon/evergreen.c | 8 - drivers/gpu/d

[PATCH 01/53] drm/radeon: switch r6xx+ to using CP DMA for the blit copy callback

2013-08-12 Thread Alex Deucher
CP DMA is lighter weight than using the 3D engine. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index f8f8b3

[PATCH 00/53] Initial 3.12 radeon patches

2013-08-12 Thread Alex Deucher
This is the initial set of patches for 3.12 for radeon. The big changes here are adding ASPM and DPM support to CIK asics. There are also some cleanups related to removing bo copy support using the 3D engine in favor of the sDMA engines or CP DMA. For easier review the patches are also available

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67723 --- Comment #5 from Alex Deucher --- You said in comment 3 that you also had the same failure with dpm disabled, but you just changed the summary to indicate that it happens with dpm enabled. Which is correct? Is it only an issue with dpm enabl

[PATCH] drm/nouveau: fix ltcg allocating memory as free

2013-08-12 Thread Maarten Lankhorst
Allocating type=0 marks the memory as free. This allows the ltcg memory to be allocated twice. Add a BUG_ON in core/mm.c to prevent this ever happening again. Signed-off-by: Maarten Lankhorst --- diff --git a/drivers/gpu/drm/nouveau/core/core/mm.c b/drivers/gpu/drm/nouveau/core/core/mm.c index d

[Bug 67723] Resume from s2ram doesn't work with radeon.dpm=1

2013-08-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67723 Bastian Triller changed: What|Removed |Added Summary|Resume from s2ram fails |Resume from s2ram doesn't

[PATCH] drm: drm_drv: Only call drm_agp_clear() in __OS_HAS_AGP case

2013-08-12 Thread David Herrmann
Hi On Fri, Aug 9, 2013 at 12:00 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 28ec711 (drm/agp: move AGP cleanup paths to drm_agpsupport.c) causes > the > following link error on ARM (imx_v6_v7_defconfig): > > drivers/built-in.o: In function `drm_lastclose': > :(.text+0x588a0): unde

  1   2   >