Re: [PATCH] drm/amd/display: Remove duplicate header

2018-12-20 Thread Souptick Joarder
On Wed, Dec 19, 2018 at 1:27 PM Brajeswar Ghosh wrote: > > Remove custom_float.h which is included more than once > > Signed-off-by: Brajeswar Ghosh > --- Acked-by: Souptick Joarder > drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 - > 1 file changed, 1 deletion(-) > > diff --gi

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 14:26, Vincent Guittot wrote: > > On Wed, 19 Dec 2018 at 11:43, Ulf Hansson wrote: > > > > On Wed, 19 Dec 2018 at 11:34, Vincent Guittot > > wrote: > > > > > > On Wed, 19 Dec 2018 at 11:21, Ulf Hansson wrote: > > > > > > > > > > > > > > > > > > > diff --git a/drivers/base

Re: [RFC 00/16] Armada DRM support for OLPC XO-1.75 laptop

2018-12-20 Thread Lubomir Rintel
On Wed, 2018-12-19 at 10:13 +0100, Daniel Vetter wrote: > On Wed, Dec 19, 2018 at 9:40 AM Lubomir Rintel wrote: > > Hi, > > > > here are patches that make the Armada DRM work on an OLPC XO-1.75. > > They build on patches previously submitted by Russel King (included here for > > completeness as w

[PATCH 1/3] drm/exynos: rotator: Add support for s5pv210

2018-12-20 Thread Paweł Chmiel
This commit adds support for s5pv210. Currently only NV12 and XRGB formats are supported. It was tested by using tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Signed-off-by: Paweł Chmiel --- drivers/gpu/drm/exynos/exynos_drm_rotator.c | 23 + 1 f

[PATCH] staging: android: ion: add buffer flag update ioctl

2018-12-20 Thread Zeng Tao
In some usecases, the buffer cached attribute is not determined at allocation time, it's determined just before the real cpu mapping. And from the memory view of point, a buffer should not have the cached attribute util is really mapped by the cpu. So in this patch, we introduced the new ioctl comm

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-20 Thread Souptick Joarder
On Wed, Dec 19, 2018 at 5:36 PM Russell King - ARM Linux wrote: > > On Wed, Dec 19, 2018 at 05:16:09PM +0530, Souptick Joarder wrote: > > On Wed, Dec 19, 2018 at 3:02 PM Russell King - ARM Linux > > wrote: > > > > > > On Wed, Dec 19, 2018 at 09:01:09AM +0530, Souptick Joarder wrote: > > > > On Tu

RE: [PATCH] staging: android: ion: add buffer flag update ioctl

2018-12-20 Thread Zengtao (B)
Hi laura: >-Original Message- >From: Laura Abbott [mailto:labb...@redhat.com] >Sent: Thursday, December 20, 2018 2:10 AM >To: Zengtao (B) ; sumit.sem...@linaro.org >Cc: Greg Kroah-Hartman ; Arve Hjønnevåg >; Todd Kjos ; Martijn Coenen >; Joel Fernandes ; >de...@driverdev.osuosl.org; dri-de

[PATCH v2 1/3] dt-bindings: display: bridge: fork out ti, ds90c185 from lvds-transmitter

2018-12-20 Thread Peter Rosin
From: Peter Rosin DS90C185 has a shutdown pin which does not fit in the lvds-transmitter binding, which is meant to be generic. The sister chip DS90C187 is similar to DS90C185, describe it here as well. Signed-off-by: Peter Rosin --- .../bindings/display/bridge/lvds-transmitter.txt | 8 +--

Re: [PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-12-20 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes in

[PATCH 2/3] dt-bindings: gpu: samsung-rotator: Document s5pv210 support

2018-12-20 Thread Paweł Chmiel
This commit documents new compatible for s5pv210 soc, which will be also supported by this driver. Signed-off-by: Paweł Chmiel --- Documentation/devicetree/bindings/gpu/samsung-rotator.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/samsung-rotator.t

Re: [PATCH v4 4/8] drm/msm/dsi: 14nm PHY: Get ref clock from the DT

2018-12-20 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-19 14:22:22) > On Mon, Dec 10, 2018 at 07:51:19AM -0800, Stephen Boyd wrote: > > Quoting Matthias Kaehlcke (2018-12-04 14:42:30) > > > diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > > b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > > > index 71fe60e5f

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 11:34, Vincent Guittot wrote: > > On Wed, 19 Dec 2018 at 11:21, Ulf Hansson wrote: > > > > On Wed, 19 Dec 2018 at 11:11, Vincent Guittot > > wrote: > > > > > > On Wed, 19 Dec 2018 at 10:58, Ulf Hansson wrote: > > > > > > > > On Tue, 18 Dec 2018 at 15:55, Vincent Guittot >

[PATCH 3/3] ARM: dts: s5pv210: Add node for exynos-rotator

2018-12-20 Thread Paweł Chmiel
This commit adds node for Exynos Rorator device, so it can be used on all s5pv210 based devices. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 75f45

[PATCH] drm/ioctl: Fix Spectre v1 vulnerabilities

2018-12-20 Thread Gustavo A. R. Silva
nr is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/gpu/drm/drm_ioctl.c:805 drm_ioctl() warn: potential spectre issue 'dev->driver->ioctls' [r] drivers/gpu/drm/drm_io

Re: [PATCH 2/3] dt-bindings: display: bridge: lvds-transmitter: add pwdn-gpios

2018-12-20 Thread Peter Rosin
On 2018-12-19 12:38, Laurent Pinchart wrote: > Hello, > > On Wednesday, 19 December 2018 11:57:32 EET Peter Rosin wrote: >> On 2018-12-19 10:12, Andrzej Hajda wrote: >>> On 19.12.2018 00:19, Peter Rosin wrote: Add optional property to specify a power-down GPIO. The pwdn-gpios name is alr

Re: [PATCH 2/3] dt-bindings: display: bridge: lvds-transmitter: add pwdn-gpios

2018-12-20 Thread Peter Rosin
On 2018-12-19 10:12, Andrzej Hajda wrote: > On 19.12.2018 00:19, Peter Rosin wrote: >> Add optional property to specify a power-down GPIO. >> The pwdn-gpios name is already in use by the thine,thc63lvdm83d >> binding, so go with that. >> >> Signed-off-by: Peter Rosin >> --- >> Documentation/devic

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 11:11, Vincent Guittot wrote: > > On Wed, 19 Dec 2018 at 10:58, Ulf Hansson wrote: > > > > On Tue, 18 Dec 2018 at 15:55, Vincent Guittot > > wrote: > > > > > > Some drivers (like i915/drm) need to get the accounted suspended time. > > > pm_runtime_accounted_time_get() will

[PATCH v2 0/3] drm/bridge: various small lvds-encoder things

2018-12-20 Thread Peter Rosin
From: Peter Rosin Hi! I'm not sure if I should have added the texas chips to the lvds_encoder_match list in the driver, right next to the thine,thc63lvdm83d entry, but ended up not doing that. That can always be added later, it needed... Changes since v1: - fork out the bindings for the texas c

[PATCH 0/3] drm/exynos: rotator: Add support for s5pv210

2018-12-20 Thread Paweł Chmiel
This patchset adds support for s5pv210 soc, into Samsung DRM Rotator driver. Currently only NV12 and XRGB formats are supported. It was tested by using simple tool from https://www.spinics.net/lists/linux-samsung-soc/msg60498.html Paweł Chmiel (3): drm/exynos: rotator: Add support for s5

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-20 Thread Souptick Joarder
On Wed, Dec 19, 2018 at 3:02 PM Russell King - ARM Linux wrote: > > On Wed, Dec 19, 2018 at 09:01:09AM +0530, Souptick Joarder wrote: > > On Tue, Dec 18, 2018 at 6:31 PM Russell King - ARM Linux > > wrote: > > > > > > On Tue, Dec 18, 2018 at 06:24:29PM +0530, Souptick Joarder wrote: > > > > On Tu

[PATCH v2] drm/panel: rpi-touchscreen: Add backlight support

2018-12-20 Thread Nicolas Saenz Julienne
This patch exposes backlight control into userspace by creating a backlight device instead of directly accessing the PWM registers. The backlight driver can't go on a separate file as it shares the I2C bus & address with the panel. Signed-off-by: Nicolas Saenz Julienne --- v1 -> v2: - Add Kcon

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
On Tue, 18 Dec 2018 at 15:55, Vincent Guittot wrote: > > Some drivers (like i915/drm) need to get the accounted suspended time. > pm_runtime_accounted_time_get() will return the suspended or active > accounted time until now. I suggest to leave the active accounted time out for now. At least unti

[PATCH] gpu: anx7808: fix a missing check of return value

2018-12-20 Thread Kangjie Lu
Both anx78xx_set_bits() and anx78xx_clear_bits() in the poweron process may fail. The fix inserts checks for their return values. If the poweron process fails, it calls anx78xx_poweroff(). Signed-off-by: Kangjie Lu --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 26 --- 1 fil

[PATCH v2 3/3] drm/bridge: add pwdn-gpios support to the lvds-encoder

2018-12-20 Thread Peter Rosin
From: Peter Rosin Optionally power down the LVDS-encoder when it is not in use. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/

Re: [PATCH v2 1/3] PM/pm_runtime: move autosuspend on hrtimer

2018-12-20 Thread Ulf Hansson
On Fri, 14 Dec 2018 at 15:22, Vincent Guittot wrote: > > pm runtime uses the timer infrastructure for autosuspend. This implies that > the minimum time before autosuspending a device is in the range > of 1 tick included to 2 ticks excluded > -On arm64 this means between 4ms and 8ms with default ji

Re: [PATCH 2/2] drm: Revert syncobj timeline changes.

2018-12-20 Thread Dmitry Osipenko
On 08.11.2018 19:04, Eric Anholt wrote: > Daniel suggested I submit this, since we're still seeing regressions > from it. This is a revert to before 48197bc564c7 ("drm: add syncobj > timeline support v9") and its followon fixes. > > Fixes this on first V3D testcase execution: > > [ 48.767088]

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
On Wed, 19 Dec 2018 at 11:43, Ulf Hansson wrote: > > On Wed, 19 Dec 2018 at 11:34, Vincent Guittot > wrote: > > > > On Wed, 19 Dec 2018 at 11:21, Ulf Hansson wrote: > > > > > > On Wed, 19 Dec 2018 at 11:11, Vincent Guittot > > > wrote: > > > > > > > > On Wed, 19 Dec 2018 at 10:58, Ulf Hansson

[PATCH v2 2/3] dt-bindings: display: bridge: lvds-transmitter: cleanup example

2018-12-20 Thread Peter Rosin
From: Peter Rosin Drop #address-cells and #size-cells from the root node in the example, they are unused. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings

Re: [PATCH v4 0/5] vc4/hdmi: Support TV margin props

2018-12-20 Thread Boris Brezillon
On Thu, 6 Dec 2018 15:24:34 +0100 Boris Brezillon wrote: > Hello, > > As suggested by Ville, this version uses the already available TV > margin props to define left/right/top/bottom margins insted of adding > new underscan props. > > This works pretty well for what we want to do in VC4: allow

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Ulf Hansson
[...] > Hold on. I am wondering if the drm driver could use the existing > pm_runtime_autosuspend_expiration() function instead. Isn't that > really that what is needed? No, it can't. I don't know why I thought that, sorry for the noise. U ___ dri-deve

[PATCH] gpu: ipu-v3: Fix i.MX51 CSI control registers offset

2018-12-20 Thread Alexander Shiyan
The CSI0/CSI1 registers offset is at +0xe03/+0xe038000 relative to the control module registers on IPUv3EX. This patch fixes wrong values for i.MX51 CSI0/CSI1. Signed-off-by: Alexander Shiyan --- drivers/gpu/ipu-v3/ipu-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH v3 2/3] drm/msm/dpu: Integrate interconnect API in MDSS

