[Bug 97122] list of 12 dEQP-GLES2 tests causing systematic GPU lockups

2016-07-28 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/d60e34c6/attachment-0001.html>

[Bug 97122] list of 12 dEQP-GLES2 tests causing systematic GPU lockups

2016-07-28 Thread bugzilla-dae...@freedesktop.org
ug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/1d415916/attachment-0001.html>

[PATCH] drm/nouveau/fbcon: fix font width not divisible by 8

2016-07-28 Thread Mikulas Patocka
The patch f045f459d925 ("drm/nouveau/fbcon: fix out-of-bounds memory accesses") tries to fix some out of memory accesses. Unfortunatelly, the patch breaks the display when using fonts with width that is not divisiable by 8. The monochrome bitmap for each character is stored in memory by lines

[PATCH] drm: aux ->transfer() can return 0, deal with it

2016-07-28 Thread Daniel Vetter
On Thu, Jul 28, 2016 at 05:54:42PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Restore the correct behaviour (as in check msg.reply) when aux > ->transfer() returns 0. It got removed in > commit 82922da39190 ("drm/dp_helper: Retry aux transactions on all errors")

[PATCH] drm: aux ->transfer() can return 0, deal with it

2016-07-28 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Restore the correct behaviour (as in check msg.reply) when aux ->transfer() returns 0. It got removed in commit 82922da39190 ("drm/dp_helper: Retry aux transactions on all errors") Now I can actually dump the "entire" DPCD on a Dell UP2314Q

[PATCH v4 4/8] drm/mediatek: add support for Mediatek SoC MT2701

2016-07-28 Thread CK Hu
Hi, YT: On Thu, 2016-07-28 at 15:17 +0800, YT Shen wrote: > Hi Philipp, CK, > > On Thu, 2016-07-28 at 10:07 +0800, CK Hu wrote: > > Hi, YT: > > > > On Wed, 2016-07-27 at 12:03 +0200, Philipp Zabel wrote: > > > Am Dienstag, den 26.07.2016, 18:42 +0800 schrieb YT Shen: > > > > Hi CK, > > > > >

ATPX changes in drm-next-4.8 and D3cold handling

2016-07-28 Thread Lukas Wunner
On Thu, Jul 28, 2016 at 03:33:25PM +, Deucher, Alexander wrote: > > From: Peter Wu [mailto:peter at lekensteyn.nl] > > Sent: Thursday, July 21, 2016 6:43 AM > > In case you missed it, Dave's D3cold patches were succeeded by changes > > in PCI core. Relevant commits in the pci/pm branch: > > >

[PATCH 1/3] drm: introduce share plane

2016-07-28 Thread Mark yao
On 2016年07月28日 16:03, Daniel Vetter wrote: > On Thu, Jul 28, 2016 at 11:01:04AM +0800, Mark yao wrote: >> Any ideas for the share planes? >> >> This function is important for our series of vop full design. >> The series of vop is: >> IP versionchipname >> 3.1

[PATCH v5 10/10] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2016-07-28 Thread YT Shen
This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen --- arch/arm/boot/dts/mt2701.dtsi | 100 + 1 file changed, 100 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index

[PATCH v5 09/10] drm/mediatek: add support for Mediatek SoC MT2701

2016-07-28 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c |6 ++ drivers/gpu/drm/mediatek/mtk_disp_rdma.c|6 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp.c |

[PATCH v5 08/10] drm/mediatek: update DSI sub driver flow

2016-07-28 Thread YT Shen
This patch update enable/disable flow of DSI module and MIPI TX module Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 104 ++-- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 32 +- 2 files changed, 103

[PATCH v5 07/10] drm/mediatek: add dsi transfer function

2016-07-28 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 286 1 file changed, 286 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c

[PATCH v5 06/10] drm/mediatek: add dsi interrupt control

2016-07-28 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 92 1 file changed, 92 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c

[PATCH v5 05/10] drm/mediatek: cleaning up and refine

2016-07-28 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 77 +++- drivers/gpu/drm/mediatek/mtk_mipi_tx.c |8 ++-- 2 files changed, 41 insertions(+), 44

[PATCH v5 04/10] drm/mediatek: update display module connections

2016-07-28 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index b77d456..329da541

[PATCH v5 03/10] drm/mediatek: add shadow register support

2016-07-28 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 +++

