[Patch v2 13/13] ACPI, nouveau: replace open-coded _DSM specific code with helper functions

2013-12-19 Thread Jiang Liu
Use helper functions to simplify _DSM related code in nouveau driver. After analyzing the ACPI _DSM related code, I changed nouveau_optimus_dsm() to expect a buffer and nouveau_dsm() to expect an integer only. Signed-off-by: Jiang Liu --- drivers/gpu/drm/nouveau/core/subdev/mxm/base.c | 48

[Patch v2 12/13] nouveau: fix memory leak in ACPI _DSM related code

2013-12-19 Thread Jiang Liu
Fix memory leak in function nouveau_optimus_dsm() and nouveau_dsm(). Signed-off-by: Jiang Liu --- drivers/gpu/drm/nouveau/nouveau_acpi.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/nouveau_acpi.c

[Patch v2 11/13] ACPI, i915: replace open-coded _DSM specific code with helper functions

2013-12-19 Thread Jiang Liu
Use helper functions to simplify _DSM related code in i915 driver. Function intel_dsm() is used to check functions supported by ACPI _DSM method, but it has strange check for special value 0x8002. After digging into nouveau driver, I think the check is copied from nouveau driver and is

[PATCH 18/18] drm/radeon: enable dpm by default on CI APUs

2013-12-19 Thread Alex Deucher
Dynamic power mangement works reliably now, so enable it by default. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index

[PATCH 17/18] drm/radeon: enable dpm by default on CI dGPUs

2013-12-19 Thread Alex Deucher
Dynamic power mangement works reliably now, so enable it by default. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index

[PATCH 16/18] drm/radeon: enable gfx cgcg on CIK APUs

2013-12-19 Thread Alex Deucher
Enable coarse grained clockgating. This works properly now that smc is initialized earlier than the rlc and cp. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_asic.c

[PATCH 15/18] drm/radeon: enable gfx cgcg on CIK dGPUs

2013-12-19 Thread Alex Deucher
Enable coarse grained clockgating on CIK dGPUs. This works properly now that smc is initialized earlier than the rlc and cp. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 14/18] drm/radeon/pm: move pm handling into the asic specific code

2013-12-19 Thread Alex Deucher
We need more control over the ordering of dpm init with respect to the rest of the asic. Specifically, the SMC has to be initialized before the rlc and cg/pg. The pm code currently initializes late in the driver, but we need it to happen much earlier so move pm handling into the asic specific

[PATCH 13/18] drm/radeon/dpm: switch on new late_enable callback

2013-12-19 Thread Alex Deucher
Right now it's called right after enable, but after reworking the dpm init order, it will get called later to accomodate loading the smc early, but enabling thermal interrupts and block powergating later after the ring tests are complete. Signed-off-by: Alex Deucher ---

[PATCH 12/18] drm/radeon/dpm: add late_enable for KB/KV

2013-12-19 Thread Alex Deucher
Make sure interrupts are enabled before we enable thermal interrupts. Also, don't powergate uvd, etc. until after the ring tests. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/kv_dpm.c | 24 drivers/gpu/drm/radeon/radeon_asic.c | 1 +

[PATCH 11/18] drm/radeon/dpm: add late_enable for CI

2013-12-19 Thread Alex Deucher
Make sure interrupts are enabled before we enable thermal interrupts. Also, don't powergate uvd until after the ring tests. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 29 + drivers/gpu/drm/radeon/radeon_asic.c | 1 +

[PATCH 10/18] drm/radeon/dpm: add late_enable for SI

2013-12-19 Thread Alex Deucher
Make sure interrupts are enabled before we enable thermal interrupts. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 1 + drivers/gpu/drm/radeon/si_dpm.c | 22 ++ 3 files changed, 24 insertions(+)

[PATCH 09/18] drm/radeon/dpm: add late_enable for trinity

2013-12-19 Thread Alex Deucher
Need to wait to enable cg and pg until after ring tests. Also make sure interrupts are enabled before we enable thermal interrupts. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 1 + drivers/gpu/drm/radeon/trinity_dpm.c | 22

[PATCH 08/18] drm/radeon/dpm: add late_enable for sumo

2013-12-19 Thread Alex Deucher
Need to wait to enable cg and pg until after ring tests. Also make sure interrupts are enabled before we enable thermal interrupts. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 1 + drivers/gpu/drm/radeon/sumo_dpm.c| 20

[PATCH 07/18] drm/radeon/dpm: add late_enable for rv7xx-NI

2013-12-19 Thread Alex Deucher
Make sure interrupts are enabled before we enable thermal interrupts. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 4 drivers/gpu/drm/radeon/radeon_asic.h | 1 + drivers/gpu/drm/radeon/rv770_dpm.c | 22 ++ 3 files changed, 27 insertions(+)

[PATCH 06/18] drm/radeon/dpm: add late_enable for rs780/rs880/rv6xx

