[PATCH 3/4 v2] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-08-29 Thread John Stultz
From: Srinivas Kandagatla This patch enables the Audio Data and Clock pads to the adv7533 bridge. Without this patch audio can not be played. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy

[PATCH 4/4 v2] drm/bridge: adv7511: Initialize audio packet on adv7533

2016-08-29 Thread John Stultz
From: Andy Green Set the initial audio packet settings to allow the audio driver to work. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Cc: Zhangfei

[PATCH 2/4 v2] drm/bridge: adv7511: Add Audio support.

2016-08-29 Thread John Stultz
This patch adds support to Audio for both adv7511 and adv7533 bridge chips. This patch was originally from [1] by Lars-Peter Clausen and was adapted by Archit Taneja and Srinivas Kandagatla . Then I heavily reworked it to use the hdmi-codec driver. So credit to them, but blame to me. [1] http

[Bug 92912] Full GPU lockups in TF2 - R600

2016-08-29 Thread bugzilla-dae...@freedesktop.org
|RESOLVED -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160829/039bef3e/attachment.html>

[PATCH] drm/nouveau/pm: mark symbols static where possible

2016-08-29 Thread Baoyou Xie
We get 2 warnings when biuld kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c:75:1: warning: no previous prototype for 'nvkm_perfsig_find' [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c:703:1: warning: no previous prototype for 'nvkm_perfsrc_new' [-Wmissing-pro

[PATCH] drm/nouveau/gr/gf117-: mark symbols static where possible

2016-08-29 Thread Baoyou Xie
We get 1 warning when biuld kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c:222:1: warning: no previous prototype for 'gf117_grctx_generate_main' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-29 Thread Baoyou Xie
We get 1 warning when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no previous prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but ca

Kernel Freeze with American Megatrends BIOS

2016-08-29 Thread Roland Singer
Just tried it and the system didn't freeze. However it will freeze after some time (few minutes while working). Seams to be pci_read_config_dword. Where is this exactly defined? Am 29.08.2016 um 21:07 schrieb Bjorn Helgaas: > On Mon, Aug 29, 2016 at 08:46:17PM +0200, Roland Singer wrote: >> Hi B

[PATCH/RFC] drm: tilcdc: Evaluate pixelclk-active property from display-timings

2016-08-29 Thread Teresa Remmet
The pixel clock "polarity" is set for tilcdc panels with the invert-pxl-clk property. But if we have several display-timings with different pixel clock setups we need to set the values depending on the selected display-timing. Check for the pixelclk-active property and invert the value if invert-px

[PATCH RESEND] drm: bridge/dw-hdmi: Fix colorspace and scan information registers values

2016-08-29 Thread Russell King - ARM Linux
On Mon, Aug 29, 2016 at 10:17:04AM +0100, Jose Abreu wrote: > Colorspace and scan information values were being written in wrong > offsets. This patch corrects this and writes the values at the > offsets specified in the databook. > > Signed-off-by: Jose Abreu > Acked-by: Russel King That's "Ru

[PATCH RESEND] drm: bridge/dw-hdmi: Fix colorspace and scan information registers values

2016-08-29 Thread Jose Abreu
On 29-08-2016 10:21, Russell King - ARM Linux wrote: > On Mon, Aug 29, 2016 at 10:17:04AM +0100, Jose Abreu wrote: >> Colorspace and scan information values were being written in wrong >> offsets. This patch corrects this and writes the values at the >> offsets specified in the databook. >> >> Si

[PATCH] drm: drm_probe_helper: Fix output_poll_work scheduling

2016-08-29 Thread Peter Ujfalusi
drm_kms_helper_poll_enable_locked() should check if we have delayed event pending and if we have, schedule the work to run without delay. Currently the output_poll_work is only scheduled if any of the connectors have DRM_CONNECTOR_POLL_CONNECT or DRM_CONNECTOR_POLL_DISCONNECT with DRM_OUTPUT_POLL_

[PATCH 1/2] drm/etnaviv: fail probe if core or bus clock are absent

2016-08-29 Thread Russell King - ARM Linux
On Mon, Aug 29, 2016 at 12:47:20PM +0200, Lucas Stach wrote: > Core, bus and shader are all module input clocks. If the SoC integration > provides the same clock for all inputs, the DT should reflect this by > supplying the same clock for all 3 inputs. You're making an assertion that we don't know

[PATCH] fix:overlay: add missing header dependencies

2016-08-29 Thread Arnd Bergmann
On Sunday, August 28, 2016 1:02:52 PM CEST Baoyou Xie wrote: > We get 1 warning when build kernel with W=1: > drivers/gpu/drm/nouveau/dispnv04/overlay.c:496:1: warning: no previous > prototype for 'nouveau_overlay_init' [-Wmissing-prototypes] > > In fact, this function is declared in disp.h, so t

[PATCH] drm/nouveau/gr: mark symbols static where possible

2016-08-29 Thread Baoyou Xie
We get 1 warning when biuld kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no previous prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but ca

[PATCH v2] drm/nouveau: add missing header dependencies

2016-08-29 Thread Baoyou Xie
We get 1 warning when build kernel with W=1: drivers/gpu/drm/nouveau/dispnv04/overlay.c:496:1: warning: no previous prototype for 'nouveau_overlay_init' [-Wmissing-prototypes] In fact, this function is declared in disp.h, so this patch add missing header dependencies Signed-off-by: Baoyou Xie -

[PATCH] drm/nouveau/gr: add missing header dependencies

2016-08-29 Thread Baoyou Xie
We get 2 warnings when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c:255:1: warning: no previous prototype for 'nv50_grctx_fill' [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c:265:1: warning: no previous prototype for 'nv50_grctx_init' [-Wmissing

[PATCH v2] drm/nouveau/gr/gf117-: mark symbols static where possible

2016-08-29 Thread Baoyou Xie
We get 1 warning when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c:222:1: warning: no previous prototype for 'gf117_grctx_generate_main' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can

[PATCH] drm/nouveau/gr/gm107: mark symbols static where possible

2016-08-29 Thread Baoyou Xie
We get 1 warning when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c:312:1: warning: no previous prototype for 'gm107_gr_init' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static

[PATCH v2] drm/nouveau/pm: mark nvkm_perfsig_find() static

2016-08-29 Thread Baoyou Xie
We get 2 warnings when build kernel with W=1: drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c:75:1: warning: no previous prototype for 'nvkm_perfsig_find' [-Wmissing-prototypes] drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c:703:1: warning: no previous prototype for 'nvkm_perfsrc_new' [-Wmissing-pro

[PATCH] drm: drm_probe_helper: Fix output_poll_work scheduling

2016-08-29 Thread Peter Ujfalusi
On 08/29/16 15:58, Daniel Vetter wrote: > On Mon, Aug 29, 2016 at 12:50:22PM +0300, Peter Ujfalusi wrote: >> drm_kms_helper_poll_enable_locked() should check if we have delayed event >> pending and if we have, schedule the work to run without delay. >> >> Currently the output_poll_work is only sche

[PATCH 1/1] drm: i915: don't use OpRegion for XPS 13 IvyBridge

2016-08-29 Thread Andrea Arcangeli
On Mon, Aug 29, 2016 at 10:24:38AM +0300, Jani Nikula wrote: > If it's an Iybridge, there's no low vswing, and that explanation is > false. You can verify by trying i915.edp_vswing=1 or i915.edp_vswing=2 > on an unpatched kernel. What I should look for when trying those two settings? Will they suc

Kernel Freeze with American Megatrends BIOS

2016-08-29 Thread Bjorn Helgaas
[+cc linux-acpi, linux-kernel, dri-devel] Hi Roland, I have no idea how to debug this problem. Are you seeing something that suggests it may be a PCI problem? On Tue, Aug 23, 2016 at 11:23:45AM +0200, Roland Singer wrote: > Hi, > > hope somebody can help me fix this kernel problem which affect

[PATCH v2] drm/nouveau/gr: mark gm107_grctx_generate_tpcid() static

2016-08-29 Thread Sean Paul
On Mon, Aug 29, 2016 at 9:02 AM, Baoyou Xie wrote: > We get 1 warning when build kernel with W=1: > drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c:937:1: warning: no previous > prototype for 'gm107_grctx_generate_tpcid' [-Wmissing-prototypes] > > In fact, this function is only used in the file

[PATCH 1/1] drm: i915: don't use OpRegion for XPS 13 IvyBridge

2016-08-29 Thread Andrea Arcangeli
On Mon, Aug 29, 2016 at 10:24:38AM +0300, Jani Nikula wrote: > If it's an Iybridge, there's no low vswing, and that explanation is > false. You can verify by trying i915.edp_vswing=1 or i915.edp_vswing=2 > on an unpatched kernel. CC'ed Martin who filed the bz, he can reproduce too https://bugzilla

Kernel Freeze with American Megatrends BIOS

2016-08-29 Thread Roland Singer
Hi Bjorn, I am using the bbswitch kernel module to switch off/on the GPU and to obtain the GPU power state. Obtaining the GPU state immediately after starting the graphical user session freezes the system. This code triggers something, which is responsible for the freeze. --- // Returns 1 if the

Kernel Freeze with American Megatrends BIOS

2016-08-29 Thread Bjorn Helgaas
On Mon, Aug 29, 2016 at 08:46:17PM +0200, Roland Singer wrote: > Hi Bjorn, > > I am using the bbswitch kernel module to switch off/on the GPU and > to obtain the GPU power state. > Obtaining the GPU state immediately after starting the graphical user > session freezes the system. > > This code tr

Kernel Freeze with American Megatrends BIOS

2016-08-29 Thread Bjorn Helgaas
On Mon, Aug 29, 2016 at 09:55:56PM +0200, Roland Singer wrote: > Just tried it and the system didn't freeze. However it will freeze > after some time (few minutes while working). > > Seams to be pci_read_config_dword. Where is this exactly defined? pci_read_config_dword() is defined in include/li

<    1   2