[PATCH v5 02/10] drm/mediatek: add *driver_data for different hardware settings

2016-07-28 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT Shen ---

[PATCH v5 01/10] drm/mediatek: rename macros, add chip prefix

2016-07-28 Thread YT Shen
Add MT8173 prefix for hardware related macros. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 60 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c

[PATCH v5 00/10] MT2701 DRM support

2016-07-28 Thread YT Shen
This is MT2701 DRM support PATCH v5, based on 4.7-rc1. We add DSI interrupt control, transfer function for MIPI DSI panel support. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size

[PATCH v7 1/4] drm: add generic zpos property

2016-07-28 Thread Benjamin Gaignard
2016-07-28 14:55 GMT+02:00 Emil Velikov : > Hi Benjamin, > > Just spotted a couple of small bits which, imho, should be fine with > squashing with follow up patch(es). > > On 28 July 2016 at 09:07, Benjamin Gaignard > wrote: > >> +EXPORT_SYMBOL(drm_atomic_helper_normalize_zpos); > The symbols is

[PATCH 1/3] drm: bridge: add DesignWare HDMI I2S audio support

2016-07-28 Thread Jose Abreu
Hi, On 24-06-2016 03:40, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current dw-hdmi is supporting sound via AHB bus, but it has > I2S audio feature too. This patch adds I2S audio support to dw-hdmi. > This HDMI I2S is supported by using ALSA SoC common HDMI encoder > driver. > >

[Intel-gfx] [PATCH v4 0/6] Finally fix watermarks

2016-07-28 Thread Matt Roper
This is completely untested (and probably horribly broken/buggy), but here's a quick mockup of the general approach I was thinking for ensuring DDB & WM's can be updated together while ensuring the three-step pipe flushing process is honored:

[Bug 97116] mpv needs VAAPI_DISABLE_INTERLACE=1 for swdecode -vo vaapi since st/va: add conversion for yv12 to nv12in putimage v2

2016-07-28 Thread bugzilla-dae...@freedesktop.org
... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/e62cba4f/attachment.html>

[PATCH v2 05/13] gpu: ipu-v3: Add IDMA channel linking support

2016-07-28 Thread Steve Longerbeam
On 07/26/2016 03:06 AM, Philipp Zabel wrote: > Am Dienstag, den 19.07.2016, 18:11 -0700 schrieb Steve Longerbeam: >> Adds functions to link and unlink IDMAC source channels to sink >> channels. >> >> So far the following links are supported: >> >> IPUV3_CHANNEL_IC_PRP_ENC_MEM ->

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-28 Thread Sumit Semwal
Hi Greg, On 19 July 2016 at 17:51, Sumit Semwal wrote: > (Adding Greg KH) > > Hi Greg, > > On 19 July 2016 at 17:45, Sumit Semwal wrote: >> Hi Greg, >> >> >> On 12 July 2016 at 23:38, Gustavo Padovan wrote: >>> From: Gustavo Padovan >>> >>> Create sync_file->fence to abstract the type of

[Bug 87682] Horizontal lines in radeon driver on kernel 3.15 and upwards

2016-07-28 Thread bugzilla-dae...@freedesktop.org
: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/9045cc5b/attachment.html>

[PATCH -next] drm/amdgpu: use kmemdup rather than duplicating its implementation

2016-07-28 Thread Wei Yongjun
Use kmemdup rather than duplicating its implementation. Generated by: scripts/coccinelle/api/memdup.cocci Signed-off-by: Wei Yongjun --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c

[RFC 3/3] drm/text: Add VT console support

2016-07-28 Thread Noralf Trønnes
This adds VT console support. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm-text/Makefile | 1 + drivers/gpu/drm/drm-text/drm-text-buffer.c | 2 + drivers/gpu/drm/drm-text/drm-text-vt.c | 197 + drivers/gpu/drm/drm-text/drm-text.h|

[RFC 2/3] drm/text: Add panic and boot console support

2016-07-28 Thread Noralf Trønnes
This adds support for panic and boot console. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm-text/Makefile | 2 +- drivers/gpu/drm/drm-text/drm-text-buffer.c | 4 +- drivers/gpu/drm/drm-text/drm-text-console.c | 205

[RFC 1/3] drm: Add support for text framebuffer

2016-07-28 Thread Noralf Trønnes
This adds a text representation of a drm_framebuffer with backing object. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/Makefile| 1 + drivers/gpu/drm/drm-text/Makefile | 4 + drivers/gpu/drm/drm-text/drm-text-buffer.c | 336

