[PATCH v12 18/18] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2015-12-23 Thread Yakir Yang
It may caused a dead lock if we flush the hpd work in bridge disable time. The normal flow would like: IN --> DRM IOCTL 1. Acquire crtc_ww_class_mutex (DRM IOCTL) IN --> analogix_dp_bridge 2. Acquire hpd work lock (Flush hpd work) 3. HPD work already in idle, no need to

[PATCH v12 17/18] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2015-12-23 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes i

[PATCH v12 16/18] drm: bridge: analogix/dp: expand the wait time for looking AUX CH reply flag

2015-12-23 Thread Yakir Yang
On Rockchip platform, sometimes driver would failed at reading EDID message, and it's caused by the AUX reply flag wouldn't received under the 100*10us wait time. But after expand the wait time a little, the AUX reply flag would be set, so maybe the wait time is a little critical. Besides the anal

[PATCH v12 15/18] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-23 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit:

[PATCH v12 14/18] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-23 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit: drm/exynos: do not s

[PATCH v12 13/18] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-23 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javier Marti

[PATCH v12 12/18] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-23 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v12: None Changes in v11: None Changes in v10: - Remove the surplus "plat_data" check.

[PATCH v12 11/18] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-12-23 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Chang

[PATCH v12 10/18] dt-bindings: add document for rockchip dp phy

2015-12-23 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v12: None Changes in v11: - Correct the title of this rockchip dp phy document(Rob) - Add the ack from Rob Herring Changes in v10: None Changes

[PATCH v12 09/18] phy: Add driver for rockchip Display Port PHY

2015-12-23 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v12: - Re-order the include headers file alphabetically in phy-rockchip-dp.c (Jingoo) Changes in v11: None C

[PATCH v12 08/18] dt-bindings: add document for rockchip variant of analogix_dp

2015-12-23 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v12: None Changes in v11: None Changes in v10: - Add the ack from

[PATCH v12 07/18] drm: rockchip: dp: add rockchip platform dp driver

2015-12-23 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang --- Changes in v12: None Changes in v11: None Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP indentation in Kconf

[PATCH v12 06/18] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-23 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[PATCH v12 05/18] dt-bindings: add document for analogix display port driver

2015-12-23 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring --- Changes in v

[PATCH v12 04/18] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-12-23 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by: Yakir

[PATCH v12 03/18] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-23 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

[PATCH v12 02/18] drm: bridge: analogix/dp: fix some obvious code style

2015-12-23 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Acked-by: Jingoo Han Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v12: - Add the ack from Jingoo Ch

[PATCH v12 01/18] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-23 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export six hooks. "analogix_dp_bind()" and "analogix_dp_unbind()" "analogix_dp_suspned()" and "analogix_dp

[PATCH v12 0/18] Add Analogix Core Display Port Driver

2015-12-23 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp contro

[PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 06:20:33PM +0100, Jean-Francois Moine wrote: > On Wed, 23 Dec 2015 10:05:34 + > Liviu Dudau wrote: > > > > What was the reason to keep the "ports" node instead of the device? > > > > The function is an extract of common code sprinkled through a few DRM > > drivers, >

[Bug 64661] udl causes blank screen

2015-12-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=64661 --- Comment #8 from Jason Schulz --- (In reply to Austin Robertson from comment #7) > What versions of the nVidia driver and kernel do you have this working with? > I've been trying to resolve the same problem. I am currently using version 4.3.3

[PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Jean-Francois Moine
On Wed, 23 Dec 2015 10:05:34 + Liviu Dudau wrote: > > What was the reason to keep the "ports" node instead of the device? > > The function is an extract of common code sprinkled through a few DRM drivers, > they all used port rather than port->parent. Sorry for I could find such drivers. Ma

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2015-12-23 Thread bugzilla-dae...@freedesktop.org
this sort of error. -- 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/20151223/377aa8fe/attachment.html>

HDLCD tree for linux-next

2015-12-23 Thread Liviu Dudau
Hi Stephen, I would like to add the HDLCD DRM driver tree to linux-next. I'm planning to send a pull request for inclusion into v4.5 and I hope that getting a wider exposure for a few weeks is beneficial. Please add the following git tree: git://linux-arm.org/linux-ld for-upstream/hdlcd It i

[PATCH] drm/amd/powerplay: drop dual include.

2015-12-23 Thread Dave Airlie
From: Dave Airlie Seems to get included twice. Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index eb0f1b2..f997b8d 100644 --- a/

[PATCH 8/8] ASoC: AMD: Manage ACP 2.x SRAM banks power

2015-12-23 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP SRAM banks gets turned on when ACP is powered on. Not all banks are used for playback/capture. So, power on required banks during audio device open and power off during audio device close. Signed-off-by: Maruthi Bayyavarapu Reviewed-by: Alex Deucher Signe

[PATCH 7/8] ASoC: AMD: add pm ops

2015-12-23 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu genpd will power off/on ACP to manage runtime ACP PM. ACP runtime PM hooks are added to get it deinitialized and initialized respectively, after it is powered off/on. When system goes to suspend when audio usecase is active, ACP will be powered off through genp

[PATCH 6/8] ASoC: AMD: add AMD ASoC ACP 2.x DMA driver

2015-12-23 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP IP has internal DMA controller with multiple channels which can be programmed in cyclic/non cyclic manner. ACP can generate interrupt upon completion of DMA transfer, if required. The PCM driver provides the platform DMA component to ALSA core. Signed-off-b

[PATCH 4/8] drm/amd: add pm domain for ACP IP sub blocks

2015-12-23 Thread Alex Deucher
From: Maruthi Srinivas Bayyavarapu ACP IP have internal DMA controller, DW I2S controller and DSPs as separate power tiles. DMA and I2S devices are added to generic pm domain, so that entire IP can be powered off/on at appropriate times. Unused DSPs are made to be powered off though they are powe

[PATCH 3/8] drm/amd: add ACP driver support

2015-12-23 Thread Alex Deucher
From: Maruthi Bayyavarapu This adds the ACP (Audio CoProcessor) IP driver and wires it up to the amdgpu driver. The ACP block provides the DMA engine for i2s based ALSA driver. This is required for audio on APUs that utilize an i2s codec. Acked-by: Christian König Reviewed-by: Jammy Zhou Rev

[PATCH 2/8] drm/amdgpu: add irq domain support

2015-12-23 Thread Alex Deucher
Hardware blocks on the GPU like ACP generate interrupts in the GPU interrupt controller, but are driven by a separate driver. Add an irq domain to the GPU driver so that blocks like ACP can register a Linux interrupt. Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/a

[PATCH 1/8] drm/amdgpu/cgs: add an interface to access PCI resources

2015-12-23 Thread Alex Deucher
This provides an interface to get access to the base address of PCI resources (MMIO, DOORBELL, etc.). Only MMIO and DOORBELL are implemented right now. This is necessary to properly utilize shared drivers on platform devices. IP modules can use this interface to get the base address of the resou

[PATCH 0/8] Add ASoC support for AMD APUs [v6]

2015-12-23 Thread Alex Deucher
This patch set implements support for i2s audio and new AMD GPUs. The i2s codec is fed by a DMA engine on the GPU. To handle this we create mfd cells which we hang the i2s codec and DMA engine on. Because of this, this patch set covers two subsystems: drm and alsa. The drm patches add support for

[PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-23 Thread Yakir Yang
Hi Jingoo, On 12/23/2015 12:24 PM, Yakir Yang wrote: > Hi Jingoo, > > On 12/22/2015 08:26 PM, Jingoo Han wrote: >> On Wednesday, December 16, 2015 12:58 PM, Yakir Yang wrote: >>> After test on rockchiop platform, i found sometims driver would failed >>> at reading EDID message. After debugging mor

[PULL] topic/drm-misc

2015-12-23 Thread Daniel Vetter
Hi Dave, Just one more patch in drm-misc before I disappear into the swiss alps. I was a bit on the fence whether this should go into -fixes, but then figured meh. If it blows up in reality (the linked bug is just our QA) we can always cherry-pick afterwards. Cheers, Daniel The following change

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2015-12-23 Thread bugzilla-dae...@freedesktop.org
ngl.org/sdk/docs/man/html/glDrawElementsBaseVertex.xhtml -- 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/20151223/5792daca/attachment.html>

[PATCH] drm/vc4: fix build warning

2015-12-23 Thread Sudip Mukherjee
We were getting build warning: drivers/gpu/drm/vc4/vc4_validate.c: In function 'validate_gl_shader_rec': drivers/gpu/drm/vc4/vc4_validate.c:864:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] DRM_ERROR("BO offset overflow (%d + %d > %d)\n", vb

[PULL] drm-intel-fixes

2015-12-23 Thread Jani Nikula
Hi Dave (and/or Linus, depending on the new arrival and eggnog schedules) - Here's a batch of i915 fixes all around. It may be slightly bigger than one would hope for at this stage, but they've all been through testing in our -next before being picked up for v4.4. Also, I missed Dave's fixes pull

[PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-23 Thread Yakir Yang
Hi Jingoo, On 12/22/2015 08:26 PM, Jingoo Han wrote: > On Wednesday, December 16, 2015 12:58 PM, Yakir Yang wrote: >> After test on rockchiop platform, i found sometims driver would failed >> at reading EDID message. After debugging more, i found that it's okay >> to read_a byte from i2c, but it w

[PATCH v6.3 4/6] drm: rockchip: Support Synopsys DW MIPI DSI

2015-12-23 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- Changes in v6.3: - move the mipi_en gate to ockchip_drm_crtc_mode_config Changes in v6.2: - Remove the atomic feature check (Mark Yao) Changes in v6.1: - Add atomic API

[PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Dave Airlie
On 23 December 2015 at 03:38, Liviu Dudau wrote: > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: >> Hello, >> >> This is v2 of the patchset trying to make drm_of_component_probe() cope with >> finding >> both local crtc ports and remote encoder ones. Heiko Stübner was nice >> eno

[Bug 93292] "Thea: The Awakening" world map textures not rendered (blue background)

2015-12-23 Thread bugzilla-dae...@freedesktop.org
L attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151223/7dfb326d/attachment-0001.html>

[PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Jean-Francois Moine
On Tue, 22 Dec 2015 17:38:00 + Liviu Dudau wrote: > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > Hello, > > > > This is v2 of the patchset trying to make drm_of_component_probe() cope > > with finding > > both local crtc ports and remote encoder ones. Heiko Stübner was

[PATCH] drm/amd/powerplay: drop dual include.

2015-12-23 Thread Alex Deucher
On Tue, Dec 22, 2015 at 11:17 PM, Dave Airlie wrote: > From: Dave Airlie > > Seems to get included twice. > > Signed-off-by: Dave Airlie Reviewed-by: Alex Deucher Do you want to pull this in directly, or should I queue it for my next pull request? > --- > drivers/gpu/drm/amd/powerplay/inc/h

[PULL] drm-intel-fixes

2015-12-23 Thread Linus Torvalds
On Wed, Dec 23, 2015 at 2:40 AM, Jani Nikula wrote: > > > git://anongit.freedesktop.org/drm-intel tags/drm-intel-fixes-2015-12-23 Btw, since you're already using tags, mind using *signed* tags instead? It's just good housekeeping.. Linus

[PULL] drm-intel-fixes

2015-12-23 Thread Linus Torvalds
On Wed, Dec 23, 2015 at 2:40 AM, Jani Nikula wrote: > > Hi Dave (and/or Linus, depending on the new arrival and eggnog > schedules) - I'll pull it directly. Dave just sent me his pending drm fixes, he may or may not be around any more, it's already christmas eve down under. Linus

[Intel-gfx] [PULL] drm-intel-next

2015-12-23 Thread Chris Wilson
On Tue, Dec 22, 2015 at 04:31:22PM +, Tvrtko Ursulin wrote: > > On 22/12/15 14:31, Chris Wilson wrote: > >On Tue, Dec 22, 2015 at 03:05:14PM +0100, Daniel Vetter wrote: > >>On Tue, Dec 22, 2015 at 11:37:18AM +0100, Daniel Vetter wrote: > >>>Hi Dave, > >>> > >>>Final 4.5 feature pull for drm/i9

[PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:03:00AM +, Daniel Stone wrote: > Hi, > > On 22 December 2015 at 17:41, Liviu Dudau wrote: > > The HDLCD controller is a display controller that supports resolutions > > up to 4096x4096 pixels. It is present on various development boards > > produced by ARM Ltd and e

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2015-12-23 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/intel_display.c between commit: 57a2af6bbc7a ("drm/i915: Kill intel_crtc->cursor_bo") from the drm-intel-fixes tree and commit: 6285262259ca ("drm/i915: Only run commit when crtc is active, v2.")

[PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:39:06AM +0100, Jean-Francois Moine wrote: > On Tue, 22 Dec 2015 17:38:00 + > Liviu Dudau wrote: > > > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > > Hello, > > > > > > This is v2 of the patchset trying to make drm_of_component_probe() cope > >

[PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Daniel Stone
Hi, On 22 December 2015 at 17:41, Liviu Dudau wrote: > The HDLCD controller is a display controller that supports resolutions > up to 4096x4096 pixels. It is present on various development boards > produced by ARM Ltd and emulated by the latest Fast Models from the > company. I didn't get to tak

[PATCH v11 02/19] drm: bridge: analogix/dp: fix some obvious code style

2015-12-23 Thread Yakir Yang
On 12/22/2015 08:05 PM, Jingoo Han wrote: > On Wednesday, December 16, 2015 12:26 PM, Yakir Yang wrote: >> Fix some obvious alignment problems, like alignment and line >> over 80 characters problems, make this easy to be maintained >> later. >> >> Signed-off-by: Yakir Yang >> Reviewed-by: Krzyszt

[PATCH v11 03/19] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-23 Thread Yakir Yang
Hi Jingoo, Thanks for your respond. On 12/22/2015 08:09 PM, Jingoo Han wrote: > On Wednesday, December 16, 2015 12:28 PM, Yakir Yang wrote: >> link_rate and lane_count already configured in analogix_dp_set_link_train(), >> so we don't need to config those repeatly after training finished, just >>

[PATCH v11 06/19] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-23 Thread Yakir Yang
On 12/22/2015 08:13 PM, Jingoo Han wrote: > On Wednesday, December 16, 2015 12:35 PM, Yakir Yang wrote: >> After exynos_dp have been split the common IP code into analogix_dp driver, >> the analogix_dp driver have deprecated some Samsung platform properties which >> could be dynamically parsed fro

[PATCH v11 09/19] phy: Add driver for rockchip Display Port PHY

2015-12-23 Thread Yakir Yang
Hi Jingoo, Thanks for your respond. On 12/22/2015 08:20 PM, Jingoo Han wrote: > On Wednesday, December 16, 2015 12:41 PM, Yakir Yang wrote: >> Add phy driver for the Rockchip DisplayPort PHY module. This >> is required to get DisplayPort working in Rockchip SoCs. >> >> Signed-off-by: Yakir Yang

[Bug 64661] udl causes blank screen

2015-12-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=64661 Austin Robertson changed: What|Removed |Added CC||austinrobertson at gmail.com --- Comme

[git pull] drm fixes

2015-12-23 Thread Dave Airlie
Hi Linus, Not much happening, should have dequeued this lot earlier, One amdgpu, one nouveau and one exynos fix. Dave. The following changes since commit 76b8ebdc4c7a8299e6365428a36cc0fb1c2a4103: Merge tag 'media/v4.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2015-12-23 Thread bugzilla-dae...@freedesktop.org
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151223/07652dce/attachment.html>

[Bug 80419] XCOM: Enemy Unknown Causes lockup

2015-12-23 Thread bugzilla-dae...@freedesktop.org
An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151223/7a050f40/attachment.html>