Enable CONFIG_VGA_SWITCHEROO cause lspci on MSI GS60-070XCN stuck

2016-02-24 Thread Drunkard Zhang
eedesktop.org/archives/dri-devel/attachments/20160224/e0a8366b/attachment-0001.obj>

[Bug 94284] outlast segfault on start

2016-02-24 Thread bugzilla-dae...@freedesktop.org
-8< -- 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/20160224/f3169240/attachment.html>

[PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-24 Thread Ville Syrjälä
On Wed, Feb 24, 2016 at 01:06:39PM +0200, Tomi Valkeinen wrote: > Hi, > > On 24/02/16 01:30, Stefan Agner wrote: > > Any comments on this? > > > > Also added Manfred, Tomi and Boris to CC which previously attended in > > similar discussions. > > > > Previous discussions: > > http://thread.gmane.

[Intel-gfx] [PATCH 2/4] drm/i915: Respect DP++ adaptor TMDS clock limit

2016-02-24 Thread Ville Syrjälä
On Tue, Feb 23, 2016 at 06:46:26PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Try to detect the max TMDS clock limit for the DP++ adaptor (if any) > and take it into account when checking the port clock. > > Note that as with the sink (HDMI vs. DVI) TMDS clock li

[PATCH v4 22/22] drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data

2016-02-24 Thread Jyri Sarha
Use devm_kzalloc() and devm_kcalloc() for private data allocation at driver load time. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 4 +--- drivers/gpu/drm/tilcdc/tilcdc_drv.c| 19 +++ drivers/gpu/drm/tilcdc/tilcdc_panel.c | 20 ++--

[PATCH v4 21/22] drm/tilcdc: Initialize crtc->port

2016-02-24 Thread Jyri Sarha
Initialize port device node pointer in the tilcdc crtc. Fixes "Falling back to first CRTC" warning from tda998x driver. The tda998x encoder driver calls drm_of_find_possible_crtcs() to initialize possible_crtcs of struct drm_encoder. The crtc->port needs to be initialized for drm_of_find_possible_

[PATCH v4 20/22] drm/tilcdc: Disable sync lost interrupt if it fires on every frame

2016-02-24 Thread Jyri Sarha
Disable the sync lost interrupt if it fires on every frame for 50 consecutive frames in a row. This is relatively sure sign of the sync lost interrupt being stuck and firing on every frame even if the display otherwise appears to work OK. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilc

[PATCH v4 19/22] drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts

2016-02-24 Thread Jyri Sarha
Add ratelimited prints on sync lost and FIFO underrun interrupts. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 8 drivers/gpu/drm/tilcdc/tilcdc_drv.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c

[PATCH v4 18/22] drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in registers[]

2016-02-24 Thread Jyri Sarha
Removes the duplicate LCDC_INT_ENABLE_SET_REG-entry in registers array. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 964e192

[PATCH v4 17/22] drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc

2016-02-24 Thread Jyri Sarha
Fix interrupt enable/disable code for version 2 tilcdc. In version 2 tilcdc there is a separate register for disabling interrupts. Writing 0 to enable registers bits does not have any effect. The interrupt clear register works the same way, writing 1 to specific bit disables the interrupt and writi

[PATCH v4 16/22] drm/tilcdc: Do not update the next frame buffer close to vertical blank

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Do not update the next frame buffer close to vertical blank. This is to avoid situation when the frame changes between writing of LCDC_DMA_FB_BASE_ADDR_0_REG and LCDC_DMA_FB_CEILING_ADDR_0_REG. Signed-off-by: Tomi Valkeinen [Added description to the patch] Signed-off-by: Jy

[PATCH v4 15/22] drm/tilcdc: Get rid of complex ping-pong mechanism

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Get rid of complex ping-pong mechanism and replace it with simpler single buffer flipping code. The LCDC HW appears to be designed mainly static framebuffers in mind. There are two modes of operation, either static single buffer, or ping pong double buffering with two static

[PATCH v4 14/22] drm/tilcdc: cleanup irq handling

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Cleanup irq handling. Clear the irq status unconditionally and restructure the status bit conditions. Signed-off-by: Tomi Valkeinen [Added description to the patch] Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 9 + 1 file changed, 5 inserti

[PATCH v4 13/22] drm/tilcdc: remove broken error handling

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Remove broken error handling. The condition for handling the LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW could never be satisfied as the LCDC_SYNC_LOST interrupt is not enabled. Also the requirement to have both LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW fired at once before handling

[PATCH v4 12/22] drm/tilcdc: split reset to a separate function

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Split reset to a separate function and use usleep_range(250, 1000) instead of msleep(1) to to keep the reset bit on long enough. Signed-off-by: Tomi Valkeinen [Added description to the patch, changed mdelay(500) to usleep_range(250, 1000)] Signed-off-by: Jyri Sarha --- dr

[PATCH v4 11/22] drm/tilcdc: disable crtc on unload

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Disable crtc on unload. Call tilcdc_crtc_dpms() with DRM_MODE_DPMS_OFF in the beginning of unload function. Signed-off-by: Tomi Valkeinen [Added description to the patch] Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 ++ 1 file changed, 2 insertion

[PATCH v4 10/22] drm/tilcdc: cleanup runtime PM handling

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen Cleanup runtime PM handling. Before the patch the usage of pm_runtime calls was inconsistent and hard to follow. After the update the pm_runtime calls are removed from set_scanout() and called around major operations that access the HW. After the patch the DPMS code does not

[PATCH v4 09/22] drm/tilcdc: Allocate register storage based on the actual number registers

2016-02-24 Thread Jyri Sarha
Allocate suspend/resume register storage based on the actual number registers the driver is aware of. The static allocation for register storage had fallen behind badly. Reported-by: Michael Bode Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 21 - drive

[PATCH v4 08/22] drm/tilcdc: fix build error when !CONFIG_CPU_FREQ

2016-02-24 Thread Jyri Sarha
From: Grygorii Strashko Fix build error when !CONFIG_CPU_FREQ drivers/gpu/drm/tilcdc/tilcdc_drv.c: In function 'tilcdc_load': drivers/gpu/drm/tilcdc/tilcdc_drv.c:327:1: error: label 'fail_put_clk' defined but not used [-Werror=unused-label] fail_put_clk: ^ Signed-off-by: Grygorii Strashko Si

[PATCH v4 07/22] drm/tilcdc: Implement dma-buf support for tilcdc

2016-02-24 Thread Jyri Sarha
There is nothing special about tilcdc HW when the video memory is concerned. Just using the standard drm helpers for implementation is enough. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v4 06/22] drm/tilcdc: disable the lcd controller/dma engine when suspend invoked