2018-12-20 Thread Georgi Djakov
Hi Sravanthi, Thanks for the patch! On 11/22/18 11:06, Sravanthi Kollukuduru wrote: > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where th

[PATCH] drm/i915: Fix i915_gem_wait_for_idle oops due to active_requests check

2018-12-20 Thread Bin Yang
i915_gem_wait_for_idle() waits for all requests being completed and calls i915_retire_requests() to retire them. It assumes the active_requests should be zero finally. In i915_retire_requests(), it will retire all requests on the active rings. Unfortunately, active_requests is increased in i915_re

Re: [PATCH v2] drm/bochs: add edid present check

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 07:50:01AM +0100, Gerd Hoffmann wrote: > Check first two header bytes before trying to read the edid blob, > to avoid the log being spammed in case qemu has no edid support (old > qemu or edid turned off). > > Fixes: 01f23459cf drm/bochs: add edid support. > Signed-off-by:

Re: [PATCH v2] drm/bochs: add edid present check

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 09:28:26AM +0100, Daniel Vetter wrote: > On Thu, Dec 20, 2018 at 07:50:01AM +0100, Gerd Hoffmann wrote: > > Check first two header bytes before trying to read the edid blob, > > to avoid the log being spammed in case qemu has no edid support (old > > qemu or edid turned off)