2013-12-19 Thread Alex Deucher
Make sure interrupts are enabled before we enable thermal interrupts. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_dpm.c| 16 drivers/gpu/drm/radeon/radeon_asic.c | 2 ++ drivers/gpu/drm/radeon/radeon_asic.h | 1 + 3 files changed, 19 insertions(+) diff

[PATCH 05/18] drm/radeon/dpm: add a late enable callback

2013-12-19 Thread Alex Deucher
Certain features need to be enabled after ring tests (e.g., powergating, etc.). Add a function pointer to split out late enable features. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h| 3 +++ drivers/gpu/drm/radeon/radeon_pm.c | 12 2 files changed, 15

[PATCH 04/18] drm/radeon: re-order firmware loading in preparation for dpm rework

2013-12-19 Thread Alex Deucher
We need to reorder the driver init sequence to better accomodate dpm which needs to be loaded earlier in the init sequence. Move fw init up so that it's available for dpm init. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/cik.c | 42 --

[PATCH 03/18] drm/radeon/cik: drop cg_update from dpm code

2013-12-19 Thread Alex Deucher
I'm not entirely sure this is required and it won't work with the dpm restructing anyway. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ci_dpm.c | 36 drivers/gpu/drm/radeon/kv_dpm.c | 25 - 2 files changed, 61 deletions(-)

[PATCH 02/18] drm/radeon/si: drop cg_update from dpm code

2013-12-19 Thread Alex Deucher
I'm not entirely sure this is required and it won't work with the dpm restructing anyway. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 4 ++-- drivers/gpu/drm/radeon/si_dpm.c | 38 -- 2 files changed, 2 insertions(+), 40 deletions(-)

[PATCH 01/18] drm/radeon/dpm: remove unnecessary checks in dpm_init

2013-12-19 Thread Alex Deucher
No need to check rdev->pm.num_power_states; this is a vestige of the old pm code. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c

[PATCH 00/18] Rework PM init order

2013-12-19 Thread Alex Deucher
Newer asics require that the dpm be initialized prior to the other engines in order for clockgating to work properly. The tricky part is that other aspects of dpm are required at later stages (e.g., after displays are enumerated). This patch set reworks the power management init flow to

[pull] radeon fixes 3.13

2013-12-19 Thread Alex Deucher
Hi Dave, One more fix for a long standing corruption bug on some Trinity/Richland parts. The following changes since commit b67ce39a30976171e7b96b30a94a0216ab89df97: drm/radeon: check for 0 count in speaker allocation and SAD code (2013-12-17 09:23:16 -0500) are available in the git

[PATCH] drm/radeon: fix asic gfx values for scrapper asics

2013-12-19 Thread Alex Deucher
Fixes gfx corruption on certain TN/RL parts. bug: https://bugs.freedesktop.org/show_bug.cgi?id=60389 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/ni.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git

[Bug 66981] radeon 7970M, skyrim with mesa git: "GPU fault detected: 146"

2013-12-19 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=66981 Christoph Haag changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH 4/4] drm: exynos: hdmi: Add dt support for hdmiphy settings

2013-12-19 Thread Shirish S
This patch adds dt support to hdmiphy config settings as it is board specific and depends on the signal pattern of board. Signed-off-by: Shirish S --- .../devicetree/bindings/video/exynos_hdmi.txt | 34 drivers/gpu/drm/exynos/exynos_hdmi.c | 89

[PATCH 3/4] ARM: exynos: dts: cros5250: Add hdmi phy settings

2013-12-19 Thread Shirish S
This patch moves the hdmi phy setting to arndale dts, as its more of a per board configuration and also shall be easier for supporting future chipsets. Signed-off-by: Shirish S --- arch/arm/boot/dts/cros5250-common.dtsi | 74 1 file changed, 74 insertions(+)

[PATCH 2/4] ARM: dts: arndale: Add hdmi phy settings

2013-12-19 Thread Shirish S
This patch moves the hdmi phy setting to arndale dts, as its more of a per board configuration and also shall be easier for supporting future chipsets. Signed-off-by: Shirish S --- arch/arm/boot/dts/exynos5250-arndale.dts | 74 ++ 1 file changed, 74 insertions(+)

[PATCH 1/4] ARM: dts: smdk5250: Add hdmi phy settings

2013-12-19 Thread Shirish S
This patch moves the hdmi phy setting to smdk5250 dts,as its more of a per board configuration and also shall be easier for supporting future chipsets. Signed-off-by: Shirish S --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 74 + 1 file changed, 74 insertions(+)

[PATCH 0/4] Add dt support for exynos hdmiphy settings

2013-12-19 Thread Shirish S
For various revisions of a chipset if the signal pattern is changed for every revision, then the phy setting need to be updated correspondingly by measuring the signal. For getting correct signals the clock level and data de-emphasis levels needs to be adjusted. Since only these 2 values

