[RFC] dma-buf: Import/export the implicit fences on the dma-buf

2016-07-15 Thread Inki Dae
2016-07-12 6:59 GMT+09:00 Chris Wilson : > When dealing with user interfaces that utilize explicit fences, it is > convenient to sometimes create those fences after the fact, i.e. to > query the dma-buf for the current set of implicit fences, encapsulate > those into a sync_file and hand that fd ba

[drm-intel:drm-intel-nightly 2/10] drivers/gpu/drm/i915/intel_opregion.c:1081:17: error: 'dev' undeclared

2016-07-15 Thread kbuild test robot
s scrubbed... Name: .config.gz Type: application/octet-stream Size: 22367 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160715/6d02bfec/attachment-0001.obj>

[drm-intel:drm-intel-nightly 2/10] drivers/gpu/drm/i915/intel_opregion.c:1081:2: note: in expansion of macro 'if'

2016-07-15 Thread kbuild test robot
C: Daniel Vetter --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 32201 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160715/868f2335/attachment-0001.obj>

[drm-intel:drm-intel-nightly 2/10] drivers/gpu/drm/i915/i915_drv.h:2695:26: note: in expansion of macro 'INTEL_INFO'

2016-07-15 Thread kbuild test robot
Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 55057 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160715/4359c86b/attachment-0001.obj>

[libdrm][PATCH v2 1/2] drm: Fix multi GPU drmGetDevice return wrong device

2016-07-15 Thread Yu, Qiang
On 14 July 2016 at 10:10, Qiang Yu wrote: > drmGetDevice will always return the first device it find > under /dev/dri/. This is not true for multi GPU situation. > > Change-Id: I2a85a8a4feba8a5cc517ad75c6afb532fa07c53d Hope you don't mind if I drop the change-id lines before committing ? [yuq] O

[PATCH][libdrm] drm: Fix multi GPU drmGetDevice return wrong device

2016-07-15 Thread Yu, Qiang
On 14 July 2016 at 04:02, Yu, Qiang wrote: > Thanks Emil, I'll submit v2 to address your comments. > I believed you covered them all. Thanks ! Small suggestion for the future - I many devs are appreciate when patches have a brief shortlog before or after the --- line. [yuq] You mean the v1|v2 c

[PATCH v4 1/4] drm/rockchip: vop: export line flag function

2016-07-15 Thread Yakir Yang
Sean, On 07/14/2016 10:46 PM, Sean Paul wrote: > On Thu, Jul 14, 2016 at 12:15:44PM +0800, Yakir Yang wrote: >> VOP have integrated a hardware counter which indicate the exact display >> line that vop is scanning. And if we're interested in a specific line, >> we can set the line number to vop lin

[PATCH v4 2/4] drm/rockchip: add an common abstracted PSR driver

2016-07-15 Thread Yakir Yang
Sean, On 07/14/2016 11:14 PM, Sean Paul wrote: > On Thu, Jul 14, 2016 at 12:15:49PM +0800, Yakir Yang wrote: >> The PSR driver have exported four symbols for specific device driver: >> - rockchip_drm_psr_register() >> - rockchip_drm_psr_unregister() >> - rockchip_drm_psr_enable() >> - rockchip_drm

[PATCH] drm/rockchip: allocate correct crtc state structure on reset

2016-07-15 Thread Mark yao
On 2016年07月14日 23:29, John Keeping wrote: > Because we are using a custom crtc_state structure, we must override the > reset helper to allocate the correct amount of memory. > > Cc: stable at vger.kernel.org > Fixes: 4e257d9eee23 ("drm/rockchip: get rid of rockchip_drm_crtc_mode_config") > Si

linux-next: build failure after merge of the drm tree

2016-07-15 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/gpu/drm/i915/intel_opregion.c:34:0: drivers/gpu/drm/i915/intel_opregion.c: In function 'intel_opregion_get_panel_type': drivers/gpu/drm/i915/intel_opregion.c:1042:1

[Bug 47606] Random chance of HDMI audio to be working upon startup