Re: [PATCH] drm/i915: Fix i915_gem_wait_for_idle oops due to active_requests check

2018-12-20 Thread Chris Wilson
Quoting Bin Yang (2018-12-20 08:01:35) > Normally, i915_request_alloc() and i915_request_add() will be called > in sequence with drm.struct_mutex locked. But in > intel_vgpu_create_workload(), it will pre-allocate the request and > call i915_request_add() in the workload thread for performance > op

Re: [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Vincent Guittot
On Thu, 20 Dec 2018 at 09:16, Ulf Hansson wrote: > > On Wed, 19 Dec 2018 at 17:52, Vincent Guittot > wrote: > > > > On Wed, 19 Dec 2018 at 17:36, Ulf Hansson wrote: > > > > > > On Wed, 19 Dec 2018 at 14:26, Vincent Guittot > > > wrote: > > > > > > > > On Wed, 19 Dec 2018 at 11:43, Ulf Hansson

Re: [PATCH] drm/i915: Fix i915_gem_wait_for_idle oops due to active_requests check

2018-12-20 Thread Yang, Bin
On Thu, 2018-12-20 at 08:35 +, Chris Wilson wrote: > Quoting Bin Yang (2018-12-20 08:01:35) > > Normally, i915_request_alloc() and i915_request_add() will be called > > in sequence with drm.struct_mutex locked. But in > > intel_vgpu_create_workload(), it will pre-allocate the request and > > ca

Re: [PATCH] drm: add capability DRM_CAP_ASYNC_UPDATE

2018-12-20 Thread Tomasz Figa
Hi Helen, On Fri, Dec 14, 2018 at 10:35 AM Helen Koike wrote: > > Hi Tomasz, > > On 12/13/18 2:02 AM, Tomasz Figa wrote: > > On Thu, Dec 6, 2018 at 1:12 AM Helen Koike > > wrote: > >> > >> Hi Ville > >> > >> On 11/27/18 11:34 AM, Ville Syrjälä wrote: > >>> On Fri, Nov 23, 2018 at 07:53:26PM -02

Re: [PATCH v2 01/16] drm/dp_mst: Rename drm_dp_mst_get_validated_(port|mstb)_ref and friends

2018-12-20 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 07:19:45PM -0500, Lyude Paul wrote: > s/drm_dp_get_validated_port_ref/drm_dp_mst_topology_get_port_validated/ > s/drm_dp_put_port/drm_dp_mst_topology_put_port/ > s/drm_dp_get_validated_mstb_ref/drm_dp_mst_topology_get_mstb_validated/ > s/drm_dp_put_mst_branch_device/drm_dp_m

Re: [PATCH v2 06/16] drm/i915: Keep malloc references to MST ports

2018-12-20 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 07:19:50PM -0500, Lyude Paul wrote: > So that the ports stay around until we've destroyed the connectors, in > order to ensure that we don't pass an invalid pointer to any MST helpers > once we introduce the new MST VCPI helpers. > > Changes since v1: > * Move drm_dp_mst_ge

[PATCH 4.14 51/72] drm/msm: Fix error return checking

2018-12-20 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 098336deb946f37a70afc0979af388b615c378bf ] The error checks on ret for a negative error return always fails because the return value of iommu_map_sg() is unsigned and can never be ne

