[PATCH] drm/imx: Remove unneeded definition for structure imx_drm_component

2017-03-15 Thread Liu Ying
No one is using the structure imx_drm_component, so let's remove the definition to save several lines. Signed-off-by: Liu Ying --- drivers/gpu/drm/imx/imx-drm-core.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c i

[PATCH v2 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings

2017-03-15 Thread Chris Zhong
The Innolux P079ZCA is a 7.85" panel with a 768X1024 resolution and connected to DSI using four lanes. Signed-off-by: Chris Zhong --- Changes in v2: None .../bindings/display/panel/innolux,p079zca.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Docume

[PATCH v2 2/2] drm/panel: add innolux,p079zca panel driver

2017-03-15 Thread Chris Zhong
Support Innolux P079ZCA 7.85" 768x1024 TFT LCD panel, it is a MIPI DSI panel. Signed-off-by: Chris Zhong --- Changes in v2: - add some error check - always use Low power mode to send commend - add comments for all the sleep - use DRM_DEV_ERROR instead of dev_err drivers/gpu/drm/panel/Kconfig

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Ayyappa Ch
Is it possible on Carrizo asics? Or only supports on newer asics? On Mon, Mar 13, 2017 at 6:11 PM, Christian König wrote: > From: Christian König > > Try to resize BAR0 to let CPU access all of VRAM. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + >

Re: [PATCH] drm/exynos: Print kernel pointers in a restricted form

2017-03-15 Thread Andrzej Hajda
Hi Tobias, On 14.03.2017 21:41, Tobias Jakobi wrote: > Krzysztof Kozlowski wrote: >> On Tue, Mar 14, 2017 at 08:17:35PM +0100, Tobias Jakobi wrote: >>> Krzysztof Kozlowski wrote: On Tue, Mar 14, 2017 at 08:01:41PM +0100, Tobias Jakobi wrote: > Hello Krzysztof, > > I was wondering

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Christian König
Carizzo is an APU and resizing BARs isn't needed nor supported there. The CPU can access the full stolen VRAM directly on that hardware. As far as I know ASICs with support for this are Tonga, Fiji and all Polaris variants. Christian. Am 15.03.2017 um 08:23 schrieb Ayyappa Ch: Is it possibl

Re: [PATCH] drm/exynos/dsi: make te-gpios optional

2017-03-15 Thread Andrzej Hajda
On 15.03.2017 04:48, Inki Dae wrote: > > 2017년 03월 14일 00:30에 Andrzej Hajda 이(가) 쓴 글: >> In case of HW-TRIGGER te-gpios interrupt is not necessary. With this >> patch we can get rid of 60 interrupt callbacks per second. > Andrzej, > > Sorry but above description is not clear. I agree, it could be

RE: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Zhou, David(ChunMing)
Does that means we don't need invisible vram later? David -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Wednesday, March 15, 2017 3:38 PM To: Ayyappa Ch Cc: linux-...@vger.kernel.org; linux-ker...@vger.kernel.org;

[PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Chris Zhong
For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, add the description for this clock. Signed-off-by: Chris Zhong --- .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/dev

[PATCH 2/3] drm/rockchip/dsi: enable the grf clk before writing grf registers

2017-03-15 Thread Chris Zhong
For RK3399, the grf clk should be enabled before writing grf registers, otherwise the register value can not be changed. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/rockchip/d

[PATCH 3/3] drm/rockchip/dsi: correct the grf_switch_reg name

2017-03-15 Thread Chris Zhong
For the RK3399, the grf_switch_reg name should be RK3399_GRF_SOC_CON20, not RK3399_GRF_SOC_CON19. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/d

Re: [rfc] amdgpu/sync_file shared semaphores

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 11:09:39AM +1000, Dave Airlie wrote: > On 14 March 2017 at 18:53, Daniel Vetter wrote: > > On Tue, Mar 14, 2017 at 10:50:49AM +1000, Dave Airlie wrote: > >> This contains one libdrm patch and 4 kernel patches. > >> > >> The goal is to implement the Vulkan KHR_external_semap

Re: [PATCH libdrm] libdrm/amdgpu: add interface for kernel semaphores

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 01:01:19AM +0100, Marek Olšák wrote: > While it's nice that you are all having fun here, I don't think that's > the way to communicate this. > > The truth is, if AMD had an open source driver using the semaphores > (e.g. Vulkan) and if the libdrm semaphore code was merged,

Re: [PATCH 2/4] sync_file: add replace and export some functionality

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 02:19:16PM +1000, Dave Airlie wrote: > > > > uabi semantics question: Should we wake up everyone when the fence gets > > replaced? What's the khr semaphore expectation here? > > There are no real semantics for this case, you either wait the semaphore and > replace it with N

Re: [PATCH] drm/imx: Remove unneeded definition for structure imx_drm_component

2017-03-15 Thread Philipp Zabel
On Wed, 2017-03-15 at 14:52 +0800, Liu Ying wrote: > No one is using the structure imx_drm_component, so let's remove the > definition to save several lines. > > Signed-off-by: Liu Ying Thanks, applied to imx-drm/next. regards Philipp > --- > drivers/gpu/drm/imx/imx-drm-core.c | 5 - > 1

Re: [PATCH 4/4] amdgpu: use sync file for shared semaphores

2017-03-15 Thread Daniel Vetter
On Tue, Mar 14, 2017 at 10:50:54AM +1000, Dave Airlie wrote: > From: Dave Airlie > > This creates a new interface for amdgpu with ioctls to > create/destroy/import and export shared semaphores using > sem object backed by the sync_file code. The semaphores > are not installed as fd (except for ex

Re: [PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Heiko Stübner
Am Mittwoch, 15. März 2017, 16:42:30 CET schrieb Chris Zhong: > For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, > add the description for this clock. > > Signed-off-by: Chris Zhong > --- > > .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 2 > +- 1

Re: [PATCH] drm/exynos/dsi: make te-gpios optional

2017-03-15 Thread Inki Dae
2017년 03월 15일 16:58에 Andrzej Hajda 이(가) 쓴 글: > On 15.03.2017 04:48, Inki Dae wrote: >> >> 2017년 03월 14일 00:30에 Andrzej Hajda 이(가) 쓴 글: >>> In case of HW-TRIGGER te-gpios interrupt is not necessary. With this >>> patch we can get rid of 60 interrupt callbacks per second. >> Andrzej, >> >> Sorry bu

Re: [Intel-gfx] [PATCH 20/24] drm/exynos: Merge pre/postclose hooks

2017-03-15 Thread Inki Dae
2017년 03월 15일 09:54에 Inki Dae 이(가) 쓴 글: > > > 2017년 03월 14일 22:28에 Daniel Vetter 이(가) 쓴 글: >> On Mon, Mar 13, 2017 at 03:18:05PM -0400, Sean Paul wrote: >>> On Wed, Mar 08, 2017 at 03:12:53PM +0100, Daniel Vetter wrote: Again no apparent explanation for the split except hysterical raisins.

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Christian König
Yes, exactly that. Christian. Am 15.03.2017 um 09:25 schrieb Zhou, David(ChunMing): Does that means we don't need invisible vram later? David -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Wednesday, March 15, 20

Re: [PATCH libdrm] libdrm/amdgpu: add interface for kernel semaphores

2017-03-15 Thread Christian König
Am 15.03.2017 um 09:48 schrieb Daniel Vetter: On Wed, Mar 15, 2017 at 01:01:19AM +0100, Marek Olšák wrote: While it's nice that you are all having fun here, I don't think that's the way to communicate this. The truth is, if AMD had an open source driver using the semaphores (e.g. Vulkan) and if

Re: [PATCH 4/4] amdgpu: use sync file for shared semaphores

2017-03-15 Thread Christian König
Am 15.03.2017 um 10:01 schrieb Daniel Vetter: On Tue, Mar 14, 2017 at 10:50:54AM +1000, Dave Airlie wrote: From: Dave Airlie This creates a new interface for amdgpu with ioctls to create/destroy/import and export shared semaphores using sem object backed by the sync_file code. The semaphores a

Re: [Intel-gfx] [PATCH 20/24] drm/exynos: Merge pre/postclose hooks

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 06:09:25PM +0900, Inki Dae wrote: > > > 2017년 03월 15일 09:54에 Inki Dae 이(가) 쓴 글: > > > > > > 2017년 03월 14일 22:28에 Daniel Vetter 이(가) 쓴 글: > >> On Mon, Mar 13, 2017 at 03:18:05PM -0400, Sean Paul wrote: > >>> On Wed, Mar 08, 2017 at 03:12:53PM +0100, Daniel Vetter wrote: >

Re: [PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Chris Zhong
Hi Heiko On 03/15/2017 05:03 PM, Heiko Stübner wrote: Am Mittwoch, 15. März 2017, 16:42:30 CET schrieb Chris Zhong: For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, add the description for this clock. Signed-off-by: Chris Zhong --- .../devicetree/bindings/display/rockc

Re: [PATCH 4/4] amdgpu: use sync file for shared semaphores

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 10:43:01AM +0100, Christian König wrote: > Am 15.03.2017 um 10:01 schrieb Daniel Vetter: > > On Tue, Mar 14, 2017 at 10:50:54AM +1000, Dave Airlie wrote: > > > From: Dave Airlie > > > > > > This creates a new interface for amdgpu with ioctls to > > > create/destroy/import

Re: [RFC][PATCH] dma-buf: Introduce dma-buf test module

2017-03-15 Thread Daniel Vetter
On Tue, Mar 14, 2017 at 01:30:30PM -0700, Laura Abbott wrote: > On 03/14/2017 01:13 PM, Daniel Vetter wrote: > > On Tue, Mar 14, 2017 at 01:04:19PM -0700, Laura Abbott wrote: > >> > >> dma-buf is designed to share buffers. Sharing means that there needs to > >> be another subsystem to accept those

Re: [PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Heiko Stübner
Am Mittwoch, 15. März 2017, 17:55:23 CET schrieb Chris Zhong: > Hi Heiko > > On 03/15/2017 05:03 PM, Heiko Stübner wrote: > > Am Mittwoch, 15. März 2017, 16:42:30 CET schrieb Chris Zhong: > >> For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, > >> add the description for this c

Re: [PATCH 3/3] drm/omapdrm: Separate ids for planes and CRTCs in omap_modeset_init()

2017-03-15 Thread Tomi Valkeinen
Hi, On 14/03/17 22:35, Jyri Sarha wrote: > Add separate local id variables for indexing planes and CRTCs in > omap_modeset_init(). This is to make it more explicit what each local > variable is used for. "id" should be used for DRM object ids. I think here plane_id and crtc_id are really idx. An

Re: [PATCH 2/3] drm/omapdrm: Change possible_crtcs to possible_crtcs_for_planes

2017-03-15 Thread Tomi Valkeinen
On 14/03/17 22:35, Jyri Sarha wrote: > Rename possible_crtcs local variable to possible_crtcs_for_planes in > omap_modeset_init() and add a comment about its initialization. This > is to make it more explicit what the variable is used for. > > Signed-off-by: Jyri Sarha > --- > drivers/gpu/drm/om

Re: [PATCH libdrm] libdrm/amdgpu: add interface for kernel semaphores

2017-03-15 Thread Emil Velikov
Hi Dave, Barring the other discussions, allow me to put a couple of trivial suggestions: Please re-wrap the long lines to follow existing code style. On 14 March 2017 at 00:50, Dave Airlie wrote: > @@ -882,6 +894,12 @@ int amdgpu_cs_submit(amdgpu_context_handle context, >

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Ayyappa Ch
It also needs any support from VBIOS side ? I mean PCIe large bar support? Thanks, Ayyappa. On Wed, Mar 15, 2017 at 1:07 PM, Christian König wrote: > Carizzo is an APU and resizing BARs isn't needed nor supported there. The > CPU can access the full stolen VRAM directly on that hardware. > > As

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Christian König
No, we resize the BAR on the fly during driver load without help from the BIOS or VBIOS. Christian. Am 15.03.2017 um 11:42 schrieb Ayyappa Ch: It also needs any support from VBIOS side ? I mean PCIe large bar support? Thanks, Ayyappa. On Wed, Mar 15, 2017 at 1:07 PM, Christian König wrote:

Re: [PATCH 0/7] omapdrm: Fix GEM objects DMA unmapping

2017-03-15 Thread Tomi Valkeinen
On 10/03/17 11:39, Laurent Pinchart wrote: > Hello, > > Memory leaks have been reported when allocating a cached omap_bo (with > OMAP_BO_CACHED. Investigation showed that this can only come from the DMA > mapping debug layer, as on ARM32 the non-coherent, non-IOMMU DMA mapping code > doesn't alloc

[PATCH v2] drm/exynos/dsi: make te-gpios optional

2017-03-15 Thread Andrzej Hajda
DSI forwards te-gpios interrupts to display controller, but if display controller works in HW-TRIGGER mode this interrupt is not necessary. Making te-gpios property optional allows to avoid generating spare interrupts. With this patch we can get rid of 60 interrupt callbacks per second. Signed-off

[Bug 194761] amdgpu driver breaks on Oland (SI)

2017-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=194761 Jean Delvare (jdelv...@suse.de) changed: What|Removed |Added Status|NEW |RESOLVED Resolu

[Bug 194761] amdgpu driver breaks on Oland (SI)

2017-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=194761 Jean Delvare (jdelv...@suse.de) changed: What|Removed |Added Regression|No |Yes -- You are receivi

[Bug 100212] Implement vstore_* to make Theano/libgpuarray working

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100212 Bug ID: 100212 Summary: Implement vstore_* to make Theano/libgpuarray working Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: no

[Bug 100212] Implement vstore_* to make Theano/libgpuarray working

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100212 Vedran Miletić changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Vedran Miletić changed: What|Removed |Added Depends on||100212 Referenced Bugs: https://bugs.

Re: [PATCH 1/5] drm/tinydrm: Add tinydrm_rgb565_buf_copy()

2017-03-15 Thread Noralf Trønnes
Den 14.03.2017 08.17, skrev Daniel Vetter: On Mon, Mar 13, 2017 at 01:30:40PM +0100, Noralf Trønnes wrote: Den 12.03.2017 19.00, skrev Daniel Vetter: On Sat, Mar 11, 2017 at 10:35:32PM +0100, Noralf Trønnes wrote: Add tinydrm_rgb565_buf_copy() function that copies buffer rectangle to destinat

Re: [PATCH] drm/exynos: Print kernel pointers in a restricted form

2017-03-15 Thread Tobias Jakobi
Hello Andrzej, note that i had already pointed Krzysztof to that documentation in my previous mail. - Tobias Andrzej Hajda wrote: > Hi Tobias, > > On 14.03.2017 21:41, Tobias Jakobi wrote: >> Krzysztof Kozlowski wrote: >>> On Tue, Mar 14, 2017 at 08:17:35PM +0100, Tobias Jakobi wrote: Krzy

Re: [PATCH 1/5] drm/tinydrm: Add tinydrm_rgb565_buf_copy()

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 01:15:37PM +0100, Noralf Trønnes wrote: > > Den 14.03.2017 08.17, skrev Daniel Vetter: > > On Mon, Mar 13, 2017 at 01:30:40PM +0100, Noralf Trønnes wrote: > > > Den 12.03.2017 19.00, skrev Daniel Vetter: > > > > On Sat, Mar 11, 2017 at 10:35:32PM +0100, Noralf Trønnes wrote

Re: [PATCH] drm/etnaviv: add etnaviv cooling device

2017-03-15 Thread Lucas Stach
Am Sonntag, den 12.03.2017, 19:00 + schrieb Russell King: > Each Vivante GPU contains a clock divider which can divide the GPU clock > by 2^n, which can lower the power dissipation from the GPU. It has been > suggested that the GC600 on Dove is responsible for 20-30% of the power > dissipation

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Bug 99553 depends on bug 91556, which changed state. Bug 91556 Summary: [Clover / OpenCL] struct and union arguments handled incorrectly, producing CL_INVALID_ARG_SIZE https://bugs.freedesktop.org/show_bug.cgi?id=91556 What|Remove

[Bug 99484] Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99484 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97988 Samuel Pitoiset changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 Vedran Miletić changed: What|Removed |Added Depends on||100212 Referenced Bugs: https://bugs

[Bug 100212] Implement vload_* and vstore_* to make Theano/libgpuarray working

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100212 Vedran Miletić changed: What|Removed |Added Summary|Implement vstore_* to make |Implement vload_* and

[Bug 99780] Flickering artifacts in radeonsi driver with divergent texture reads.

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99780 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH v3] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread Sean Paul
On Wed, Mar 15, 2017 at 06:20:47PM +0800, Jeffy Chen wrote: > Currently we are adding all components from the dts, if one of their > drivers been disabled, we would not be able to bring up others. > > Refactor component match logic, follow exynos drm. > > Signed-off-by: Jeffy Chen > Reviewed-by:

[Bug 99136] Blood Effects Total War: Warhammer

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99136 --- Comment #37 from Samuel Pitoiset --- Not sure but this might help for your issue. https://cgit.freedesktop.org/mesa/mesa/commit/?id=7751ed39e40e08e5aa0633d018c9f25ad17f9bb0 Let me know if you get a chance to try. -- You are receiving this

[Bug 194867] DRM BUG while initializing cape verde (2nd card)

2017-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=194867 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

[Bug 194867] DRM BUG while initializing cape verde (2nd card)

2017-03-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=194867 --- Comment #2 from Alex Deucher (alexdeuc...@gmail.com) --- Created attachment 255265 --> https://bugzilla.kernel.org/attachment.cgi?id=255265&action=edit patch 2/2 -- You are receiving this mail because: You are watching the assignee of the

[Bug 93050] Amdgpu, Tonga "IO_PAGE_FAULT" and "[amdgpu]] *ERROR* amdgpu: ring 0 test failed" result in Kernel Panic

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93050 --- Comment #3 from s...@list.ru --- (In reply to Alexander Tsoy from comment #2) > These I/O page faults errors are quite annoying and delay boot for about 5 > seconds. Should I open a separate bug report? IMHO these should be reported. I had su

[Bug 99392] Ark survival evolved won't start

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99392 --- Comment #5 from Samuel Pitoiset --- Quick update: The issue has been fixed since v255.2. You no longer need any override envvars. -- You are receiving this mail because: You are the assignee for the bug._

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Vedran Miletić changed: What|Removed |Added Depends on||91315, 91305, 87071 Referenced Bugs:

[Bug 87071] LLVM triggered Diagnostic Handler: unsupported call to function S2KItSaltedSHA1Generator in gpg

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87071 Vedran Miletić changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.f

[Bug 91315] When running JohnTheRipper OpenCL tests: The kernel rejected CS, see dmesg for more information. / [mi] EQ overflowing. Additional events will be discarded until existing events are proce

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91315 Vedran Miletić changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.f

[Bug 91305] When running JohnTheRipper OpenCL tests: radeon 0000:01:00.0: ring 0 stalled for more than ...msec

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91305 Vedran Miletić changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.f

Re: [RESEND PATCH] drm: amd: remove broken include path

2017-03-15 Thread Alex Deucher
On Tue, Mar 14, 2017 at 5:27 PM, Arnd Bergmann wrote: > The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command > line, which makes no sense, since these are evaluated relative to the > build directory. When we build with "make W=1", they instead cause > a warning: > > cc1: error: .

[PATCH v3 07/10] drm/exynos: kill mode_set_nofb callback

2017-03-15 Thread Andrzej Hajda
All Exynos CRTCs are fully configured by .enable callback. The only users of mode_set_nofb actually did nothing in their callbacks - they immediately returned because devices were in suspend state - mode_set_nofb is always called on disabled device. Signed-off-by: Andrzej Hajda --- drivers/gpu/d

[PATCH v3 06/10] drm/exynos: kill pipe field from drivers contexts

2017-03-15 Thread Andrzej Hajda
Since possible_crtcs are set by Exynos core helper pipe fields have no raison d'etre. The only place it was used, as a hack, is fimd_clear_channels, to avoid calling drm_crtc_handle_vblank, but DRM core has already other protection mechanism (vblank->enabled), so it could be safely removed. Signed

[PATCH v3 04/10] drm/exynos: kill exynos_drm_private::pipe

2017-03-15 Thread Andrzej Hajda
The field duplicates drm_dev->mode_config.num_crtc. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 18 -- drivers/gpu/drm/exynos/exynos7_drm_decon.c| 11 ++- drivers/gpu/drm/exynos/exynos_drm_drv.h | 3 --- drivers/gpu/drm/exyn

[PATCH v3 00/10] drm/exynos: rework vblank handling - next

2017-03-15 Thread Andrzej Hajda
Hi Inki, This is -next part of my patchset 'drm/exynos: rework vblank handling'. With three additional cleanup patches. The patchset contains one improvement and cleanups/reworks: - adds frame counter callback, - removes redundant pipe related fields, - simplifies event handling. I have success

[PATCH v3 10/10] drm/exynos/decon5433: simplify shadow protect code

2017-03-15 Thread Andrzej Hajda
There is no point in protecting only particular windows during update. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 20 +++- include/video/exynos5433_decon.h | 1 + 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/d

[PATCH v3 02/10] drm/exynos/decon5433: implement frame counter

2017-03-15 Thread Andrzej Hajda
DECON in Exynos5433 has frame counter, it can be used to implement get_vblank_counter callback. Signed-off-by: Andrzej Hajda --- v2: - reuse decon_get_frame_count function already implemented in previous patch --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 12 drivers/gpu

[PATCH v3 08/10] drm/exynos/decon5433: kill DECON_UPDATE workaround

2017-03-15 Thread Andrzej Hajda
Since fixing CMU code (drm/exynos/decon5433: fix CMU programming) DECON started behave predictable and does not need special care during DECON_UPDATE writes. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(

[PATCH v3 09/10] drm/exynos/decon5433: kill BIT_IRQS_ENABLED

2017-03-15 Thread Andrzej Hajda
BIT_IRQS_ENABLED flag duplicates drm_vblank_crtc::refcount, it could be safely removed. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm

[PATCH v3 01/10] drm/exynos: simplify completion event handling

2017-03-15 Thread Andrzej Hajda
All Exynos CRTC drivers shouldn't fail at referencing vblank events, alternate path is actually dead code. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos

[PATCH v3 03/10] drm/exynos: kill exynos_drm_crtc::pipe

2017-03-15 Thread Andrzej Hajda
Since crtc index is stored in drm_crtc pipe field became redundant. The patch beside removing the field simplifies also exynos_drm_crtc_get_pipe_from_type. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 3 +-- drivers/gpu/drm/exynos/exynos7_drm_decon.c| 3

[PATCH v3 05/10] drm/exynos: set plane possible_crtcs in exynos_plane_init

2017-03-15 Thread Andrzej Hajda
All Exynos planes are assigned to exactly one CRTC, it allows to simplify initialization by moving setting of possible_crtcs to exynos_plane_init. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 +- drivers/gpu/drm/exynos/exynos7_drm_decon.c| 2 +- drivers/

Re: [PATCH 1/5] drm/tinydrm: Add tinydrm_rgb565_buf_copy()

2017-03-15 Thread Noralf Trønnes
Den 15.03.2017 13.39, skrev Daniel Vetter: On Wed, Mar 15, 2017 at 01:15:37PM +0100, Noralf Trønnes wrote: Den 14.03.2017 08.17, skrev Daniel Vetter: On Mon, Mar 13, 2017 at 01:30:40PM +0100, Noralf Trønnes wrote: Den 12.03.2017 19.00, skrev Daniel Vetter: On Sat, Mar 11, 2017 at 10:35:32PM

Re: [PATCH v2] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread jeffy
Hi Andrzej, On 03/14/2017 08:05 PM, Andrzej Hajda wrote: Hi Jeffy, On 14.03.2017 11:45, Jeffy Chen wrote: Currently we are adding all components from the dts, if one of their drivers been disabled, we would not be able to bring up others. Refactor component match logic, follow exynos drm. S

[PATCH v3] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread Jeffy Chen
Currently we are adding all components from the dts, if one of their drivers been disabled, we would not be able to bring up others. Refactor component match logic, follow exynos drm. Signed-off-by: Jeffy Chen Reviewed-by: Andrzej Hajda --- Changes in v3: Address Andrzej Hajda 's comments. C

Re: [PATCH] drm/etnaviv: add etnaviv cooling device

2017-03-15 Thread Russell King - ARM Linux
On Wed, Mar 15, 2017 at 02:03:09PM +0100, Lucas Stach wrote: > Am Sonntag, den 12.03.2017, 19:00 + schrieb Russell King: > > Each Vivante GPU contains a clock divider which can divide the GPU clock > > by 2^n, which can lower the power dissipation from the GPU. It has been > > suggested that t

Re: [PATCH 1/5] drm/tinydrm: Add tinydrm_rgb565_buf_copy()

2017-03-15 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 04:14:49PM +0100, Noralf Trønnes wrote: > > Den 15.03.2017 13.39, skrev Daniel Vetter: > > On Wed, Mar 15, 2017 at 01:15:37PM +0100, Noralf Trønnes wrote: > > > Den 14.03.2017 08.17, skrev Daniel Vetter: > > > > On Mon, Mar 13, 2017 at 01:30:40PM +0100, Noralf Trønnes wrote

Re: [PATCH 2/3] drm/rockchip/dsi: enable the grf clk before writing grf registers

2017-03-15 Thread John Keeping
On Wed, 15 Mar 2017 09:47:29 -0700, Brian Norris wrote: > On Wed, Mar 15, 2017 at 04:42:31PM +0800, Chris Zhong wrote: > > For RK3399, the grf clk should be enabled before writing grf registers, > > otherwise the register value can not be changed. > > > > Signed-off-by: Chris Zhong > > --- > >

Re: [PATCH v3] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread Heiko Stuebner
Am Mittwoch, 15. März 2017, 18:20:47 CET schrieb Jeffy Chen: > Currently we are adding all components from the dts, if one of their > drivers been disabled, we would not be able to bring up others. > > Refactor component match logic, follow exynos drm. > > Signed-off-by: Jeffy Chen > Reviewed-by

Re: [PATCH v2] dt-bindings: drm: rcar-du: Document optional reset properties

2017-03-15 Thread Rob Herring
On Mon, Mar 06, 2017 at 05:25:56PM +0100, Geert Uytterhoeven wrote: > Document the optional properties for describing module resets, to > support resetting display channels and LVDS encoders on R-Car Gen2 and > Gen3. > > Signed-off-by: Geert Uytterhoeven > --- > See "[v2,1/4] dt-bindings: clock:

[PATCH v4 3/8] dt-bindings: Add Ampire AM-480272H3TMQW-T01H panel

2017-03-15 Thread Yannick Fertre
Signed-off-by: Yannick Fertre --- .../display/panel/ampire,am-480272h3tmqw-t01h.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt diff --git a/Documentation/devicetree/bindings/

[PATCH v4 5/8] ARM: dts: stm32: Add ltdc support on stm32f429 MCU

2017-03-15 Thread Yannick Fertre
Add LTDC (Lcd-tft Display Controller) support. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32f429.dtsi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 7c7dfbd..531e632 100

[PATCH v4 8/8] ARM: configs: Add STM32 panel simple support in STM32 defconfig

2017-03-15 Thread Yannick Fertre
Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 9c6ba54e..f7ddf29b 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfi

[PATCH v4 6/8] ARM: dts: stm32: Enable ltdc & simple panel on stm32f429-Eval board

2017-03-15 Thread Yannick Fertre
Enable ltdc & enable am-480272h3tmqw-t01h panel. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32429i-eval.dts | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 601

[PATCH v4 0/8] STM32 LCD-TFT display controller

2017-03-15 Thread Yannick Fertre
Version 4: - Update "ampire,am-480272h3tmqw-t01h.txt" binding with more details on gpios. - Update ltdc.c. Remove regmap, solve some typo & warnings. Version 3: - Update "st,stm32-ltdc.txt" binding. - Add a commit to "ARM: configs: stm32: ADD LDTC support" patch. Version 2: - Rename driver direct

[PATCH v4 7/8] ARM: configs: Add STM32 LTDC support in STM32 defconfig

2017-03-15 Thread Yannick Fertre
Signed-off-by: Yannick Fertre --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 436240d..9c6ba54e 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @

[PATCH v4 1/8] dt-bindings: display: add STM32 LTDC driver

2017-03-15 Thread Yannick Fertre
Acked-by: Rob Herring Signed-off-by: Yannick Fertre --- .../devicetree/bindings/display/st,stm32-ltdc.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/st,stm32-ltdc.txt diff --git a/Documentation/devicetree/bindings

[PATCH v4 4/8] drm/panel: simple: Add support for Ampire AM-480272H3TMQW-T01H

2017-03-15 Thread Yannick Fertre
Add simple-panel support for the Ampire AM-480272H3TMQW-T01H, which is a 4.3" WQVGA panel. Signed-off-by: Yannick Fertre --- drivers/gpu/drm/panel/panel-simple.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu

[PATCH v4 2/8] drm/stm: Add STM32 LTDC driver

2017-03-15 Thread Yannick Fertre
This controller provides output signals to interface directly a variety of LCD and TFT panels. These output signals are: RGB signals (up to 24bpp), vertical & horizontal synchronisations, data enable and the pixel clock. Change-Id: Ic1d6ade06ab7115c62e98dd21dc3981fb5948d1c Signed-off-by: Yannick F

Re: [PATCH v3] drm/rockchip: Refactor the component match logic.

2017-03-15 Thread Heiko Stuebner
Am Mittwoch, 15. März 2017, 18:00:04 CET schrieb Heiko Stuebner: > Am Mittwoch, 15. März 2017, 18:20:47 CET schrieb Jeffy Chen: > > Currently we are adding all components from the dts, if one of their > > drivers been disabled, we would not be able to bring up others. > > > > Refactor component ma

Re: [PATCH 6/15] dt-bindings: display: sun4i: Add HDMI display bindings

2017-03-15 Thread Rob Herring
On Tue, Mar 07, 2017 at 09:56:25AM +0100, Maxime Ripard wrote: > One of the possible output of the display pipeline, on the SoCs that have > it, is the HDMI controller. > > Add a binding for it. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.t

Re: [PATCH 7/15] dt-bindings: display: sun4i: Add allwinner,tcon-channel property

2017-03-15 Thread Rob Herring
On Tue, Mar 07, 2017 at 09:56:26AM +0100, Maxime Ripard wrote: > The Allwinner Timings Controller has two, mutually exclusive, channels. > When the binding has been introduced, it was assumed that there would be > only a single user per channel in the system. > > While this is likely for the chann

[Bug 99841] Switching to VT freezes X only on a dual screen

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99841 --- Comment #17 from Elimar Riesebieter --- Thanks Michel for your efforts. Hereby I confirm that your patch against 4.11 works fine as well ;-) -- You are receiving this mail because: You are the assignee for the bug.__

RE: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Christian König > Sent: Wednesday, March 15, 2017 3:38 AM > To: Ayyappa Ch > Cc: linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; amd- > g...@lists.freedesktop.org; platform-driver-...

[PATCH 1/3] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2017-03-15 Thread Chris Wilson
On vblank instant-off systems, we can get into a situation where the cost of enabling and disabling the vblank IRQ around a drmWaitVblank query dominates. And with the advent of even deeper hardware sleep state, touching registers becomes ever more expensive. However, we know that if the user want

[PATCH 2/3] drm: Skip the waitqueue setup for vblank queries

2017-03-15 Thread Chris Wilson
Avoid adding to the waitqueue and reprobing the current vblank if the caller is only querying the current vblank sequence and timestamp, where we know that the wait would return immediately. v2: Add CRTC identifier to debug messages Signed-off-by: Chris Wilson Cc: Ville Syrjälä Cc: Daniel Vette

[PATCH 3/3] drm: Peek at the current counter/timestamp for vblank queries

2017-03-15 Thread Chris Wilson
Bypass all the spinlocks and return the last timestamp and counter from the last vblank if the driver delcares that it is accurate (and stable across on/off), and the vblank is currently enabled. This is dependent upon the both the hardware and driver to provide the proper barriers to facilitate r

Re: [PATCH 1/3] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2017-03-15 Thread Ville Syrjälä
On Wed, Mar 15, 2017 at 08:40:25PM +, Chris Wilson wrote: > On vblank instant-off systems, we can get into a situation where the cost > of enabling and disabling the vblank IRQ around a drmWaitVblank query > dominates. And with the advent of even deeper hardware sleep state, > touching register

Re: [PATCH 3/3] drm: Peek at the current counter/timestamp for vblank queries

2017-03-15 Thread Ville Syrjälä
On Wed, Mar 15, 2017 at 08:40:27PM +, Chris Wilson wrote: > Bypass all the spinlocks and return the last timestamp and counter from > the last vblank if the driver delcares that it is accurate (and stable > across on/off), and the vblank is currently enabled. > > This is dependent upon the bot

[pull] radeon and amdgpu drm-fixes-4.11

2017-03-15 Thread Alex Deucher
Hi Dave, A few fixes for 4.11. The following changes since commit 3f81e1340706e9a7f854808e2f580c3106805d0c: drm: mxsfb: Implement drm_panel handling (2017-03-10 11:11:14 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-fixes-4.11 for you to fetc

[Bug 99841] Switching to VT freezes X only on a dual screen

2017-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99841 --- Comment #18 from Joseph Thommes --- The patch also solves the problem for me on 4.10.2-gentoo. Thank You. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mai

  1   2   >