2016-07-15 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: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160715/2499e321/attachment.html>

[Bug 90221] Triangle boundary artifact on Shadow Warrior game

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

[Bug 90218] Kerbal Space Program crashes with Souther Islands

2016-07-15 Thread bugzilla-dae...@freedesktop.org
|--- |NOTABUG -- 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/20160715/bf92c6e1/attachment.html>

[Bug 62967] Game Dungeon Defenders crash my whole system.

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

[Bug 62441] [r600g] Bastion game runs slowly

2016-07-15 Thread bugzilla-dae...@freedesktop.org
|--- |NOTABUG -- 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/20160715/fa2b6fa3/attachment.html>

[Bug 96934] Mining Ethereum orders of magnitude slower than on proprietary drivers.

2016-07-15 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/20160715/8f6aa55f/attachment.html>

[Bug 96935] Trying to Mine Ethereum crashes the whole system.

2016-07-15 Thread bugzilla-dae...@freedesktop.org
L: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160715/e2240cac/attachment-0001.html>

[git pull] drm fixes

2016-07-15 Thread Dave Airlie
Hi Linus, These are just some i915 and amdgpu fixes that shows up, the amdgpu ones are polaris fixes, and i915 is one major regression fix. I've got some vmwgfx fixes that might be a bit large for this time, but I'll send them on in a separate pull so it can be decided. DAve. The following ch

[git pull] drm vmware fixes.

2016-07-15 Thread Dave Airlie
Hi Linus, These are some fixes for the vmware graphics driver, that fix some black screen issues on at least Ubuntu 16.04, I think VMware would like to get these in so stable can pick them up ASAP. It's up to you if you aren't comfortable with them at this stage. Dave. The following changes si

[RESEND Patch 1/4] gpu: drm: omapdrm: connector-dvi: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Tomi Valkeinen Signed-off-by: Peter Chen --- drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/displays/conne

[RESEND Patch 0/4] gpu: drm: not merged missing of_node_put fix

2016-07-15 Thread Peter Chen
Hi Daniel, Below are the remaining fixes for missing of_node_put, which are not applied by you or individual driver maintainers. Peter Chen (4): gpu: drm: omapdrm: connector-dvi: add missing of_node_put after calling of_parse_phandle gpu: drm: omapdrm: dss-of: add missing of_node_put afte

[RESEND Patch 2/4] gpu: drm: omapdrm: dss-of: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Tomi Valkeinen Signed-off-by: Peter Chen --- drivers/gpu/drm/omapdrm/dss/dss-of.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss

[RESEND Patch 4/4] gpu: drm: arcpgu_drv: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Alexey Brodkin Signed-off-by: Peter Chen --- drivers/gpu/drm/arc/arcpgu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc

linux-next: build failure after merge of the drm tree

2016-07-15 Thread Sedat Dilek
On 7/15/16, Stephen Rothwell wrote: > Hi Dave, > > After merging the drm tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > In file included from drivers/gpu/drm/i915/intel_opregion.c:34:0: > drivers/gpu/drm/i915/intel_opregion.c: In function > 'intel_opregion_get_panel_t

[RESEND Patch 3/4] gpu: drm: exynos_hdmi: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Signed-off-by: Peter Chen --- drivers/gpu/drm/exynos/exynos_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gp

[PATCH v4 4/4] drm/rockchip: analogix_dp: implement PSR function

2016-07-15 Thread Yakir Yang
Sean, On 07/14/2016 11:26 PM, Sean Paul wrote: > On Thu, Jul 14, 2016 at 12:15:58PM +0800, Yakir Yang wrote: >> Alway enable the PSR function for Rockchip analogix_dp driver. If panel >> don't support PSR, then the core analogix_dp would ignore this setting. >> >> Signed-off-by: Yakir Yang > Revi