[PATCH 4.19 36/67] drm/msm: Fix error return checking

2018-12-20 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 098336deb946f37a70afc0979af388b615c378bf ] The error checks on ret for a negative error return always fails because the return value of iommu_map_sg() is unsigned and can never be ne

[Bug 109115] Driver did not suport 8706G Readon PRO WX Vega M in Precision 5530 2-in-1

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109115 Bug ID: 109115 Summary: Driver did not suport 8706G Readon PRO WX Vega M in Precision 5530 2-in-1 Product: Mesa Version: unspecified Hardware: x86-64 (AMD64)

[PATCH v3] drm/bochs: add edid present check

2018-12-20 Thread Gerd Hoffmann
Check header before trying to read the complete edid blob, to avoid the log being spammed in case qemu has no edid support (old qemu or edid support turned off). Fixes: 01f23459cf drm/bochs: add edid support. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_hw.c | 7 +++ 1 file c

Re: [PATCH] drm: add capability DRM_CAP_ASYNC_UPDATE

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 10:07 AM Tomasz Figa wrote: > > Hi Helen, > > On Fri, Dec 14, 2018 at 10:35 AM Helen Koike > wrote: > > > > Hi Tomasz, > > > > On 12/13/18 2:02 AM, Tomasz Figa wrote: > > > On Thu, Dec 6, 2018 at 1:12 AM Helen Koike > > > wrote: > > >> > > >> Hi Ville > > >> > > >> On 1