[PATCH 4/4] drm: exynos: hdmi: Add dt support for hdmiphy settings

2013-12-19 Thread Shirish S
+ linux-samsung-soc mailing list. On Wed, Dec 4, 2013 at 10:05 AM, Shirish S wrote: > Hi Tomasz, > Thanks for the reivew, please see my replies inline. > > On Fri, Nov 29, 2013 at 10:56 PM, Tomasz Figa wrote: >> Hi Shirish, >> >> Please see my comments inline. >> >> On Monday 25 of November

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

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

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-12-19 Thread bugzilla-dae...@freedesktop.org
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/20131219/1e0315e2/attachment.html>

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-12-19 Thread bugzilla-dae...@freedesktop.org
s 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/20131219/843a4e53/attachment-0001.html>

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-12-19 Thread bugzilla-dae...@freedesktop.org
iving 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/20131219/322a8a14/attachment-0001.html>

[PATCH] drm/dp: Use AUX constants from specification

2013-12-19 Thread Patrik Jakobsson
On Mon, Dec 16, 2013 at 5:01 PM, Thierry Reding wrote: > The current values seem to be defined in a format that's specific to the > i915, gma500 and radeon drivers. To make this more generally useful, use > the values as defined in the specification. > > While at it, prefix the constants with DP_

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-12-19 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131219/8b679a11/attachment.html>

[GIT PULL FOR v3.14] Renesas R-Car DU patches

2013-12-19 Thread Laurent Pinchart
Hi Dave, It's been two weeks and a half already, is there anything holding this back ? On Monday 02 December 2013 01:30:56 Laurent Pinchart wrote: > Hi Dave, > > The following changes since commit a3483353ca4e6dbeef2ed62ebed01af109b5b27a: > > drm: check for !kdev in drm_unplug_minor()

[PATCH] [Intel-gfx] drm/edid: Populate picture aspect ratio for CEA modes

2013-12-19 Thread Vandana Kannan
Adding picture aspect ratio for CEA modes based on CEA-861D Table 3 or CEA-861E Table 4. This is useful for filling up the detail in AVI infoframe. v2: Ville's review comments incorporated Added picture aspect ratio as part of edid_cea_modes instead of DRM_MODE Signed-off-by: Vandana Kannan

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-12-19 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131219/33ba19fa/attachment.html>

[PATCH 4/4] drm: exynos: hdmi: Add dt support for hdmiphy settings

2013-12-19 Thread Tomasz Figa
On Thursday 19 of December 2013 17:42:28 Shirish S wrote: > This patch adds dt support to hdmiphy config settings > as it is board specific and depends on the signal pattern > of board. > > Signed-off-by: Shirish S > --- > .../devicetree/bindings/video/exynos_hdmi.txt | 34 >

Opps while using omapdrm_pvr.ko!

2013-12-19 Thread Vikas Patil
8662] Code: e3a02000 ea04 e5941004 e2822001 (e7911003) [ 52.385131] [sched_delayed] sched: RT throttling activated [ 52.391510] ---[ end trace 85cbb443b20a087f ]--- [ 52.885620] gps_init, Receiver reset failed Regards & Thanks, Vikas -- next part -- An HTM

[Bug 72716] SIGBUS in EVERGREENUploadToScreen after hibernation (Linux 3.12.4-tuxonice)

2013-12-19 Thread bugzilla-dae...@freedesktop.org
at lists.x.org |.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/20131219/446d3

[PATCH] drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG

2013-12-19 Thread Thierry Reding
--- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131219/1b95ee01/attachment.pgp>

Problems with vgaswitcheroo and prime systems possibly due to ACPI

2013-12-19 Thread Mike Lothian
Thanks Mike -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131219/71e4e047/attachment-0001.html>

[PATCH] [Intel-gfx] drm/edid: Populate picture aspect ratio for CEA modes

2013-12-19 Thread Alex Deucher
On Thu, Dec 19, 2013 at 5:04 AM, Vandana Kannan wrote: > Adding picture aspect ratio for CEA modes based on CEA-861D Table 3 or > CEA-861E Table 4. This is useful for filling up the detail in AVI > infoframe. > > v2: Ville's review comments incorporated > Added picture aspect ratio as part of

drm_do_probe_ddc_edid ENXIO check too aggressive?

2013-12-19 Thread Daniel Kurtz
On Tue, Dec 17, 2013 at 11:12 PM, Daniel Drake wrote: > > On Mon, Dec 16, 2013 at 5:40 PM, Daniel Vetter wrote: > > Have a bit of logic in the exynos ->detect function to re-try a 2nd > > round of edid probing after each hdp interrupt if the first one > > returns an -ENXIO. Only tricky part is

[Bug 72685] [radeonsi hyperz] Artifacts in Unigine Sanctuary

2013-12-19 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/20131219/cb6cf06c/attachment.html>