[v5.1 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-07-15 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

[Nouveau] [PATCH v3] drm/nouveau/fb/nv50: set DMA mask before mapping scratch page

2016-07-15 Thread Alexandre Courbot
On Fri, Jul 8, 2016 at 1:59 AM, Ard Biesheuvel wrote: > The 100c08 scratch page is mapped using dma_map_page() before the TTM > layer has had a chance to set the DMA mask. This means we are still > running with the default of 32 when this code executes, and this causes > problems for platforms wit

[Intel-gfx] [PATCH v3] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-15 Thread Daniel Vetter
On Thu, Jul 14, 2016 at 04:24:41PM +0100, Chris Wilson wrote: > On Thu, Jul 14, 2016 at 04:36:37PM +0200, Daniel Vetter wrote: > > On Thu, Jul 14, 2016 at 02:39:54PM +0100, Chris Wilson wrote: > > > On Thu, Jul 14, 2016 at 02:23:04PM +0100, Chris Wilson wrote: > > > > The biggest reason I had again

[PATCH 0/3] Support fast framebuffer panning for i.MX6

2016-07-15 Thread Daniel Vetter
On Thu, Jul 14, 2016 at 05:11:38PM +0200, Stefan Christ wrote: > Hi Daniel, > > On Wed, Jul 13, 2016 at 12:00:07PM +0200, Daniel Vetter wrote: > > On Wed, Jul 13, 2016 at 10:11:45AM +0200, Stefan Christ wrote: > > > Hi, > > > > > > im currently working on supporting double/tripple buffering for t

[PATCH 2/3] drm: fb_helper: implement ioctl FBIO_WAITFORVSYNC

2016-07-15 Thread Daniel Vetter
On Wed, Jul 13, 2016 at 12:16:05PM +0200, Daniel Vetter wrote: > On Wed, Jul 13, 2016 at 10:11:47AM +0200, Stefan Christ wrote: > > Implement legacy framebuffer ioctl FBIO_WAITFORVSYNC in the generic > > framebuffer emulation driver. Legacy framebuffer users like non kms/drm > > based OpenGL(ES)/EG

[PATCH] drm/edid: move DDC_SEGMENT_ADDR into drm_edid.h

2016-07-15 Thread Daniel Vetter
On Thu, Jul 14, 2016 at 09:21:03PM +0800, Shawn Guo wrote: > On Thu, Jul 14, 2016 at 02:45:41PM +0200, Daniel Vetter wrote: > > On Thu, Jul 14, 2016 at 05:00:28PM +0800, Shawn Guo wrote: > > > The same definition of DDC_SEGMENT_ADDR is currently defined in two > > > places, drm_edid.c and inno_hdmi

DRM device memory writeback (Mali-DP)

2016-07-15 Thread Daniel Vetter
On Thu, Jul 14, 2016 at 06:03:40PM +0100, Brian Starkey wrote: > Hi, > > The Mali-DP display processors have a memory-writeback engine which > can write the result of the composition (CRTC output) to a memory > buffer in a variety of formats. > > We're looking for feedback/suggestions on how to e

[Beignet] [PATCH] intel: Export pooled EU and min no. of eus in a pool.

2016-07-15 Thread Yang, Rong R
OK, I have send a new version patch. > -Original Message- > From: Chris Wilson [mailto:chris at chris-wilson.co.uk] > Sent: Thursday, July 14, 2016 3:10 > To: Arun Siluvery > Cc: Yang, Rong R ; beignet at lists.freedesktop.org; > dri-devel at lists.freedesktop.org; Daniel Vetter ; Tvrtko

[Patch V2] intel: Export pooled EU and min no. of eus in a pool.

2016-07-15 Thread Yang Rong
Update kernel interface with new I915_GETPARAM ioctl entries for pooled EU and min no. of eus in a pool. Add a wrapping function for each parameter. Userspace drivers need these values when decide the thread count. This kernel enabled pooled eu by default for BXT and for fused down 2x6 parts it is

[PATCH v5 1/2] drm/fsl-dcu: rework codes to support of_graph dt binding for panel

2016-07-15 Thread Meng Yi
This patch rework the output code to add of_graph dt binding support for panel device and also keeps the backward compatibility Signed-off-by: Meng Yi --- Changes in V5: -remove unused variable 'ret' Changes in V4: -simplify return value statements -merge corresponding documentation to this patch

[PATCH v5 2/2] drm/fsl-dcu: add support for drm bridge

2016-07-15 Thread Meng Yi
The current output code only supports connection to drm panels. Add code to support drm bridge, to support connections to external connectors. Signed-off-by: Meng Yi --- Changes since V1: -no change --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 16 +--- 1 file changed, 13 insertion

[PATCH v4 1/2] drm/fsl-dcu: rework codes to support of_graph dt binding for panel

2016-07-15 Thread Meng Yi
This patch rework the output code to add of_graph dt binding support for panel device and also keeps the backward compatibility Signed-off-by: Meng Yi --- Changes in V4: -simplify return value statements -merge corresponding documentation to this patch Changes in V3: -simplify return value statem

[PATCH v4 2/2] drm/fsl-dcu: add support for drm bridge

2016-07-15 Thread Meng Yi
The current output code only supports connection to drm panels. Add code to support drm bridge, to support connections to external connectors. Signed-off-by: Meng Yi --- Changes since V1: -no change --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 16 +--- 1 file changed, 13 insertion

[v5.2 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-07-15 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

[PATCH v4] drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)

2016-07-15 Thread Chris Wilson
vGEM buffers are useful for passing data between software clients and hardware renders. By allowing the user to create and attach fences to the exported vGEM buffers (on the dma-buf), the user can implement a deferred renderer and queue hardware operations like flipping and then signal the buffer r

DRM device memory writeback (Mali-DP)

2016-07-15 Thread Brian Starkey
Hi Daniel, Thanks for taking a look. (+Cc Laurent) On Fri, Jul 15, 2016 at 09:33:34AM +0200, Daniel Vetter wrote: >On Thu, Jul 14, 2016 at 06:03:40PM +0100, Brian Starkey wrote: >> Hi, >> >> The Mali-DP display processors have a memory-writeback engine which >> can write the result of the compos

[PATCH v3 1/2] drm/mediatek: Add gamma correction

2016-07-15 Thread CK Hu
Hi, Bibby: Some comments inline. On Thu, 2016-07-07 at 15:37 +0800, Bibby Hsieh wrote: > Apply gamma 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/

[PATCH v4 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-15 Thread Yakir Yang
(0x0 << 0) >> #define REF_CLK_MASK (0x1 << 0) >> >> +/* ANALOGIX_DP_PSR_FRAME_UPDATE_CTRL */ >> +#define PSR_FRAME_UP_TYPE_BURST (0x1 << 0) >> +#define PSR_FRAME_UP_TYPE_SINGLE(0x0 << 0) >

[PATCH v4 0/8] MT2701 DRM support

2016-07-15 Thread YT Shen
This is MT2701 DRM support PATCH v4, 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 changed

[PATCH v4 1/8] drm/mediatek: rename macros, add chip prefix

2016-07-15 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 b/drivers/gpu/drm/mediatek/mtk_drm_ddp

[PATCH v4 2/8] drm/mediatek: add *driver_data for different hardware settings

2016-07-15 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 --- drivers/gpu/drm/media

[PATCH v4 3/8] drm/mediatek: add shadow register support

2016-07-15 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 +++ drivers/gpu/drm/mediatek/mtk_drm_ddp.

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

2016-07-15 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 | 41 +

[PATCH v4 5/8] drm/mediatek: add dsi interrupt control

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

[PATCH v4 6/8] drm/mediatek: add dsi transfer function

2016-07-15 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 | 322 1 file changed, 322 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/

[PATCH v4 7/8] drm/mediatek: add mipi panel support

2016-07-15 Thread YT Shen
From: shaoming chen add dsi and mipi tx driver for mipi panel support Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 169 ++-- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 82 +++- 2 files changed, 173 insertions(+), 78 deletion

[PATCH v4 8/8] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2016-07-15 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] drm/fsl-dcu: Add gamma set for crtc

2016-07-15 Thread Meng Yi
Gamma correction is optional and can be used to adjust the color output values to match the gamut of a particular TFT LCD panel Signed-off-by: Meng Yi --- drivers/gpu/drm/fsl-dcu/Kconfig| 6 +++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 63 ++ drivers/

[Beignet] [Patch V2] intel: Export pooled EU and min no. of eus in a pool.

2016-07-15 Thread Arun Siluvery
On 15/07/2016 08:08, Yang Rong wrote: > Update kernel interface with new I915_GETPARAM ioctl entries for > pooled EU and min no. of eus in a pool. Add a wrapping function > for each parameter. Userspace drivers need these values when decide > the thread count. This kernel enabled pooled eu by defau

[PATCH v4 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-15 Thread Yakir Yang
X_DP_TX_SW_RESET */ >>> #define RESET_DP_TX (0x1 << 0) >>> >>> @@ -151,6 +164,7 @@ >>> #define VID_CHK_UPDATE_TYPE_SHIFT (4) >>> #define VID_CHK_UPDATE_TYPE_1 (0x1 << 4) >>>

[Beignet] [Patch V2] intel: Export pooled EU and min no. of eus in a pool.

2016-07-15 Thread Chris Wilson
On Fri, Jul 15, 2016 at 11:37:41AM +0100, Arun Siluvery wrote: > On 15/07/2016 08:08, Yang Rong wrote: > >Update kernel interface with new I915_GETPARAM ioctl entries for > >pooled EU and min no. of eus in a pool. Add a wrapping function > >for each parameter. Userspace drivers need these values wh

[PATCH v4.1 1/4] drm/rockchip: vop: export line flag function

2016-07-15 Thread Yakir Yang
VOP have integrated a hardware counter which indicate the exact display line that vop is scanning. And if we're interested in a specific line, we can set the line number to vop line_flag register, and then vop would generate a line_flag interrupt for it. For example eDP PSR function is interested

[PATCH v4.1 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-15 Thread Yakir Yang
The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware framebuffer in panel, this would make lots of sense to save the power consumption. This patch have exported two symbols for platform driver to implement the PSR function in hardware side: - analogix_dp_

DRM device memory writeback (Mali-DP)

2016-07-15 Thread Ville Syrjälä
On Fri, Jul 15, 2016 at 10:09:19AM +0100, Brian Starkey wrote: > Hi Daniel, > > Thanks for taking a look. > > (+Cc Laurent) > > On Fri, Jul 15, 2016 at 09:33:34AM +0200, Daniel Vetter wrote: > >On Thu, Jul 14, 2016 at 06:03:40PM +0100, Brian Starkey wrote: > >> Hi, > >> > >> The Mali-DP display

[PATCH] drm/edid: move DDC_SEGMENT_ADDR into drm_edid.h

2016-07-15 Thread Shawn Guo
On Fri, Jul 15, 2016 at 09:24:36AM +0200, Daniel Vetter wrote: > On Thu, Jul 14, 2016 at 09:21:03PM +0800, Shawn Guo wrote: > > On Thu, Jul 14, 2016 at 02:45:41PM +0200, Daniel Vetter wrote: > > > On Thu, Jul 14, 2016 at 05:00:28PM +0800, Shawn Guo wrote: > > > > The same definition of DDC_SEGMENT_

[PATCH] drm/nouveau/fbcon: fix deadlock with FBIOPUT_CON2FBMAP

2016-07-15 Thread Chris Wilson
On Fri, Jul 15, 2016 at 01:26:22PM +0200, Peter Wu wrote: > On Wed, Jul 13, 2016 at 06:17:47PM +0100, Chris Wilson wrote: > > Hmm, since suspend_work can theorectically rearm itself, this should be > > cancel_work_sync(). > > How so? The worker calls with state = FBINFO_STATE_RUNNING and > synchro

[PATCH] drm/bochs: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Jul 2016 14:23:15 +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. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

[PATCH 02/16] gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset()

2016-07-15 Thread Philipp Zabel
Am Mittwoch, den 13.07.2016, 15:54 -0700 schrieb Steve Longerbeam: > Hi Philipp, > > On 07/08/2016 10:34 AM, Philipp Zabel wrote: > > Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > >> Adds ipu_cpmem_set_uv_offset(), to set planar U/V offsets. > >> > >> Signed-off-by: Steve

[PATCH 07/16] gpu: ipu-v3: Add VDI input IDMAC channels

2016-07-15 Thread Philipp Zabel
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > Adds the VDIC field input IDMAC channels. These channels > transfer fields F(n-1), F(n), and F(N+1) from memory to > the VDIC (channels 8, 9, 10 respectively). > > Signed-off-by: Steve Longerbeam > --- > include/video/imx-ipu

[PATCH 09/16] gpu: ipu-v3: Add ipu_ic_set_src()

2016-07-15 Thread Philipp Zabel
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > Adds ipu_ic_set_src() which is just aa wrapper around > ipu_set_ic_src_mux(). > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/ipu-ic.c | 10 ++ > include/video/imx-ipu-v3.h | 1 + > 2 files changed, 1

[PATCH 04/16] gpu: ipu-v3: Add ipu_get_num()

2016-07-15 Thread Philipp Zabel
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > Adds of-alias id to ipu_soc and retrieve with ipu_get_num(). > > Signed-off-by: Steve Longerbeam This looks good to me, the necessary DT aliases are already in mainline since commit 41beef39cdc8 ("ARM: dts: imx6qdl: add IPU a

[PATCH 00/21] drm: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Hello, as request by Daniel here (http://www.spinics.net/lists/dri-devel/msg112592.html) I went ahead and also cleaned up the other Kconfig files. I have mostly compile tested the changes on an ARMv7 system (COMPILE_TEST). With best wishes, Tobias Tobias Jakobi (21): drm/arc: make fbdev su

[PATCH 02/21] drm/armada: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Marvell Armada DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/armada/Kconfig | 4 1 file changed, 4 deletions(-) diff

[PATCH 06/16] gpu: ipu-v3: Add ipu_set_vdi_src_mux()

2016-07-15 Thread Philipp Zabel
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > Adds ipu_set_vdi_src_mux() that selects the VDIC input > (from CSI or memory). > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/ipu-common.c | 20 > include/video/imx-ipu-v3.h | 1 + >

[PATCH 01/21] drm/arc: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling ARC DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/arc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gp

[PATCH 03/21] drm/omap: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling OMAP DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/omapdrm/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/

[PATCH 04/21] drm/mgag200: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling MGA G200 DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/mgag200/Kconfig | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 05/21] drm/cirrus: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling QEMU Cirrus DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/cirrus/Kconfig | 4 1 file changed, 4 deletions(-) diff --g

[PATCH 06/21] drm/qxl: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling QXL DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/qxl/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/drive

[PATCH 07/21] drm/imx: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Freescale i.MX DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/imx/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a

[PATCH 08/16] gpu: ipu-v3: Add ipu_csi_set_src()

2016-07-15 Thread Philipp Zabel
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > Adds ipu_csi_set_src() which is just a wrapper around > ipu_set_csi_src_mux(). > > Signed-off-by: Steve Longerbeam > --- > drivers/gpu/ipu-v3/ipu-csi.c | 8 > include/video/imx-ipu-v3.h | 1 + > 2 files changed, 9

[PATCH 08/21] drm/shmobile: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling SH Mobile DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/shmobile/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a

[PATCH 09/21] drm/rockchip: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Rockchip DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/rockchip/Kconfig | 4 1 file changed, 4 deletions(-) diff --gi

[PATCH 11/21] drm/rcar-du: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling R-Car DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/rcar-du/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/driv

[PATCH 12/21] drm/tilcdc: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling TI LCDC DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/tilcdc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/dri

[PATCH 13/21] drm/fsl-dcu: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Freescale DCU DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/fsl-dcu/Kconfig | 5 - 1 file changed, 5 deletions(-) diff

[PATCH 10/21] drm/gma500: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Intel GMA DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/gma500/Kconfig | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 16/21] drm/udl: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling USB DisplayLink DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/udl/Kconfig | 5 - 1 file changed, 5 deletions(-) diff -

[PATCH 18/21] drm/virtio: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling VirtIO DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/virtio/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/

[PATCH 20/21] drm/arm: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling ARM HDLCD DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/driv

[PATCH 21/21] drm/nouveau: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Nouveau DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/nouveau/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --gi

[PATCH 14/21] drm/bochs: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling Bochs DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/bochs/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/dr

[PATCH 15/21] drm/vmwgfx: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling VMware Virtual DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/vmwgfx/Kconfig | 4 1 file changed, 4 deletions(-) diff

[PATCH 17/21] drm/atmel-hlcdc: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling ATMEL HLCDC DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/atmel-hlcdc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --

[PATCH 19/21] drm/ast: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Currently enabling AST Server DRM support automatically pulls in fbdev dependency. However this dep is unnecessary since DRM core already handles this for us (DRM_FBDEV_EMULATION). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/ast/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a

[RESEND Patch 0/4] gpu: drm: not merged missing of_node_put fix

2016-07-15 Thread Sean Paul
On Thu, Jul 14, 2016 at 11:17 PM, Peter Chen wrote: > Hi Daniel, > > Below are the remaining fixes for missing of_node_put, which are > not applied by you or individual driver maintainers. > > Peter Chen (4): > gpu: drm: omapdrm: connector-dvi: add missing of_node_put after > calling of_pars

[PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format

2016-07-15 Thread Philipp Zabel
Am Mittwoch, den 13.07.2016, 16:02 -0700 schrieb Steve Longerbeam: > On 07/10/2016 09:33 AM, Steve Longerbeam wrote: > > > > > > On 07/08/2016 10:34 AM, Philipp Zabel wrote: > >> Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam: > >>> From: Suresh Dhandapani > >>> > >>> This pat

[PATCH v4.1 1/4] drm/rockchip: vop: export line flag function

2016-07-15 Thread Sean Paul
On Fri, Jul 15, 2016 at 6:55 AM, Yakir Yang wrote: > VOP have integrated a hardware counter which indicate the exact display > line that vop is scanning. And if we're interested in a specific line, > we can set the line number to vop line_flag register, and then vop would > generate a line_flag in

[PATCH v4.1 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-15 Thread Sean Paul
On Fri, Jul 15, 2016 at 06:55:17PM +0800, Yakir Yang wrote: > The full name of PSR is Panel Self Refresh, panel device could refresh > itself with the hardware framebuffer in panel, this would make lots of > sense to save the power consumption. > > This patch have exported two symbols for platform

[PATCH 00/21] drm: make fbdev support really optional

2016-07-15 Thread Emil Velikov
On 15 July 2016 at 13:47, Tobias Jakobi wrote: > Hello, > > as request by Daniel here > (http://www.spinics.net/lists/dri-devel/msg112592.html) I went ahead and also > cleaned up the other Kconfig files. I have mostly compile tested the changes > on an ARMv7 system (COMPILE_TEST). > Yay :-) II

[Bug 84431] Kernel crash when unloading radeon module for switcheroo card

2016-07-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=84431 Peter Wu changed: What|Removed |Added CC||peter at lekensteyn.nl --- Comment #9 from Pet

[PATCH] drm/rockchip: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-15 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 15 Jul 2016 15:23:22 +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. This issue was detected by using the Coccinelle software. Signed-off-by: Ma

[PATCH 00/21] drm: make fbdev support really optional

2016-07-15 Thread Tobias Jakobi
Hello Emil, Emil Velikov wrote: > On 15 July 2016 at 13:47, Tobias Jakobi > wrote: >> Hello, >> >> as request by Daniel here >> (http://www.spinics.net/lists/dri-devel/msg112592.html) I went ahead and >> also cleaned up the other Kconfig files. I have mostly compile tested the >> changes on a

[Bug 115321] radeon runpm falsely disabled on Clevo P170EM

2016-07-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=115321 Peter Wu changed: What|Removed |Added CC||peter at lekensteyn.nl --- Comment #4 from Pe

  1   2   >