2016-02-24 Thread Jyri Sarha
From: Darren Etheridge The LCD controller must be deactivated and all DMA transactions stopped when the suspend power state is entered otherwise the PRCM causes the L3 bus to get stuck in transition state. This commit forces the lcdc to be shut down and waits for all pending DMA transactions to

[PATCH v4 05/22] drm/tilcdc: make frame_done interrupt active at all times

2016-02-24 Thread Jyri Sarha
From: Darren Etheridge The frame_done interrupt was only being enabled when the vsync interrupts were being enabled by DRM. However the frame_done is used to determine if the LCD controller has successfully completed the raster_enable, raster_disable commands and the vsync interrupts are not alw

[PATCH v4 04/22] drm/tilcdc: fix kernel panic on suspend when no hdmi monitor connected

2016-02-24 Thread Jyri Sarha
From: Darren Etheridge On BeagleBone Black if no HDMI monitor is connected and suspend is requested a kernel panic will result: root at am335x-evm:~# echo mem > /sys/power/state [ 65.548710] PM: Syncing filesystems ... done. [ 65.631311] Freezing user space processes ... (elapsed 0.006 seconds)

[PATCH v4 03/22] drm/tilcdc: adopt pinctrl support

2016-02-24 Thread Jyri Sarha
From: Dave Gerlach Update tilcdc driver to set the state of the pins to: - "default on resume - "sleep" on suspend By optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - minimize current leakage from pins and thus save power, - prevent the IP from

[PATCH v4 02/22] drm/tilcdc: verify fb pitch

2016-02-24 Thread Jyri Sarha
From: Tomi Valkeinen LCDC hardware does not support fb pitch that is different (i.e. larger) than the screen size. The driver currently does no checks for this, and the results of too big pitch are are flickering and lower fps. This issue easily happens when using libdrm's modetest tool with non

[PATCH v4 01/22] drm/tilcdc: rewrite pixel clock calculation