[RFC 0/3] drm: Add DRM text mode

2016-07-28 Thread Noralf Trønnes
This patchset explores the idea of adding a DRM text mode (like VGA text mode) to get an alternative to fbcon/fbdev. David Hermann has done alot of work on a fbcon replacement: - drm: add kernel-log renderer (Mar 2014)[1] - kmscon: development started Nov 2011 added to systemd Oct 2014

[PATCH 2/2] dt-bindings: add simple-panel-dsi and simple-panel

2016-07-28 Thread Thierry Reding
wer2->power1->power0. > if user want to swap the power, can easy do that by adjust dts power > sequence. > > this method can easy order the gpio, regulator, backlight sequence, judge > the delay time and add new regulator or gpio. > I think this panel power on and off method is better than panel-simple > driver currently using. That's almost exactly like the power sequences that Alex Courbot had proposed about three years ago. The concept of such a thing was rejected by device tree binding maintainers, which is why we ended up with what we have now. I'm sure you can find a link to the discussion if you want the details about why it got rejected. All of that's described in the blog, by the way. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/1e412141/attachment-0001.sig>

[PATCH v2 11/13] gpu: ipu-ic: Add complete image conversion support with tiling

2016-07-28 Thread Steve Longerbeam
Hi Philipp, On 07/26/2016 03:08 AM, Philipp Zabel wrote: > >> >> +/* >> + * The IC Resizer has a restriction that the output frame from the >> + * resizer must be 1024 or less in both width (pixels) and height >> + * (lines). >> + * >> + * The image conversion support attempts to split up a

[Bug 87682] Horizontal lines in radeon driver on kernel 3.15 and upwards

2016-07-28 Thread bugzilla-dae...@freedesktop.org
Reverting back to 3.13.0-92-generic. :( -- 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/20160728/ef76a3a4/attachment-0001.html>

ATPX changes in drm-next-4.8 and D3cold handling

2016-07-28 Thread Deucher, Alexander
> -Original Message- > From: Peter Wu [mailto:peter at lekensteyn.nl] > Sent: Thursday, July 21, 2016 6:43 AM > To: Deucher, Alexander > Cc: amd-gfx at lists.freedesktop.org; Zhang, Hawking; Koenig, Christian; dri- > devel at lists.freedesktop.org; Christoph Haag > Subject: ATPX changes in

[PATCH v4 4/8] drm/mediatek: add support for Mediatek SoC MT2701

2016-07-28 Thread YT Shen
Hi Philipp, CK, On Thu, 2016-07-28 at 10:07 +0800, CK Hu wrote: > Hi, YT: > > On Wed, 2016-07-27 at 12:03 +0200, Philipp Zabel wrote: > > Am Dienstag, den 26.07.2016, 18:42 +0800 schrieb YT Shen: > > > Hi CK, > > > > > > On Wed, 2016-07-20 at 14:53 +0800, CK Hu wrote: > > > > Hi, YT: > > > > >

[PATCH 2/2] drm/amdgpu: enable UVD context buffer for older HW

2016-07-28 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Leo Liu > Sent: Thursday, July 28, 2016 10:13 AM > To: amd-gfx at lists.freedesktop.org > Cc: Koenig, Christian; dri-devel at lists.freedesktop.org > Subject: [PATCH 2/2] drm/amdgpu:

[PULL] topic/drm-misc

2016-07-28 Thread Daniel Vetter
Hi Dave, A few more simple fixes that Sean collected. There's a bunch of bigger things on dri-devel, but I think those are all too late for 4.8 really. I'll try and go collect them after -rc1 for 4.9. Cheers, Daniel The following changes since commit e8d3ef02787fc72996cfb423180dc79764c239fa:

[PATCH 2/2] dt-bindings: add simple-panel-dsi and simple-panel

2016-07-28 Thread Rob Herring
On Tue, Jul 26, 2016 at 4:02 AM, Thierry Reding wrote: > On Tue, Jul 26, 2016 at 10:01:32AM +0800, Mark yao wrote: >> On 2016年07月25日 23:21, Thierry Reding wrote: >> >> On Wed, Jul 20, 2016 at 11:18:50AM +0800, Mark Yao wrote: >> >> Allow user add display timing on device tree

[PATCH v7 1/4] drm: add generic zpos property

2016-07-28 Thread Emil Velikov
Hi Benjamin, Just spotted a couple of small bits which, imho, should be fine with squashing with follow up patch(es). On 28 July 2016 at 09:07, Benjamin Gaignard wrote: > +EXPORT_SYMBOL(drm_atomic_helper_normalize_zpos); The symbols is internal only thus the EXPORT_SYMBOL notation isn't

[PATCH -next] drm/arm: mali-dp: Fix error return code in malidp_bind()

2016-07-28 Thread Daniel Vetter
On Thu, Jul 28, 2016 at 09:22:21AM +0100, Brian Starkey wrote: > Hi Wei, > > On Thu, Jul 28, 2016 at 02:14:26AM +, Wei Yongjun wrote: > > Fix to return error code -EINVAL from the error handling > > case instead of 0, as done elsewhere in this function. > > > > Fixes: 3c31760e760c ('drm/arm:

[PATCH -next] drm/arm: mali-dp: Remove redundant dev_err call in malidp_bind()

2016-07-28 Thread Daniel Vetter
On Thu, Jul 28, 2016 at 09:11:43AM +0100, Liviu Dudau wrote: > On Thu, Jul 28, 2016 at 02:09:13AM +, Wei Yongjun wrote: > > There is a error message within devm_ioremap_resource > > already, so remove the DRM_ERROR call to avoid redundant > > error message. > > Yeah, good catch! > > > > >

[PATCH 2/2] drm/amd/powerplay: Delete unused functions in ppevvmath.h

2016-07-28 Thread Alex Deucher
On Tue, Jul 19, 2016 at 12:22 PM, Nils Wallménius wrote: > Hi, > > This patch applies cleanly for me on top of the first patch in this series > [1] on top of your drm-next-4.8 tree. > > The series was held up to figure out what to do about the unused functions > as patch 1 introduced warnings. I

[PATCH v2] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-28 Thread Alex Deucher
On Mon, Jul 18, 2016 at 8:48 PM, Tejun Heo wrote: > On Sat, Jul 16, 2016 at 05:00:44PM +0530, Bhaktipriya Shridhar wrote: >> >> alloc_workqueue replaces deprecated create_singlethread_workqueue(). >> >> Each hardware CRTC has a single flip work queue. >> When a radeon_flip_work_func item is

[PATCH 0/8] drm/amdgpu: Fine-tuning for three function implementations

2016-07-28 Thread Alex Deucher
On Mon, Jul 18, 2016 at 3:41 AM, Christian König wrote: > Am 16.07.2016 um 16:33 schrieb SF Markus Elfring: >> >> From: Markus Elfring >> Date: Sat, 16 Jul 2016 16:23:21 +0200 >> >> Further update suggestions were taken into account after patches >> were applied from static source code

[PATCH] GPU-DRM-Radeon: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-28 Thread Alex Deucher
On Tue, Jul 12, 2016 at 4:22 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 12 Jul 2016 22:00:55 +0200 > > The drm_gem_object_unreference_unlocked() function tests whether > its argument is NULL and then returns immediately. > Thus the test around the call is not needed. > >

[PATCH v2 3/3] drm/mediatek: fix the wrong pixel clock when resolution is 4K

2016-07-28 Thread Bibby Hsieh
Hi, Philipp, Thanks for your comments. On Wed, 2016-07-27 at 11:23 +0200, Philipp Zabel wrote: > Am Mittwoch, den 27.07.2016, 16:31 +0800 schrieb Bibby Hsieh: > > From: Junzhi Zhao > > > > Pixel clock should be 297MHz when resolution is 4K. > > This patch does two different things, please

[PATCH v2 2/3] drm/mediatek: enhance the HDMI driving current

2016-07-28 Thread Bibby Hsieh
Hi, Philipp, Thanks for your review. On Wed, 2016-07-27 at 11:25 +0200, Philipp Zabel wrote: > Am Mittwoch, den 27.07.2016, 16:31 +0800 schrieb Bibby Hsieh: > > From: Junzhi Zhao > > > > In order to improve 4K resolution performance, > > we have to enhance the HDMI driving currend >

[PATCH v2 1/3] drm/mediatek: do mtk_hdmi_send_infoframe after HDMI clock enable

2016-07-28 Thread Bibby Hsieh
Hi, Philipp, Thanks for your review. On Wed, 2016-07-27 at 11:27 +0200, Philipp Zabel wrote: > Am Mittwoch, den 27.07.2016, 16:31 +0800 schrieb Bibby Hsieh: > > From: Junzhi Zhao > > > > The mtk_hdmi_send_infoframe have to > > be run after PLL and PIXEL clock of HDMI enable. > > Make sure that

[PATCH v1 2/2] drm/bridge: analogix_dp: turn off the panel when eDP need to disable

2016-07-28 Thread Yakir Yang
Sean, Oops, sorry about miss your suggest :( On 07/22/2016 11:03 PM, Sean Paul wrote: > On Thu, Jul 21, 2016 at 9:00 PM, Yakir Yang wrote: >> Sean, >> >> Thanks for your fast respond :-) >> >> But this patch is not the latest one, I have upgraded this to "v1.1" version >> to fix the eDP can't

[PATCH 1/3] drm: introduce share plane

2016-07-28 Thread Mark yao
Any ideas for the share planes? This function is important for our series of vop full design. The series of vop is: IP versionchipname 3.1 rk3288 3.2 rk3368 3.4 rk3366 3.5 rk3399 big 3.6 rk3399 lit 3.7

[PATCH v4 4/4] drm/mediatek: set mt8173 dithering function

2016-07-28 Thread Bibby Hsieh
Some panels only accept bpc (bit per color) 6-bit. But, the default bpc in mt8173 display data path is 8-bit. If we didn't enable dithering function to convert bpc, display cannot show the smooth grayscale image. In mt8173, the dithering function in OD (OverDrive) and GAMMA module, we have to

[PATCH v4 3/4] drm/mediatek: Add gamma correction.

2016-07-28 Thread Bibby Hsieh
Add gamma set function to correct brightness values. It applies arbitrary mapping curve to compensate the incorrect transfer function of the panel. Signed-off-by: Bibby Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c |8 ++- drivers/gpu/drm/mediatek/mtk_drm_crtc.h |1 +

[PATCH v4 2/4] drm/mediatek: Add GAMMA engine basic function

2016-07-28 Thread Bibby Hsieh
In order to correct brightness values, we have to support gamma funciton on MT8173. In MT8173, we have two engines for supporting gamma function: AAL and GAMMA. This patch add some GAMMA engine basic function, include config, start and stop function. Signed-off-by: Bibby Hsieh ---

[PATCH v4 1/4] drm/mediatek: Add AAL engine basic function

2016-07-28 Thread Bibby Hsieh
In order to correct brightness values, we have to support gamma funciton on MT8173. In MT8173, we have two engines for supporting gamma function: AAL and GAMMA. This patch add some AAL engine basic function, include config, start and stop function. Signed-off-by: Bibby Hsieh ---

[PATCH v4 0/4] drm/mediatek: MT8173 gamma & dither support

2016-07-28 Thread Bibby Hsieh
This is MT8173 gamma & dither support PATCH v4, based on 4.7-rc1. Changes since v3: -Split the GAMMA patch into 3 patches. --AAL engine basic function --GAMMA engine basic function --GAMMA correction config function -Align the all definition to 4 digits. -Remove HW constrain check

[PATCH 2/2] drm/amdgpu: enable UVD context buffer for older HW

2016-07-28 Thread Leo Liu
From: Christian König Supported starting on certain FW versions. Signed-off-by: Christian König Reviewed-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 28 ++-- 2 files changed, 27

[PATCH 1/2] drm/amdgpu: fix default UVD context size

2016-07-28 Thread Leo Liu
From: Christian König Context buffers should be denied by default, not allowed. Signed-off-by: Christian König Reviewed-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v7 4/4] drm: rcar: use generic code for managing zpos plane property

2016-07-28 Thread Benjamin Gaignard
version 6: rebased patch on top rcar-du changes for zpos version 4: fix null pointer issue while setting zpos in plane reset function This patch replaces zpos property handling custom code in rcar DRM driver with calls to generic DRM code. Signed-off-by: Benjamin Gaignard Reviewed-by: Laurent

[PATCH v7 3/4] drm/exynos: use generic code for managing zpos plane property

2016-07-28 Thread Benjamin Gaignard
From: Marek Szyprowski This patch replaces zpos property handling custom code in Exynos DRM driver with calls to generic DRM code. Signed-off-by: Marek Szyprowski Signed-off-by: Benjamin Gaignard Cc: Inki Dae Cc: Daniel Vetter Cc: Ville Syrjala Cc: Joonyoung Shim

[PATCH v7 2/4] drm: sti: use generic zpos for plane

2016-07-28 Thread Benjamin Gaignard
remove private zpos property and use instead the generic new. zpos range is now fixed per plane type and normalized before being using in mixer. Signed-off-by: Benjamin Gaignard Cc: Inki Dae Cc: Daniel Vetter Cc: Ville Syrjala Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Andrzej Hajda Cc:

[PATCH v7 1/4] drm: add generic zpos property

2016-07-28 Thread Benjamin Gaignard
From: Marek Szyprowski version 7: remove useless EXPORT_SYMBOL() better z-order wording in Documentation version 6: - add zpos in gpu documentation file - merge Ville patch about zpos initial value and API improvement. I have split Ville patch between zpos core and

[PATCH v7 0/4] Generic zpos property

2016-07-28 Thread Benjamin Gaignard
version 7: remove useless EXPORT_SYMBOL() better z-order wording in Documentation rebased code on drm-next + merge of git://linuxtv.org/media_tree.git vsp1 branch. vsp1 branch might be merged into 4.8-rc1 so conflits between rcar-du and zpos patches should be avoid in this version 7. version 6:

[PATCH v4 4/8] drm/mediatek: add support for Mediatek SoC MT2701

2016-07-28 Thread CK Hu
Hi, YT: On Wed, 2016-07-27 at 12:03 +0200, Philipp Zabel wrote: > Am Dienstag, den 26.07.2016, 18:42 +0800 schrieb YT Shen: > > Hi CK, > > > > On Wed, 2016-07-20 at 14:53 +0800, CK Hu wrote: > > > Hi, YT: > > > > > > Some comments inline. > > > > > > On Fri, 2016-07-15 at 18:07 +0800, YT Shen

[PATCH v1 2/2] drm/bridge: analogix_dp: turn off the panel when eDP need to disable

2016-07-28 Thread Sean Paul
On Wed, Jul 27, 2016 at 11:28 PM, Yakir Yang wrote: > Sean, > > Oops, sorry about miss your suggest :( > > > On 07/22/2016 11:03 PM, Sean Paul wrote: >> >> On Thu, Jul 21, 2016 at 9:00 PM, Yakir Yang wrote: >>> >>> Sean, >>> >>> Thanks for your fast respond :-) >>> >>> But this patch is not the

[Bug 96762] [radeonsi,apitrace] Firewatch: nothing rendered in scrollable (text) areas

2016-07-28 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20160728/5d19bf11/attachment-0001.html>

[PATCH] drm: BIT(DRM_ROTATE_?) -> DRM_ROTATE_?

2016-07-28 Thread Sean Paul
On Thu, Jul 28, 2016 at 2:44 AM, Joonas Lahtinen wrote: > On ti, 2016-07-26 at 10:49 -0400, Sean Paul wrote: >> On Mon, Jul 25, 2016 at 3:00 AM, Joonas Lahtinen >> wrote: >> > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h >> > index 3edeaf8..57bbc61 100644 >> > ---

[PATCH] drm/gma500: remove unnecessary stub for fb_ioctl()

2016-07-28 Thread Daniel Vetter
On Wed, Jul 27, 2016 at 02:24:30PM +0200, Stefan Christ wrote: > Stub implementation of fb_ioctl can be omitted, because function > do_fb_ioctl already returns -ENOTTY when fb_ioctl is not assigned. > > Signed-off-by: Stefan Christ Applied to drm-misc, thanks. -Daniel > --- >

[PATCH 1/3] drm: introduce share plane

2016-07-28 Thread Daniel Vetter
On Thu, Jul 28, 2016 at 11:01:04AM +0800, Mark yao wrote: > Any ideas for the share planes? > > This function is important for our series of vop full design. > The series of vop is: > IP versionchipname > 3.1 rk3288 > 3.2 rk3368 > 3.4 rk3366 >

[PATCH] drm: BIT(DRM_ROTATE_?) -> DRM_ROTATE_?

2016-07-28 Thread Joonas Lahtinen
On ti, 2016-07-26 at 10:49 -0400, Sean Paul wrote: > On Mon, Jul 25, 2016 at 3:00 AM, Joonas Lahtinen > wrote: > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > > index 3edeaf8..57bbc61 100644 > > --- a/include/drm/drm_crtc.h > > +++ b/include/drm/drm_crtc.h > > @@ -84,13 +84,13

[PATCH -next] drm/arm: mali-dp: Fix error return code in malidp_bind()

2016-07-28 Thread Brian Starkey
Hi Wei, On Thu, Jul 28, 2016 at 02:14:26AM +, Wei Yongjun wrote: >Fix to return error code -EINVAL from the error handling >case instead of 0, as done elsewhere in this function. > >Fixes: 3c31760e760c ('drm/arm: mali-dp: Set crtc.port to the port >instead of the endpoint') >Signed-off-by:

[PATCH -next] drm/arm: mali-dp: Remove redundant dev_err call in malidp_bind()

2016-07-28 Thread Liviu Dudau
On Thu, Jul 28, 2016 at 02:09:13AM +, Wei Yongjun wrote: > There is a error message within devm_ioremap_resource > already, so remove the DRM_ERROR call to avoid redundant > error message. Yeah, good catch! > > Signed-off-by: Wei Yongjun Acked-by: Liviu Dudau Thanks for the cleanup!

[PATCH v4 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-07-28 Thread Greg Kroah-Hartman
On Thu, Jul 28, 2016 at 04:30:36PM +0530, Sumit Semwal wrote: > Hi Greg, > > On 19 July 2016 at 17:51, Sumit Semwal wrote: > > (Adding Greg KH) > > > > Hi Greg, > > > > On 19 July 2016 at 17:45, Sumit Semwal wrote: > >> Hi Greg, > >> > >> > >> On 12 July 2016 at 23:38, Gustavo Padovan wrote: >

[PATCH v4 5/6] drm/i915/skl: Update plane watermarks atomically during plane updates

2016-07-28 Thread Matt Roper
On Tue, Jul 26, 2016 at 01:34:41PM -0400, Lyude wrote: > Thanks to Ville for suggesting this as a potential solution to pipe > underruns on Skylake. > > On Skylake all of the registers for configuring planes, including the > registers for configuring their watermarks, are double buffered. New >

[PATCH v4 3/6] drm/i915/skl: Only flush pipes when we change the ddb allocation

2016-07-28 Thread Matt Roper
On Tue, Jul 26, 2016 at 01:34:39PM -0400, Lyude wrote: > Manual pipe flushes are only necessary in order to make sure that we prevent > pipes with changed ddb allocations from overlapping from one another at > any point in time. Additionally, forcing us to wait for the next vblank > every time we

[PATCH v4 1/6] drm/i915/skl: Add support for the SAGV, fix underrun hangs

2016-07-28 Thread Matt Roper
On Tue, Jul 26, 2016 at 01:34:37PM -0400, Lyude wrote: > Since the watermark calculations for Skylake are still broken, we're apt > to hitting underruns very easily under multi-monitor configurations. > While it would be lovely if this was fixed, it's not. Another problem > that's been coming from

[Bug 94860] [radeonsi/amdgpu][DCC] screen is corrupted when logging out of kde

2016-07-28 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160728/6e3c8d1d/attachment.html>

[Bug 91221] UVD: GPU lockup with BARTS

2016-07-28 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/a8ea9729/attachment.html>

[PATCH -next] drm/arm: mali-dp: Fix error return code in malidp_bind()

2016-07-28 Thread Wei Yongjun
Fix to return error code -EINVAL from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3c31760e760c ('drm/arm: mali-dp: Set crtc.port to the port instead of the endpoint') Signed-off-by: Wei Yongjun --- drivers/gpu/drm/arm/malidp_drv.c | 4 +++- 1 file changed, 3

[PATCH -next] drm/arm: mali-dp: Remove redundant dev_err call in malidp_bind()

2016-07-28 Thread Wei Yongjun
There is a error message within devm_ioremap_resource already, so remove the DRM_ERROR call to avoid redundant error message. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/arm/malidp_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/arm/malidp_drv.c

[benjamin.gaignard:generic-zpos-v7 2/5] ERROR: "drm_atomic_helper_normalize_zpos" [drivers/gpu/drm/drm_kms_helper.ko] undefined!

2016-07-28 Thread kbuild test robot
pplication/octet-stream Size: 24421 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160728/ccc5fc53/attachment-0001.obj>