Re: [PATCH v3] drm/bochs: add edid present check

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 11:11:21AM +0100, Gerd Hoffmann wrote: > Check header before trying to read the complete edid blob, to avoid the > log being spammed in case qemu has no edid support (old qemu or edid > support turned off). > > Fixes: 01f23459cf drm/bochs: add edid support. > Signed-off-by:

Re: [PATCH v3 10/10] drm/bridge: cdns: Convert to phy framework

2018-12-20 Thread kbuild test robot
Hi Maxime, I love your patch! Yet something to improve: [auto build test ERROR on phy/next] [cannot apply to v4.20-rc7 next-20181220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Maxime

Re: [PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-20 Thread james qian wang (Arm Technology China)
On Wed, Dec 19, 2018 at 07:55:44AM -0600, Rob Herring wrote: > On Wed, Dec 19, 2018 at 6:33 AM james qian wang (Arm Technology China) > wrote: > > > > Add DT bindings documentation for the ARM display processor D71 and later > > IPs. > > > > Signed-off-by: James (Qian) Wang > > --- > > .../bindi

[Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109117 Bug ID: 109117 Summary: [ARM64] Unable to load module amdgpu on LS1012A-RDB board Product: DRI Version: XOrg git Hardware: ARM OS: All Status:

[Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109117 Bas Vermeulen changed: What|Removed |Added Version|XOrg git|unspecified OS|All

Re: [PATCH v4 1/2] drm/sched: Refactor ring mirror list handling.

2018-12-20 Thread Koenig, Christian
Am 19.12.18 um 18:32 schrieb Grodzovsky, Andrey: > > On 12/19/2018 11:21 AM, Christian König wrote: >> Am 17.12.18 um 20:51 schrieb Andrey Grodzovsky: >>> Decauple sched threads stop and start and ring mirror >>> list handling from the policy of what to do about the >>> guilty jobs. >>> When stoppp

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 4:10 PM, Gerd Hoffmann wrote: Hi, Sure this actually helps? It's below 4G in guest physical address space, so it can be backed by pages which are actually above 4G in host physical address space ... Yes, you are right here. This is why I wrote about the IOMMU and other conditio

[PATCH] drm/ttm: Use drm_debug_printer for all ttm_bo_mem_space_debug output

2018-12-20 Thread Michel Dänzer
From: Michel Dänzer No need for pr_err here, the pr_err message in ttm_bo_evict is enough to draw attention to something not going as planned. Signed-off-by: Michel Dänzer --- Similar to a previous patch, but this one leaves the pr_err messages in ttm_bo_evict untouched. drivers/gpu/drm/ttm/

Re: [PATCH] drm/xen-front: Make shmem backed display buffer coherent

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 6:14 PM, Noralf Trønnes wrote: Den 19.12.2018 09.18, skrev Oleksandr Andrushchenko: On 12/18/18 9:20 PM, Noralf Trønnes wrote: Den 27.11.2018 11.32, skrev Oleksandr Andrushchenko: From: Oleksandr Andrushchenko When GEM backing storage is allocated with drm_gem_get_pages the bac

Re: [PATCH v3] drm/bochs: add edid present check

2018-12-20 Thread Oleksandr Andrushchenko
On 12/20/18 12:51 PM, Daniel Vetter wrote: On Thu, Dec 20, 2018 at 11:11:21AM +0100, Gerd Hoffmann wrote: Check header before trying to read the complete edid blob, to avoid the log being spammed in case qemu has no edid support (old qemu or edid support turned off). Fixes: 01f23459cf drm/bochs

Re: [PATCH v9 08/39] drm/i915: hdcp1.4 CP_IRQ handling and SW encryption tracking

2018-12-20 Thread C, Ramalingam
On 12/19/2018 9:18 PM, Daniel Vetter wrote: On Thu, Dec 13, 2018 at 09:31:10AM +0530, Ramalingam C wrote: "hdcp_encrypted" flag is defined to denote the HDCP1.4 encryption status. This SW tracking is used to determine the need for real hdcp1.4 disable and hdcp_check_link upon CP_IRQ. On CP_IRQ

Re: [v5 1/2] drm: Add colorspace connector property

2018-12-20 Thread Sharma, Shashank
Regards Shashank On 12/11/2018 11:44 PM, Uma Shankar wrote: This patch adds a colorspace connector property, enabling userspace to switch to various supported colorspaces. This will help enable BT2020 along with other colorspaces. v2: Addressed Maarten and Ville's review comments. Enhanced th

[radeon-alex:amd-18.50 1/1] drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration

2018-12-20 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-18.50 head: 88a0039cb034176ee3416dd0c3a49feea2f446ab commit: 88a0039cb034176ee3416dd0c3a49feea2f446ab [1/1] drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian

Re: [PATCH 04/14] drm/bochs: atomic: add mode_set_nofb callback.

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, step two. Add mode_set_nofb crtc helper callback. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH 05/14] drm/bochs: atomic: switch planes to atomic, wire up helpers.

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, step three. Wire up atomic helpers. Switch planes to atomic. We are late to the party, the transitional helpers are gone, so this can't be splitted into smaller steps any more. Signed-off-by: Gerd Hoffmann --- drive

Re: [PATCH 06/14] drm/bochs: atomic: use atomic set_config helper

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, step four. Use atomic set_config helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #4 from jdr...@gmail.com --- Created attachment 142865 --> https://bugs.freedesktop.org/attachment.cgi?id=142865&action=edit freeze-screenshot -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #5 from jdr...@gmail.com --- Created attachment 142866 --> https://bugs.freedesktop.org/attachment.cgi?id=142866&action=edit dmesg -- You are receiving this mail because: You are the assignee for the bug.__

[PATCH v2 0/7] drm: Remove drm_mode_object dependency from drm_display_mode

2018-12-20 Thread Shayenne Moura
This patch serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. Shayenne Moura (7): drm: msm: Cleanup drm_display_mode print str drm: omapdrm: Cleanup drm_display_mode print str drm: meson: Cleanup on drm_display_mode print str drm: sti: Clean

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #6 from jdr...@gmail.com --- Same pb here on a r9 fury, mesa 18.3 Complete freeze on various games in yuzu (easy to reproduce: super mario odissey). I attached a screenshot + the dmesg log obtained via ssh. -- You are receiving this

[PATCH v2 1/7] drm: msm: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in msm files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel). - Make the commit message more clear drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c |

[PATCH v2 2/7] drm: omapdrm: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in omapdrm files. Signed-off-by: Shayenne Moura Reviewed-by: Sebastian Reichel --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm/

[PATCH v2 3/7] drm: meson: Cleanup on drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in meson files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm/meson/meson_dw_hdmi.c | 12 +++

[PATCH v2 5/7] drm: i915: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in i915 files. It modifies the print style to standardize the use of DRM_MODE_FMT. Signed-off-by: Shayenne Moura Reviewed-by: Jani Nikula --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel

[PATCH v2 4/7] drm: sti: Cleanup drm_display_mode print str

2018-12-20 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in sti files. Signed-off-by: Shayenne Moura --- Changes in v2: - Use DRM_MODE_FMT/ARG macros (Daniel) - Make the commit message more clear drivers/gpu/drm/sti/sti_crtc.c | 16

[PATCH v2 6/7] drm: Remove use of drm_mode_object

2018-12-20 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- Changes in v2: - No change drivers/gpu/drm/drm_crtc_helper.c | 5 ++---

[PATCH v2 7/7] drm: Complete remove drm_mode_object dependency

2018-12-20 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter ---

Re: [PATCH 07/14] drm/bochs: atomic: use atomic page_flip helper

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, step five. Use atomic page_flip helper for crtc. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 23 +-- 1 file changed, 1 insertion(+)

Re: [PATCH 08/14] drm/bochs: atomic: set DRIVER_ATOMIC

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Conversion to atomic modesetting, final step. Set the DRIVER_ATOMIC flag. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

Re: [PATCH 09/14] drm/bochs: remove old bochs_crtc_* functions

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Remove the old, now unused crtc callbacks. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_kms.c | 81 --- 1 file changed, 81 deletions(-) diff --git a/drivers/

Re: [PATCH 0/6] omapdrm: drm_bridge and drm_panel support

2018-12-20 Thread Tomi Valkeinen
Hi, On 20/12/18 14:17, Sebastian Reichel wrote: > Hi, > > On Mon, Dec 10, 2018 at 03:06:17AM +0200, Laurent Pinchart wrote: >> This patch series hooks up support for drm_bridge and drm_panel in the >> omapdrm >> driver. >> >> [...] > > The series is > > Reviewed-by: Sebastian Reichel > > At

Re: [PATCH 10/14] drm/bochs: drop unused gpu_addr arg from bochs_bo_pin()

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: It's always NULL, so just remove it. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 2 +- drivers/gpu/drm/bochs/bochs_fbdev.c | 2 +- drivers/gpu/drm/bochs/bochs_kms.c | 2 +- dri

Re: [PATCH 0/3] drm: tweak permission handling

2018-12-20 Thread Emil Velikov
On Wed, 19 Dec 2018 at 20:37, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 09:30:46PM +0100, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 07:22:44PM +, Emil Velikov wrote: > > > Hi all, > > > > > > This series relaxes some permission handling we have in core. > > > > > > The first patc

Re: [PATCH 11/14] drm/bochs: add basic prime support

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Generic framebuffer emulation needs this. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h | 11 +++ drivers/gpu/drm/bochs/bochs_drv.c | 15 +- drivers/gpu/drm/bochs/bochs_mm.c | 63

Re: [PATCH 12/14] drm/bochs: switch to generic drm fbdev emulation

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs_drv.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index a9c7140e3b..f1f65324bb 100644 --- a

Re: [PATCH 13/14] drm/bochs: drop old fbdev emulation code

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: Not needed any more, bochs uses the generic emulation now. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs.h | 9 --- drivers/gpu/drm/bochs/bochs_drv.c | 6 -- drivers/gpu/drm/bochs/bo

Re: [PATCH v9 07/39] drm/i915: MEI interface definition

2018-12-20 Thread C, Ramalingam
On 12/19/2018 8:51 PM, Daniel Vetter wrote: Indeed, I overlooked that. Maybe highlight it a bit more with a separate if (!CONFIG_ENABLED(MEI_HDCP)) return false; so it stick out more in the previous patch. Currently it's a bit burried. With that + the init ordering fix

Re: [PATCH 14/14] drm/bochs: move remaining fb bits to kms

2018-12-20 Thread Oleksandr Andrushchenko
On 12/19/18 1:51 PM, Gerd Hoffmann wrote: bochs_fbdev.c is almost empty now. Move the remaining framebuffer bits over to bochs_kms.c. Pure code motion. No functional change. Signed-off-by: Gerd Hoffmann Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/bochs/bochs_fbdev.c | 29 ---

[PATCH v2 3/3] drm/i915: DDI: call intel_psr_ and _edp_drrs_enable() on pipe updates (v2)

2018-12-20 Thread Hans de Goede
Call intel_psr_enable() and intel_edp_drrs_enable() on pipe updates to make sure that we enable PSR / DRRS (when applicable) on fastsets. Note calling these functions when PSR / DRRS has already been enabled is a no-op, so it is safe to do this on every encoder->update_pipe callback. Changes in v

[PATCH v2 2/3] drm/i915: Allow calling intel_edp_drrs_enable twice

2018-12-20 Thread Hans de Goede
Do not make it an error to call intel_edp_drrs_enable while drrs has already been enabled, instead exit silently in this case. This is a preparation patch for ensuring that DRRS is enabled on fastsets. Note that the removed WARN_ON could also be triggered from userspace through the i915_drrs_ctl

[PATCH v2 1/3] drm/i915: Add an update_pipe callback to intel_encoder and call this on fastsets (v2)

2018-12-20 Thread Hans de Goede
When we are doing a fastset (needs_modeset=false, update_pipe=true) we may need to update some encoder-level things such as checking that PSR is enabled. This commit adds an update_pipe callback to intel_encoder and a new intel_encoders_update_pipe helper which calls this for all encoders connecte

Re: [PATCH v2 4/7] drm: sti: Cleanup drm_display_mode print str

2018-12-20 Thread Benjamin Gaignard
Le jeu. 20 déc. 2018 à 13:27, Shayenne Moura a écrit : > > This patch adjust the print string of drm_display_mode object > to remove drm_mode_object dependency in sti files. > > Signed-off-by: Shayenne Moura Acked-by: Benjamin Gaignard > > --- > Changes in v2: > - Use DRM_MODE_FMT/ARG macros

Re: [PATCH] drm/ttm: Use drm_debug_printer for all ttm_bo_mem_space_debug output

2018-12-20 Thread Christian König
Am 20.12.18 um 12:22 schrieb Michel Dänzer: From: Michel Dänzer No need for pr_err here, the pr_err message in ttm_bo_evict is enough to draw attention to something not going as planned. Signed-off-by: Michel Dänzer Reviewed-by: Christian König --- Similar to a previous patch, but this

Re: [PATCH 1/3] drm: change DROP_MASTER permissions to allow DRM_MASTER

2018-12-20 Thread Emil Velikov
On Wed, 19 Dec 2018 at 20:36, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 07:22:45PM +, Emil Velikov wrote: > > From: Emil Velikov > > > > Currently only DRM_ROOT_ONLY is allowed to call the ioctl. > > > > Change that to DRM_MASTER, which means that only a process that is the > > current

Re: drm_gem_get_pages and proper flushing/coherency

2018-12-20 Thread Oleksandr Andrushchenko
+ARM mailing list for help and suggestions Dear ARM community! Xen hypervizor para-virtualized DRM frontend driver [1] uses shmem backed pages for display buffers and shares those with the host driver. Everything works just fine, but in some scenarios I see artifacts on the screen which are beca

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #7 from e88z4 --- I can reproduce the error during the FMV as well. You can quickly bypass this FMV by skipping it before the error occurs (I couldn't remember how to trigger the skipping selection on your screen). I am wondering if

[Bug 104345] Playing video hangs X-Server with showing scrambled picture, sound still playing.

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104345 --- Comment #12 from bernhardu --- Created attachment 142867 --> https://bugs.freedesktop.org/attachment.cgi?id=142867&action=edit 2018-12-20-crash.txt The last months I observed this less. But in December it started to get more visible again

[Bug 104345] X-Server hangs with showing scrambled picture, sound still playing.

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104345 bernhardu changed: What|Removed |Added Summary|Playing video hangs |X-Server hangs with showing

[PATCH v4 1/3] PM/runtime: Add a new interface to get accounted time

2018-12-20 Thread Vincent Guittot
Some drivers (like i915/drm) needs to get the accounted suspended time. pm_runtime_suspended_time() will return the suspended accounted time in ns unit. Signed-off-by: Vincent Guittot --- drivers/base/power/runtime.c | 16 include/linux/pm_runtime.h | 2 ++ 2 files changed, 1

[PATCH v4 0/3] Move pm_runtime accounted time to raw nsec

2018-12-20 Thread Vincent Guittot
Move pm_runtime accounted time to raw nsec. The subject of the patchset has changed as the 1st patch of the previous version has been queued by Rafael. Patch 1 adds a new pm_runtime interface to get accounted suspended time Patch 2 moves drm/i915 driver on the new interface and removes access to

[PATCH v4 2/3] drm/i915: Move on the new pm runtime interface

2018-12-20 Thread Vincent Guittot
Use the new pm runtime interface to get the accounted suspended time: pm_runtime_accounted_time_get() Signed-off-by: Vincent Guittot --- drivers/gpu/drm/i915/i915_pmu.c | 16 ++-- drivers/gpu/drm/i915/i915_pmu.h | 4 ++-- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git

[PATCH v4 3/3] PM/runtime:Replace jiffies based accounting with ktime based accounting

2018-12-20 Thread Vincent Guittot
From: Thara Gopinath This patch replaces jiffies based accounting for runtime_active_time and runtime_suspended_time with ktime base accounting. This makes the runtime debug counters inline with genpd and other pm subsytems which uses ktime based accounting. Signed-off-by: Thara Gopinath [move

RE: [Intel-gfx] [PATCH v9 10/39] drm/i915: Implement HDCP2.2 receiver authentication

2018-12-20 Thread Winkler, Tomas
> On Wed, 19 Dec 2018, "Winkler, Tomas" wrote: > >> > >> On Wed, 19 Dec 2018, "C, Ramalingam" wrote: > >> > On 12/19/2018 8:05 PM, Daniel Vetter wrote: > >> >> On Thu, Dec 13, 2018 at 09:31:12AM +0530, Ramalingam C wrote: > >> >>> struct intel_hdcp { > >> >>> @@ -414,6 +430,24 @@ struct intel

[Bug 109117] [ARM64] Unable to load module amdgpu on LS1012A-RDB board

2018-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109117 --- Comment #2 from Alex Deucher --- Likely related to write combining. Try patching your kernel to return false in drm_arch_can_wc_memory(). -- You are receiving this mail because: You are the assignee for the bug.___

  1   2   3   >