2016-02-24 Thread Jyri Sarha
From: Darren Etheridge Updating the tilcdc DRM driver code to calculate the LCD controller pixel clock more accurately. Based on a suggested implementation by Tomi Valkeinen. The current code does not work correctly and produces wrong results with many requested clock rates. It also oddly uses t

[PATCH v4 00/22] drm/ticdc: Accumulated fixes over the past couple of years

2016-02-24 Thread Jyri Sarha
... and yet one more round. Changes since v3: - 21/22 "drm/tilcdc: Initialize crtc->port" - Return an error and don't use scary WARN but simple dev_err() instead - 22/22 "drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data" - Tested module loading and unloading with all relevant

[PATCH] drm/nouveau: platform: Fix deferred probe

2016-02-24 Thread Thierry Reding
From: Thierry Reding The error cleanup paths aren't quite correct and will crash upon deferred probe. Cc: stable at vger.kernel.org # v4.3+ Signed-off-by: Thierry Reding --- drivers/gpu/drm/nouveau/nouveau_platform.c | 2 +- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 40

[PATCH v2] gpu: host1x: Set DMA ops on device creation

2016-02-24 Thread Alexandre Courbot
Currently host1x-instanciated devices have their dma_ops left to NULL, which makes any DMA operation (like buffer import) on ARM64 fallback to the dummy_dma_ops and fail with an error. This patch calls of_dma_configure() with the host1x node when creating such a device, so the proper DMA operation

[Bug 94153] Unresponsive system on boot with radeon + HD 3870

2016-02-24 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/f7761a52/attachment.html>

[PATCH v7 0/5] Add mipi dsi support for rk3288

2016-02-24 Thread Xinliang Liu
On 8 February 2016 at 18:12, Archit Taneja wrote: > Hi, > > On 01/06/2016 09:33 AM, Chris Zhong wrote: >> >> >> The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller >> IP. This series adds support for a Synopsys DesignWare MIPI DSI host >> controller DRM driver. >> >> The MIPI DSI

[PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-24 Thread Alexandre Courbot
On 02/24/2016 01:04 AM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:54PM +0900, Alexandre Courbot wrote: >> The default DMA mask covers a 32 bits address range, but tegradrm can >> address more than that. Set the DMA mask to the actual addressable range

[PATCH 1/2] drm/tegra: Set DMA ops

2016-02-24 Thread Alexandre Courbot
On 02/24/2016 12:28 AM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:53PM +0900, Alexandre Courbot wrote: >> The current settings leaves the DRM device's dma_ops field NULL, which >> makes it use the dummy DMA ops on arm64 and return an error whenever we

[PATCH v2 13/13] dt-bindings: msm/hdmi: Add HDMI PHY bindings

2016-02-24 Thread Kishon Vijay Abraham I
Hi Archit, On Tuesday 23 February 2016 03:06 PM, Archit Taneja wrote: > > > On 02/23/2016 12:57 AM, Rob Herring wrote: >> On Mon, Feb 22, 2016 at 5:07 AM, Archit Taneja >> wrote: >>> >>> >>> On 02/22/2016 08:24 AM, Rob Herring wrote: On Mon, Feb 15, 2016 at 12:23:26PM +0530, Archit T

[Bug 93826] 144Hz graphic glitches and bad refresh rate

2016-02-24 Thread bugzilla-dae...@freedesktop.org
e for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/cf42bf64/attachment.html>

[PATCH] drm/rockchip: support prime fd import

2016-02-24 Thread Daniel Stone
Hi, On 24 February 2016 at 16:01, Emil Velikov wrote: > On 23 February 2016 at 23:56, Rob Clark wrote: >> On Tue, Feb 23, 2016 at 6:29 PM, Emil Velikov >> wrote: >>> On 2 February 2016 at 23:37, Zach Reizner wrote: The prime fd to handle ioctl was not used with rockchip before. Support >

[4.4-rc1][Regression] drm/i915: Check live status before reading edid

2016-02-24 Thread Joseph Salisbury
Hi Sonika, A kernel bug report was opened against Ubuntu [0]. After a kernel bisect, it was found that reverting the following commit resolved this bug: commit 237ed86c693d8a8e4db476976aeb30df4deac74b Author: Sonika Jindal Date: Tue Sep 15 09:44:20 2015 +0530 drm/i915: Check live status

[pull] radeon and amdgpu drm-fixes-4.5

2016-02-24 Thread Alex Deucher
Hi Dave, A few radeon and amdgpu fixes for 4.5. A few further fixes for the vblank regressions in 4.4 and a couple of other minor fixes. The following changes since commit 4fbbed46dca83bcba3a0170205110a06c116a8e6: drm/nouveau: use post-decrement in error handling (2016-02-19 13:36:05 +1000)

[REGRESSION] i915: No HDMI output with 4.4

2016-02-24 Thread Oleksandr Natalenko
24.02.2016 06:40, Jindal, Sonika написав: > Do you have logs for the failure with the single link hdmi cable and > the register dump which you have given for the working case? > If not, can you please capture the logs and register dump. > Also which platform is this? > If it is live status r

[REGRESSION] i915: No HDMI output with 4.4

2016-02-24 Thread Oleksandr Natalenko
23.02.2016 17:08, Ville Syrjälä написав: > In the meantime I think as a workaround I think you could use > something like video=HDMI-A-1:e on the kernel command line (not sure > I got the connector name right for your system). I think that should > result in the live status check to be ski

[PATCH] drm/rockchip: support prime fd import

2016-02-24 Thread Emil Velikov
On 23 February 2016 at 23:56, Rob Clark wrote: > On Tue, Feb 23, 2016 at 6:29 PM, Emil Velikov > wrote: >> Hi Zach, >> >> On 2 February 2016 at 23:37, Zach Reizner wrote: >>> The prime fd to handle ioctl was not used with rockchip before. Support >>> was added in order to support potential uses

[PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Geert Uytterhoeven
Hi Alex, On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Geert Uytterhoeven [mailto:geert+renesas at glider.be] >> Sent: Wednesday, February 24, 2016 3:14 AM >> To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi >> Cc: dri-devel at lists.f

[Bug 92806] 1 second freezes during new effects UT4

2016-02-24 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/5344aac2/attachment.html>

[Bug 93452] kernel crash DRI_PRIME=1 HP zbook 14

2016-02-24 Thread bugzilla-dae...@freedesktop.org
) but with AMD only configuration or Intel IGP is the same. -- 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/20160224/cffe8

[PATCH v4 15/22] drm/tilcdc: Get rid of complex ping-pong mechanism

2016-02-24 Thread Rob Clark
On Wed, Feb 24, 2016 at 11:48 AM, Jyri Sarha wrote: > From: Tomi Valkeinen > > Get rid of complex ping-pong mechanism and replace it with simpler > single buffer flipping code. > > The LCDC HW appears to be designed mainly static framebuffers in > mind. There are two modes of operation, either st

[Bug 92806] 1 second freezes during new effects UT4

2016-02-24 Thread bugzilla-dae...@freedesktop.org
lly when in combat) still persist for the first couple of minutes after. -- 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/20

[PATCH 5/5 v2] drm/exynos: remove incorrect ccflags from Makefile

2016-02-24 Thread Andrzej Hajda
Include directories are provided by core already, adding them in driver is redundand and causes warnings in case of out-of-tree build. Signed-off-by: Andrzej Hajda --- v2: - fixed include in exynos_drm_iommu.c - typo in commit message drivers/gpu/drm/exynos/Makefile | 1 - d

[PATCH v3 22/22] drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data

2016-02-24 Thread Jyri Sarha
On 02/24/16 14:38, Tomi Valkeinen wrote: > > On 23/02/16 17:03, Jyri Sarha wrote: >> Use devm_kzalloc() and devm_kcalloc() for private data allocation at >> driver load time. >> >> Signed-off-by: Jyri Sarha >> --- >> drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 4 +--- >> drivers/gpu/drm/tilcdc/ti

[PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Deucher, Alexander
> -Original Message- > From: Geert Uytterhoeven [mailto:geert+renesas at glider.be] > Sent: Wednesday, February 24, 2016 3:14 AM > To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi > Cc: dri-devel at lists.freedesktop.org; linux-kernel at vger.kernel.org; Geert > Uytterhoeven > Sub

[PATCH v3 22/22] drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data

2016-02-24 Thread Tomi Valkeinen
le, with all the kernel debug options enabled, and a few load/unload module cycles? Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedes

[PATCH 2/4 RESEND] ARC: axs10x: Update defconfigs so that audio is enabled

2016-02-24 Thread Alexey Brodkin
Hi Vineet, On Wed, 2016-02-24 at 04:36 +, Vineet Gupta wrote: > On Tuesday 23 February 2016 07:22 PM, Jose Abreu wrote: > > The defconfigs for the AXS boards were updated so that > > ALSA SoC is enabled and also the audio for the ADV7511 > > HDMI transmitter. > > > > Signed-off-by: Jose Abreu

[PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-24 Thread Tomi Valkeinen
lication/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/89cfa974/attachment.sig>

[Bug 113051] New: Crash on resume

2016-02-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=113051 Bug ID: 113051 Summary: Crash on resume Product: Drivers Version: 2.5 Kernel Version: 4.5rc5 Hardware: All OS: Linux Tree: Mainline Status: NEW

[PATCH 03/33] HACK: drm/omap: fix memory barrier bug in DMM driver

2016-02-24 Thread Tomi Valkeinen
. I'm not sure if that's only for OMAP4, though. I'll drop this patch too from the series, and spend a bit more time on it. This is again something that's a bit tricky to reproduce and test. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/4a1f509e/attachment.sig>

[PATCH 18/33] drm/omap: increase vblank wait timeout

2016-02-24 Thread Tomi Valkeinen
A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/234d0685/attachment.sig>

[PATCH 17/33] drm/omap: remove support for ext mem & sync

2016-02-24 Thread Tomi Valkeinen
mi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/6b4c18bd/attachment.sig>

[PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-24 Thread Philipp Zabel
Am Dienstag, den 23.02.2016, 15:30 -0800 schrieb Stefan Agner: > Any comments on this? None other that I'm all in favor. consider patch 2 Acked-by: Philipp Zabel > Also added Manfred, Tomi and Boris to CC which previously attended in > similar discussions. > > Previous discussions: > http://thr

[PATCH 05/33] drm/omap: partial workaround for DRA7 DMM errata i878

2016-02-24 Thread Tomi Valkeinen
pt doing a memcpy, ruining the performance. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/5905fec9/attachment-0001.sig>

[PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Alex Deucher
On Wed, Feb 24, 2016 at 9:58 AM, Geert Uytterhoeven wrote: > Hi Alex, > > On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander > wrote: >>> -Original Message- >>> From: Geert Uytterhoeven [mailto:geert+renesas at glider.be] >>> Sent: Wednesday, February 24, 2016 3:14 AM >>> To: David Airli

[PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-24 Thread Stefan Agner
On 2016-02-24 03:06, Tomi Valkeinen wrote: > Hi, > > On 24/02/16 01:30, Stefan Agner wrote: >> Any comments on this? >> >> Also added Manfred, Tomi and Boris to CC which previously attended in >> similar discussions. >> >> Previous discussions: >> http://thread.gmane.org/gmane.linux.kernel.api/128

[PATCH 6/6] drm/msm/dsi: Parse DSI lanes via DT

2016-02-24 Thread Archit Taneja
On 02/24/2016 01:34 AM, Rob Herring wrote: > On Tue, Feb 23, 2016 at 01:11:24PM +0200, Tomi Valkeinen wrote: >> >> >> On 23/02/16 12:43, Archit Taneja wrote: >>> >>> >>> On 02/23/2016 02:48 PM, Tomi Valkeinen wrote: On 22/02/16 22:10, Rob Herring wrote: >> If we want all DSI ho

[REGRESSION] i915: No HDMI output with 4.4

2016-02-24 Thread Jindal, Sonika
On 2/23/2016 8:38 PM, Ville Syrjälä wrote: > On Mon, Feb 22, 2016 at 02:32:32PM +0200, Oleksandr Natalenko wrote: >> Ville, Daniel, >> >> any additional info I could provide? I have to return dual-link DVI >> cable back, so let me know if I could reveal more details if necessary. > Unfortunatel

[PATCH 3/6] drm: Fix drm_vblank_pre/post_modeset regression from Linux 4.4

2016-02-24 Thread Vlastimil Babka
On 02/12/2016 08:30 PM, Mario Kleiner wrote: > Changes to drm_update_vblank_count() in Linux 4.4 broke the > behaviour of the pre/post modeset functions as the new update > code doesn't deal with hw vblank counter resets inbetween calls > to drm_vblank_pre_modeset an drm_vblank_post_modeset, as it

[PATCH 3/3] drm/atomic: Refuse to steal encoders from connectors not part of the state.

2016-02-24 Thread Maarten Lankhorst
Hey, Op 18-02-16 om 13:59 schreef Ville Syrjälä: > On Thu, Feb 18, 2016 at 01:43:11PM +0100, Daniel Vetter wrote: >> On Thu, Feb 18, 2016 at 12:18:53PM +0100, Maarten Lankhorst wrote: >>> Op 18-02-16 om 12:07 schreef Daniel Vetter: On Thu, Feb 18, 2016 at 09:54:43AM +0100, Maarten Lankhorst

[PATCH v2 6/6] drm/atomic: Clean up steal_encoder

2016-02-24 Thread Maarten Lankhorst
Now that only encoders can be stolen that are part of the state steal_encoder no longer needs to inspect all connectors, just those that are part of the atomic state. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/drm_atomic_helper.c | 11 ++- 1 file changed, 2 insertions(+), 9 del

[PATCH v2 5/6] drm/atomic: Handle encoder assignment conflicts in a separate check.

2016-02-24 Thread Maarten Lankhorst
The current check doesn't handle the case where we don't steal an encoder, but keep it on the current connector. If we repurpose disable_conflicting_encoders to do the checking, we just have to reject the ones that conflict. Signed-off-by: Maarten Lankhorst Testcase: kms_setmode.invalid-clone-sin

[PATCH v2 4/6] drm/atomic: Handle encoder stealing from set_config better.

2016-02-24 Thread Maarten Lankhorst
Instead of failing with -EINVAL when conflicting encoders are found, the legacy set_config will disable other connectors when encoders conflict. With the cleanup to update_output_state this is a lot easier to implement. set_config only adds connectors to the state that are modified, and because of

[PATCH v2 3/6] drm/atomic: Always call steal_encoder.

2016-02-24 Thread Maarten Lankhorst
There's no need to have a separate function to get the crtc which is stolen, this can already be found when actually stealing the encoder. drm_for_each_connector already checks for connection_mutex, so use that macro now. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/drm_atomic_helper.c

[PATCH v2 2/6] drm/atomic: Pass connector and state to update_connector_routing.

2016-02-24 Thread Maarten Lankhorst
Minor cleanup, connector and connector_state are always non-NULL here. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/drm_atomic_helper.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_h

[PATCH v2 1/6] drm/atomic: Clean up update_output_state.

2016-02-24 Thread Maarten Lankhorst
With the addition of crtc_state->connector_mask other connectors from different crtc's aren't needed any more to determine if a crtc has connectors, so only call add_affected_connectors on the target crtc. This allows a cleanup to first remove all current connectors, then add all set->connectors to

[PATCH v2 0/6] drm/atomic: Fix encoder stealing, v2.

2016-02-24 Thread Maarten Lankhorst
After trying out various ways to handle encoder stealing better I came up with a cleaner way. The first patch cleans up update_output_state and only adds affected connectors. This is required to determine which connectors are not part of the atomic state, and allow disabling them if they have conf

[PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Geert Uytterhoeven
By default, not only this driver is enabled on all platforms, but also generic PM Domains and Multi-Function Devices. Drop the "default y" to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/amd/acp/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/ac

Summer of Code Ideas

2016-02-24 Thread Abheek Ghosh
now what your interest and strengths are. Thus listing > those would be beneficial. This way people can come up with more > 'personalised' ideas, should the ones on the wikis (short of links > atm, sorry) do not suit you. > > Regards, > Emil > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/7d24f035/attachment.html>

[Intel-gfx] [PATCH] drm/i915: Resume DP MST before doing any kind of modesetting

2016-02-24 Thread Thulasimani, Sivakumar
On 2/24/2016 3:41 AM, Lyude wrote: > As it turns out, resuming DP MST is racey since we don't make sure MST > is ready before we start modesetting, it just usually happens to be > ready in time. This isn't the case on all systems, particularly a > ThinkPad T560 with displays connected through the

[REGRESSION] i915: No HDMI output with 4.4

2016-02-24 Thread Sharma, Shashank
Hi Ville, We will look into this in sometime. Right now team is slightly loaded due to project milestone. Last time I looked into this, we dint have this HW to reproduce this issue. Regards Shashank -Original Message- From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] Sent: T

[PATCH 2/4 RESEND] ARC: axs10x: Update defconfigs so that audio is enabled

2016-02-24 Thread Vineet Gupta
On Tuesday 23 February 2016 07:22 PM, Jose Abreu wrote: > The defconfigs for the AXS boards were updated so that > ALSA SoC is enabled and also the audio for the ADV7511 > HDMI transmitter. > > Signed-off-by: Jose Abreu > --- > arch/arc/configs/axs101_defconfig | 3 +++ > arch/arc/configs/axs

[Bug 94275] Separate shader program's variable mismatch

2016-02-24 Thread bugzilla-dae...@freedesktop.org
een marked as a duplicate of bug 79783 *** -- 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/20160224/ec65371f/attachment.html>

[Bug 94275] Separate shader program's variable mismatch

2016-02-24 Thread bugzilla-dae...@freedesktop.org
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/25bf24f8/attachment.html>

[Bug 94242] [radeonsi] Crash while running Fedora mock tool for prompting root (gtksu)

2016-02-24 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: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/761b6b25/attachment.html>

[PATCH 33/33] drm/omap: check if rotation is supported before commit

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:48:08 Tomi Valkeinen wrote: > omapdrm is missing a check on the validity of the rotation property. > This leads to omapdrm possibly trying to use rotation on non-rotateable > framebuffer, which causes the overlay setup to fail. > >

[PATCH 32/33] drm/omap: fix crtc->plane property delegation

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:48:07 Tomi Valkeinen wrote: > Before universal planes we had to have plane specific properties for the > crtc too, as on the hardware level a crtc uses a plane. In other words, > e.g. 'zorder' property was added to both planes and cr

[PATCH 30/33] drm/omap: verify that fb plane pitches are the same

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:48:05 Tomi Valkeinen wrote: > The DSS hardware uses the same ROW_INC value for both Y and UV planes > for NV12 format. This means that the pitches of the Y and UV planes have > to match. omapdrm doesn't check this at the moment, and

[Bug 94272] machinectl shell causes screen to get scrambled

2016-02-24 Thread bugzilla-dae...@freedesktop.org
ssignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/f6bc28ee/attachment-0001.html>

[PATCH 18/33] drm/omap: increase vblank wait timeout

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:53 Tomi Valkeinen wrote: > omap_crtc_wait_pending() waits until the config changes have been taken > into use, usually at next vblank. The wait-timeout used is 50ms, which > usually is enough, but in some rare cases not. > > As t

[PATCH 17/33] drm/omap: remove support for ext mem & sync

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:52 Tomi Valkeinen wrote: > We no longer have the omapdrm plugin system for SGX, and we can thus > remove the support for external memory and sync objects from omap_gem.c. > > Signed-off-by: Tomi Valkeinen > --- > drivers/gpu/dr

[PATCH 13/33] drm/omap: print an error if display enable fails

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:48 Tomi Valkeinen wrote: > If the panel's enable fails, omap_encoder silently ignores the failure. > omapdrm should really handle the failure, but unfortunately the whole > encoder enable codepath is expected to always succeed. >

[PATCH 12/33] drm/omap: use dma_mapping_error in omap_gem_dma_sync

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:47 Tomi Valkeinen wrote: > omap_gem_dma_sync() calls dma_map_page() but does not check the possible > error with dma_mapping_error(). If DMA-API debugging is enabled, the > debug layer will give a warning if dma_mapping_error() ha

[PATCH 11/33] drm/omap: use dma_mapping_error in omap_gem_attach_pages

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:46 Tomi Valkeinen wrote: > omap_gem_attach_pages() calls dma_map_page() but does not check the > possible error with dma_mapping_error(). If DMA-API debugging is > enabled, the debug layer will give a warning if dma_mapping_error(

[PATCH 10/33] drm/omap: add define for DISPC_IRQ_WBUNCOMPLETEERROR

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:45 Tomi Valkeinen wrote: > OMAP4+ DSS has WBUNCOMPLETEERROR irq, which was not defined in the irq > list. Add the define. > > Signed-off-by: Tomi Valkeinen Acked-by: Laurent Pinchart > --- > include/video/omapdss.h | 1 + >

[PATCH 06/33] drm/omap: drm_atomic_get_plane_state() may return ERR_PTR

2016-02-24 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Friday 19 February 2016 11:47:41 Tomi Valkeinen wrote: > From: Jyri Sarha > > drm_atomic_get_plane_state() may return ERR_PTR. Handle > drm_atomic_get_plane_state() return values right in > omap_crtc_atomic_set_property(). > > Signed-off-by: Jyri Sarha > A