[Linux v4.3-rc6] i915: issues with Skylake integrated graphics

2015-10-26 Thread Eric Biggers
On Mon, Oct 26, 2015 at 03:28:37PM +0200, Jani Nikula wrote: > Please file two separate bugs at [1], one for the above, and another for > the below. Please add drm.debug=14 module parameter, and attach dmesg > all the way from boot to the problem. I have filed https://bugs.freedesktop.org/show_bug

[PATCH 46/48] staging: etnaviv: rewrite submit interface to use copy from user

2015-10-26 Thread Russell King - ARM Linux
On Fri, Sep 25, 2015 at 01:57:58PM +0200, Lucas Stach wrote: > +void etnaviv_gpu_cmdbuf_free(struct etnaviv_cmdbuf *cmdbuf) > +{ > + dma_free_writecombine(cmdbuf->gpu->dev, cmdbuf->size, > + cmdbuf->vaddr, cmdbuf->paddr); > + kfree(cmdbuf); > +} ... > @@ -885,6 +91

[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Rob Clark
On Mon, Oct 26, 2015 at 5:54 AM, Archit Taneja wrote: > MDP5 has line count and frame count registers for each interface. Enable > these counters and use them to implement the get_vblank_timestamp drm > driver op. > > The line counter starts with the value 1 at the beginning of the VSYNC > pulse

[Bug 92662] [HD3650] - GPU freezing - 1002:9591 ring 0 stalled for more than 10100msec

2015-10-26 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20151026/84b53a16/attachment.html>

[Bug 66963] Rv6xx dpm problems

2015-10-26 Thread bugzilla-dae...@freedesktop.org
... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151026/a86b9ba3/attachment.html>

No backlight since linux-4.2.4 - drivers/gpu/drm/radeon/atombios_encoders.c

2015-10-26 Thread Michel Dänzer
-- A non-text attachment was scrubbed... Name: radeon-bl-debug.diff Type: text/x-patch Size: 2424 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151026/8c1b157d/attachment.bin>

[PATCH] drm/radeon/dce4+: optimize pageflip

2015-10-26 Thread Michel Dänzer
On 24.10.2015 01:57, Alex Deucher wrote: > Taking the grph update lock is only necessary when > updating the the secondary address (for single pipe stereo). > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/radeon/evergreen.c | 31 --- > 1 file changed, 4 insert

No backlight since linux-4.2.4 - drivers/gpu/drm/radeon/atombios_encoders.c

2015-10-26 Thread Alex Deucher
On Mon, Oct 26, 2015 at 5:32 AM, Michel Dänzer wrote: > On 25.10.2015 04:25, Michael Burian wrote: >> hi, >> >> after updating the kernel from linux-stable[0] v4.2.3 to v4.2.4 on my >> hp compaq nx9420 laptop (Debian Jessie, amd64), the backlight is turned off >> within the first couple of second

[Bug 86720] [radeon] Europa Universalis 4 freezing during game start (10.3.3+, still broken on 11.0.2)

2015-10-26 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/20151026/9d351ae9/attachment.html>

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
> What do you prefer that we accumulate the fence in amdgpu before > calling the function or an extra check here that return -EINVAL if all > fences are NULL? Forget that question, I realized that the current check in amdgpu for this doesn't work any more anyway (even without this patch). I've

[PATCH 38/38] drm/radeon: simplify boot level calculation

2015-10-26 Thread Deucher, Alexander
> -Original Message- > From: Andrzej Hajda [mailto:a.hajda at samsung.com] > Sent: Monday, September 21, 2015 9:34 AM > To: linux-kernel at vger.kernel.org > Cc: Andrzej Hajda; Bartlomiej Zolnierkiewicz; Marek Szyprowski; David Airlie; > Deucher, Alexander; Koenig, Christian; dri-devel at l

[Linux v4.3-rc6] i915: issues with Skylake integrated graphics

2015-10-26 Thread Jani Nikula
On Fri, 23 Oct 2015, Eric Biggers wrote: > Hi, > > I am testing Linux v4.3-rc6 on a laptop with Intel 'Skylake' integrated > graphics. The integrated display works, but I noticed several warnings in the > kernel log, and a VGA monitor attached to the HDMI input via a VGA->HDMI > adapter > did no

[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Archit Taneja
MDP5 has line count and frame count registers for each interface. Enable these counters and use them to implement the get_vblank_timestamp drm driver op. The line counter starts with the value 1 at the beginning of the VSYNC pulse and ends with value VTOTAL at the end of VFP. This value is used to

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
On 26.10.2015 14:18, Maarten Lankhorst wrote: > Op 26-10-15 om 13:29 schreef Christian König: >> From: Christian König >> >> Waiting for the first fence in an array of fences to signal. >> >> This is useful for device driver specific resource managers >> and also Vulkan needs something similar.

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Maarten Lankhorst
Op 26-10-15 om 13:29 schreef Christian König: > From: Christian König > > Waiting for the first fence in an array of fences to signal. > > This is useful for device driver specific resource managers > and also Vulkan needs something similar. > > Signed-off-by: Christian König > Reviewed-by: Al

[GIT PULL] On-demand device probing

2015-10-26 Thread Tomeu Vizoso
On 26 October 2015 at 11:51, Michael Turquette wrote: > Quoting Rafael J. Wysocki (2015-10-25 06:54:39) >> On Sun, Oct 25, 2015 at 12:06 AM, Mark Brown wrote: >> > On Sat, Oct 24, 2015 at 04:17:12PM +0200, Rafael J. Wysocki wrote: >> > >> >> Well, I'm not quite sure why exactly everyone is so fo

[PATCH 10/10] drm/amdgpu: remove now unused fence functions

2015-10-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 39 - 1 file changed, 39 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 8305a6c..e0d52c4 100644 --- a

[PATCH 09/10] drm/amdgpu: remove amdgpu_fence_ref/unref

2015-10-26 Thread Christian König
From: Christian König Just move the remaining users to fence_put/get. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 30 -- drivers/gpu/drm/amd/amdgpu/am

[PATCH 08/10] drm/amdgpu: use common fence for sync

2015-10-26 Thread Christian König
From: Christian König Stop using the driver internal functions. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 21 +++-- 2 files changed, 12 insertions(+), 11 deletions

[PATCH 07/10] drm/amdgpu: use the new fence_is_later

2015-10-26 Thread Christian König
From: Christian König Instead of coding the check ourself. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/am

[PATCH 06/10] drm/amdgpu: use common fences for VMID management v2

2015-10-26 Thread Christian König
From: Christian König v2: add missing NULL check. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 27 +++ drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 4 ++-- drivers

[PATCH 05/10] drm/amdgpu: move ring_from_fence to common code

2015-10-26 Thread Christian König
From: Christian König Going to need that elsewhere as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 24 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 23 ++-

[PATCH 04/10] drm/amdgpu: switch to common fence_wait_any_timeout

2015-10-26 Thread Christian König
From: Christian König Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 -- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 98 --- drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c| 4 +- 3 files changed, 2 insertio

[PATCH 03/10] drm/amdgpu: remove unneeded fence functions

2015-10-26 Thread Christian König
From: Christian König amdgpu_fence_default_wait isn't needed any more the default wait does the same thing and amdgpu_test_signaled is dead as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 13 + 1 file changed, 1 i

[PATCH 02/10] dma-buf/fence: add fence_is_later()

2015-10-26 Thread Christian König
From: Christian König Return true when fence 1 is later than fence 2 without checking if any of them are signaled. Useful for driver specific resource handling based on fences. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- include/linux/fence.h | 22 +++--- 1

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
From: Christian König Waiting for the first fence in an array of fences to signal. This is useful for device driver specific resource managers and also Vulkan needs something similar. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/dma-buf/fence.c | 96

Some fence cleanups for amdgpu

2015-10-26 Thread Christian König
Hi guys, the following patches cleanup quite a bunch of fence functionality in amdgpu. The first two patches move functions into the common fence code. I think that having those two here make sense because they are hardware independent helper functions. Because of that I'm CCing Maarten and Sumi

[PATCH 7/7] drm/exynos: simplify Kconfig component names

2015-10-26 Thread Andrzej Hajda
Many Exynos DRM sub-options mentions Exynos DRM in their titles. It is redundant and can be safely shortened. The patch additionally makes some entries more descriptive. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/Kconfig | 30 +++--- 1 file changed, 15 insert

[PATCH 6/7] drm/exynos: re-arrange Kconfig entries

2015-10-26 Thread Andrzej Hajda
Exynos DRM driver have quite big number of components and options. The patch re-arranges them into three logical groups: - CRTCs, - Encoders and Bridges, - Sub-drivers. It should make driver options more clear. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/Kconfig | 38

[PATCH 5/7] drm/exynos: abstract out common dependency

2015-10-26 Thread Andrzej Hajda
All options depends on DRM_EXYNOS so it can be moved to enclosing if clause. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/Kconfig | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/K

[PATCH 4/7] drm/exynos: separate Mixer and HDMI drivers

2015-10-26 Thread Andrzej Hajda
Latest Exynos SoCs does not have Mixer IP, but they still have HDMI IP. Their drivers should be configurable separately. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/Kconfig | 8 +++- drivers/gpu/drm/exynos/Makefile | 3 ++- drivers/gpu/drm/exynos/exynos_drm_drv.c

[PATCH 3/7] ARM: exynos_defconfig: enable Exynos DRM Mixer driver

2015-10-26 Thread Andrzej Hajda
Mixer driver is selected by CONFIG_DRM_EXYNOS_HDMI option. Since Exynos5433 HDMI does not require Mixer. There will be separate options to select Mixer and HDMI. Adding new option to defconfig before Kconfig will allow to keep bisectability. Signed-off-by: Andrzej Hajda --- arch/arm/configs/exyn

[PATCH 2/7] drm/exynos/mixer: replace direct cross-driver call with drm mode validation

2015-10-26 Thread Andrzej Hajda
HDMI driver called directly function from MIXER driver to invalidate modes not supported by MIXER. The patch replaces the hack with proper .atomic_check callback. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_hdmi.c | 5 - drivers/gpu/drm/exynos/exynos_mixer.c | 6 --

[PATCH 1/7] drm/exynos: add atomic_check callback to exynos_crtc

2015-10-26 Thread Andrzej Hajda
Some CRTCs needs mode validation, this patch adds neccessary callback to Exynos DRM framework. It is called from DRM core via atomic_check helper for drm_crtc. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 12 drivers/gpu/drm/exynos/exynos_drm_drv.h |

[PATCH 0/7] add atomic_check callback to exynos_crtc

2015-10-26 Thread Andrzej Hajda
Hi Inki, This patchset removes hacky mode validation in Mixer driver by adding atomic_check callback to exynos_crtc and replacing direct function call with DRM framework validation. As a result HDMI driver does not depend anymore on MIXER driver and both drivers can be selected with different Kcon

[PATCH v2 09/10] dt-bindings: video: exynos5433-decon: add bindings for DECON-TV

2015-10-26 Thread Andrzej Hajda
DECON-TV(Display and Enhancement Controller for TV) is a variation of DECON IP. Its main purpose is to produce video stream for HDMI IP. Signed-off-by: Andrzej Hajda --- Hi Krzysztof, I have decided to skip cleanup part as it would require more work, not related to this patchset. Regards Andrze

[PATCH] drm/vmwgfx: Turn off support for multisample count != 0 v2

2015-10-26 Thread Thomas Hellstrom
Do this until we know how much MOB memory to allocate for these surfaces. v2: Mask also non-DX multisample. Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 22 -- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2 ++ 2 files c

[GIT PULL] On-demand device probing

2015-10-26 Thread Mark Brown
: application/pgp-signature Size: 473 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151026/4485f81a/attachment.sig>

[PATCH v10 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-26 Thread Tomeu Vizoso
On 25 October 2015 at 16:18, Rafael J. Wysocki wrote: > On Wednesday, October 21, 2015 05:34:12 PM Tomeu Vizoso wrote: >> Adds a function that sets the pointer to dev_pm_domain in struct device >> and that warns if the device has already finished probing. The reason >> why we want to enforce that

[PATCH 0/9] add missing of_node_put

2015-10-26 Thread Jacek Anaszewski
Hi Julia, Patches 1-4 have been applied to the LED tree, thanks. On 10/24/2015 04:42 PM, Julia Lawall wrote: > The various for_each device_node iterators performs an of_node_get on each > iteration, so a break out of the loop requires an of_node_put. > > The complete semantic patch that fixes thi

[PATCH 05/15] vga_switcheroo: Drop client power state VGA_SWITCHEROO_INIT

2015-10-26 Thread Takashi Iwai
On Sun, 25 Oct 2015 19:19:53 +0100, Lukas Wunner wrote: > > Hi Takashi, > > gentle ping -- could you take a look at the patch below, > would this change be okay with you? I thought I gave already my ack? Hmm.. The series is unnecessarily confusing... In anyway, feel free to take my ack if not

[Bug 92645] kodi vdpau interop fails since mesa,meta: move gl_texture_object::TargetIndex initializations

2015-10-26 Thread bugzilla-dae...@freedesktop.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/20151026/3987b544/attachment.html>

[git pull] drm fixes

2015-10-26 Thread Dave Airlie
Hi Linus, last fixes from me, one amdgpu/radeon suspend resume and one leak fix, along with one vmware fix for some issues when command submission fails. Dave. The following changes since commit 018155365dccecd9ea9f26e1b26fb0f960c1ee32: Merge tag 'usb-4.3-rc7' of git://git.kernel.org/pub/sc

[PATCH v7 11/25] drm/i915: Register color correction capabilities

2015-10-26 Thread Sharma, Shashank
Thanks Daniel, Rob, for providing the clarification. Jim, Does this sound good to you, now ? Regards Shashank -Original Message- From: Bradford, Robert Sent: Thursday, October 22, 2015 5:36 PM To: Bish, Jim; Sharma, Shashank Cc: Palleti, Avinash Reddy; kausalmalladi at gmail.com; intel-

[GIT PULL] On-demand device probing

2015-10-26 Thread Michael Turquette
Quoting Rafael J. Wysocki (2015-10-25 06:54:39) > On Sun, Oct 25, 2015 at 12:06 AM, Mark Brown wrote: > > On Sat, Oct 24, 2015 at 04:17:12PM +0200, Rafael J. Wysocki wrote: > > > >> Well, I'm not quite sure why exactly everyone is so focused on probing > >> here. > > > > Probe deferral is really