Re: [PATCH] fix double ;;s in code

2018-02-22 Thread Shawn Guo
Hi Pavel, On Sat, Feb 17, 2018 at 10:19:55PM +0100, Pavel Machek wrote: ... > diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c > index 53f7275..cfb42f5 100644 > --- a/drivers/soc/imx/gpc.c > +++ b/drivers/soc/imx/gpc.c > @@ -348,7 +348,7 @@ static int imx_gpc_old_dt_init(struct device

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-22 Thread Tomasz Figa
On Fri, Feb 16, 2018 at 9:13 AM, Tomasz Figa wrote: > On Fri, Feb 16, 2018 at 2:14 AM, Robin Murphy wrote: >> On 15/02/18 04:17, Tomasz Figa wrote: >> [...] Could you elaborate on what kind of locking you are concerned about? As I

Re: [PATCH 2/2] drm/amd: Remove inclusion of non-existing include directories

2018-02-22 Thread Christian König
Am 22.02.2018 um 09:21 schrieb Corentin Labbe: This patch fix the following build warnings: CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o cc1: warning: ../display/: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../display/include: No such file or directory

Re: [PATCH 2/9] drm/xen-front: Implement Xen bus state handling

2018-02-22 Thread Juergen Gross
On 21/02/18 09:03, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Initial handling for Xen bus states: implement > Xen bus state machine for the frontend driver according to > the state diagram and recovery flow from display para-virtualized

Re: [PATCH 2/9] drm/xen-front: Implement Xen bus state handling

2018-02-22 Thread Oleksandr Andrushchenko
On 02/21/2018 10:23 AM, Juergen Gross wrote: On 21/02/18 09:03, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Initial handling for Xen bus states: implement Xen bus state machine for the frontend driver according to the state diagram and

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Frank Rowand
On 02/20/18 15:10, Laurent Pinchart wrote: > Hello, > > This patch series addresses a design mistake that dates back from the initial > DU support. Support for the LVDS encoders, which are IP cores separate from > the DU, was bundled in the DU driver. Worse, both the DU and LVDS were > described

Re: [PATCH v1] drm/simple_kms_helper: Fix NULL pointer dereference with no active CRTC

2018-02-22 Thread Oleksandr Andrushchenko
On 02/22/2018 08:09 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko It is possible that drm_simple_kms_plane_atomic_check called with no CRTC set, e.g. when user-space application sets CRTC_ID/FB_ID to 0 before doing any actual drawing. This

Re: [Xen-devel] [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Roger Pau Monné
On Wed, Feb 21, 2018 at 10:03:34AM +0200, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Introduce skeleton of the para-virtualized Xen display > frontend driver. This patch only adds required > essential stubs. > > Signed-off-by: Oleksandr

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Simon Horman
On Wed, Feb 21, 2018 at 01:10:30AM +0200, Laurent Pinchart wrote: > Hello, > > This patch series addresses a design mistake that dates back from the initial > DU support. Support for the LVDS encoders, which are IP cores separate from > the DU, was bundled in the DU driver. Worse, both the DU and

Re: [Xen-devel] [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Roger Pau Monné
On Wed, Feb 21, 2018 at 11:42:23AM +0200, Oleksandr Andrushchenko wrote: > On 02/21/2018 11:17 AM, Roger Pau Monné wrote: > > On Wed, Feb 21, 2018 at 10:03:34AM +0200, Oleksandr Andrushchenko wrote: > > > --- /dev/null > > > +++ b/drivers/gpu/drm/xen/xen_drm_front.c > > > @@ -0,0 +1,83 @@ > > >

Re: [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Juergen Gross
On 21/02/18 09:03, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Introduce skeleton of the para-virtualized Xen display > frontend driver. This patch only adds required > essential stubs. > > Signed-off-by: Oleksandr Andrushchenko

Re: [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Juergen Gross
On 21/02/18 09:47, Oleksandr Andrushchenko wrote: > On 02/21/2018 10:19 AM, Juergen Gross wrote: >> On 21/02/18 09:03, Oleksandr Andrushchenko wrote: >>> From: Oleksandr Andrushchenko >>> >>> Introduce skeleton of the para-virtualized Xen display >>> frontend

Re: [PATCH 1/4] locking/ww_mutex: add ww_mutex_is_owned_by function v3

2018-02-22 Thread Maarten Lankhorst
Op 21-02-18 om 00:56 schreef Daniel Vetter: > On Tue, Feb 20, 2018 at 04:21:58PM +0100, Peter Zijlstra wrote: >> On Tue, Feb 20, 2018 at 04:05:49PM +0100, Christian König wrote: >>> Am 20.02.2018 um 15:54 schrieb Peter Zijlstra: On Tue, Feb 20, 2018 at 03:34:07PM +0100, Christian König wrote:

Re: [PATCH 1/2] drm/amd: remove inclusion of non-existing scheduler directory

2018-02-22 Thread Christian König
Am 22.02.2018 um 09:21 schrieb Corentin Labbe: The scheduler directory was removed via commit 1b1f42d8fde4 ("drm: move amd_gpu_scheduler into common location") Remove it from include path. Signed-off-by: Corentin Labbe Reviewed-by: Christian König

Re: [PATCH v5 6/8] i2c: demux: Use changeset helpers for clarity

2018-02-22 Thread Geert Uytterhoeven
Hi Laurent, On Thu, Feb 22, 2018 at 1:05 AM, Laurent Pinchart wrote: > From: Pantelis Antoniou > > The changeset helpers are easier to use, use them instead of > using the static property. > > Signed-off-by: Pantelis

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Laurent Pinchart
Hi Frank, On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: > On 02/20/18 15:10, Laurent Pinchart wrote: > > Hello, > > > > This patch series addresses a design mistake that dates back from the > > initial DU support. Support for the LVDS encoders, which are IP cores > > separate

[Bug 151341] AMDGPU Hawaii: screen freeze, Xorg blocked in fence_default_wait

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=151341 --- Comment #7 from Ricardo Ribalda (ricardo.riba...@gmail.com) --- This seems to be (very) related to https://bugzilla.kernel.org/show_bug.cgi?id=198883 -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 105171] performance regression (3x slower) running glamor with PutImage workload (radeonsi)

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105171 Clemens Eisserer changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop

Re: [RFC PATCH hwc] drm_hwcomposer: set CRTC background color when available

2018-02-22 Thread Robert Foss
Hey Stefan, On 02/22/2018 04:54 AM, Stefan Schake wrote: Android assumes an implicit black background layer is always present behind all layers it specifies for composition. drm_hwcomposer currently punts responsibility for this to the kernel/DRM platform and puts layers with per-pixel alpha

[Bug 103371] glxinfo -l shows GL_INVALID_ENUM

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103371 --- Comment #1 from Marc Dietrich --- additional info: this only happens on meson builds. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

[Bug 198883] amdgpu: carrizo: Screen stalls after starting X

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198883 --- Comment #2 from Ricardo Ribalda (ricardo.riba...@gmail.com) --- Created attachment 274355 --> https://bugzilla.kernel.org/attachment.cgi?id=274355=edit xorg log -- You are receiving this mail because: You are watching the assignee of the

[Bug 198883] amdgpu: carrizo: Screen stalls after starting X

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198883 --- Comment #1 from Ricardo Ribalda (ricardo.riba...@gmail.com) --- Created attachment 274353 --> https://bugzilla.kernel.org/attachment.cgi?id=274353=edit dmesg -- You are receiving this mail because: You are watching the assignee of the

[Bug 198883] amdgpu: carrizo: Screen stalls after starting X

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198883 --- Comment #3 from Ricardo Ribalda (ricardo.riba...@gmail.com) --- Created attachment 274357 --> https://bugzilla.kernel.org/attachment.cgi?id=274357=edit xorg.conf -- You are receiving this mail because: You are watching the assignee of the

[Bug 103371] glxinfo -l shows GL_INVALID_ENUM

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103371 --- Comment #3 from Marc Dietrich --- what do you mean by texture-float flag? in the meson configuration? I set "-Dtexture-float=true" at least. driconf isn't working anymore for me. meson config: --buildtype=debug \

Re: [PATCH v5 6/8] i2c: demux: Use changeset helpers for clarity

2018-02-22 Thread Wolfram Sang
> > Why? ePAPR says "okay", "disabled", "fail", or "fail-sss". > > > > Sorry for missing this in the previous round. > > That was per Wolfram's request, and because the existing code uses "ok". I'm > personally fine with any. I did? Well, today I don't have a strong preference. Any is fine

[PATCH 1/8] drm/ttm: add default implementations for ttm_tt_(un)populate

2018-02-22 Thread Christian König
Use ttm_pool_populate/ttm_pool_unpopulate if the driver doesn't provide a function. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_tt.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c

[PATCH 8/8] drm/bochs: remove the default ttm_tt_populate callbacks

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/bochs/bochs_mm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c index 704e879711e4..5525b6660340

[PATCH 3/8] drm/mgag200: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/mgag200/mgag200_ttm.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_ttm.c b/drivers/gpu/drm/mgag200/mgag200_ttm.c index

[PATCH 5/8] drm/ast: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/ast/ast_ttm.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c index 7b784d91e258..68b9c5522eaa

[PATCH 7/8] drm/cirrus: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/cirrus/cirrus_ttm.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_ttm.c index

[PATCH 4/8] drm/hisilicon: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c

[PATCH 2/8] drm/virtio: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/virtio/virtgpu_ttm.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c index

[PATCH 6/8] drm/qxl: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/gpu/drm/qxl/qxl_ttm.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index

[PATCH] drm/ttm: check if free mem space is under the lower limit

2018-02-22 Thread Roger He
the free mem space and the lower limit both include two parts: system memory and swap space. For the OOM triggered by TTM, that is the case as below: first swap space is full of swapped out pages and soon system memory also is filled up with ttm pages. and then any memory allocation request will

Re: [PATCH v5 6/8] i2c: demux: Use changeset helpers for clarity

2018-02-22 Thread Laurent Pinchart
Hi Geert, On Thursday, 22 February 2018 11:26:44 EET Geert Uytterhoeven wrote: > On Thu, Feb 22, 2018 at 1:05 AM, Laurent Pinchart wrote: > > From: Pantelis Antoniou > > > > The changeset helpers are easier to use, use them instead of > > using the static

[Bug 198881] New: amdgpu: carrizo: Screen stalls after starting X

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198881 Bug ID: 198881 Summary: amdgpu: carrizo: Screen stalls after starting X Product: Drivers Version: 2.5 Kernel Version: 4.15.0 Hardware: x86-64 OS: Linux Tree:

[Bug 198883] New: amdgpu: carrizo: Screen stalls after starting X

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198883 Bug ID: 198883 Summary: amdgpu: carrizo: Screen stalls after starting X Product: Drivers Version: 2.5 Kernel Version: 4.15.0 Hardware: x86-64 OS: Linux Tree:

[Bug 103371] glxinfo -l shows GL_INVALID_ENUM

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103371 Emil Velikov changed: What|Removed |Added CC|

[Bug 198885] New: amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198885 Bug ID: 198885 Summary: amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo". Product: Drivers Version: 2.5 Kernel Version: 4.15.4

[PATCH v6 3/4] drm: rcar-du: Fix legacy DT to create LVDS encoder nodes

2018-02-22 Thread Laurent Pinchart
The internal LVDS encoders now have their own DT bindings. Before switching the driver infrastructure to those new bindings, implement backward-compatibility through live DT patching. Patching is disabled and will be enabled along with support for the new DT bindings in the DU driver.

[PATCH v6 0/4] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Laurent Pinchart
Hello, This patch series addresses a design mistake that dates back from the initial DU support. Support for the LVDS encoders, which are IP cores separate from the DU, was bundled in the DU driver. Worse, both the DU and LVDS were described through a single DT node. To fix the, patches 1/4 and

[PATCH v6 4/4] drm: rcar-du: Convert LVDS encoder code to bridge driver

2018-02-22 Thread Laurent Pinchart
The LVDS encoders used to be described in DT as part of the DU. They now have their own DT node, linked to the DU using the OF graph bindings. This allows moving internal LVDS encoder support to a separate driver modelled as a DRM bridge. Backward compatibility is retained as legacy DT is patched

[PATCH v6 1/4] dt-bindings: display: renesas: Add R-Car LVDS encoder DT bindings

2018-02-22 Thread Laurent Pinchart
The Renesas R-Car Gen2 and Gen3 SoCs have internal LVDS encoders. Add corresponding device tree bindings. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Herring --- Changes since v1: - Move the SoC name before the IP name in

[PATCH v6 2/4] dt-bindings: display: renesas: Deprecate LVDS support in the DU bindings

2018-02-22 Thread Laurent Pinchart
The internal LVDS encoders now have their own DT bindings, representing them as part of the DU is deprecated. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Herring --- Changes since v1: - Remove the LVDS reg range from the example

Re: [Freedreno] [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-22 Thread Rob Clark
On Thu, Feb 22, 2018 at 3:13 AM, Tomasz Figa wrote: > On Fri, Feb 16, 2018 at 9:13 AM, Tomasz Figa wrote: >> On Fri, Feb 16, 2018 at 2:14 AM, Robin Murphy wrote: >>> On 15/02/18 04:17, Tomasz Figa wrote: >>> [...] > > Could

Re: [PATCH v5 1/5] drm: xlnx: Xilinx DRM KMS module

2018-02-22 Thread Laurent Pinchart
Hi Hyun, On Thursday, 22 February 2018 04:50:42 EET Hyun Kwon wrote: > On Wed, 2018-02-21 at 15:17:25 -0800, Laurent Pinchart wrote: > > On Wednesday, 7 February 2018 03:36:36 EET Hyun Kwon wrote: > >> Xilinx has various platforms for display, where users can create > >> using multiple IPs in the

[PATCH] staging: vboxvideo: remove ttm_pool_* wrappers

2018-02-22 Thread Christian König
TTM calls the default implementation now. Signed-off-by: Christian König --- drivers/staging/vboxvideo/vbox_ttm.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/vboxvideo/vbox_ttm.c b/drivers/staging/vboxvideo/vbox_ttm.c index

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-22 Thread Robin Murphy
[sorry, I had intended to reply sooner but clearly forgot] On 16/02/18 00:13, Tomasz Figa wrote: On Fri, Feb 16, 2018 at 2:14 AM, Robin Murphy wrote: On 15/02/18 04:17, Tomasz Figa wrote: [...] Could you elaborate on what kind of locking you are concerned about? As I

[Bug 103371] glxinfo -l shows GL_INVALID_ENUM

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103371 Marc Dietrich changed: What|Removed |Added Status|NEW |RESOLVED

Re: [PATCH] drm/ttm: check if free mem space is under the lower limit

2018-02-22 Thread Christian König
Am 22.02.2018 um 11:10 schrieb Roger He: the free mem space and the lower limit both include two parts: system memory and swap space. For the OOM triggered by TTM, that is the case as below: first swap space is full of swapped out pages and soon system memory also is filled up with ttm pages.

[GIT PULL] ipu-v3 fixes and grayscale support

2018-02-22 Thread Philipp Zabel
Hi Dave, please consider merging this tag, which reduces code size a bit by making constant interrupt register tables static, fixes a device node leak in the PRE/PRG drivers' phandle lookups, and adds some preparations for grayscale capture support in the imx-media driver. regards Philipp The

Re: [PATCH] drm/ttm: check if free mem space is under the lower limit

2018-02-22 Thread Christian König
Am 22.02.2018 um 12:43 schrieb He, Roger: -Original Message- From: Koenig, Christian Sent: Thursday, February 22, 2018 7:28 PM To: He, Roger ; dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/ttm: check if free mem space is under the lower limit Am 22.02.2018

RE: [PATCH] drm/ttm: check if free mem space is under the lower limit

2018-02-22 Thread He, Roger
-Original Message- From: Koenig, Christian Sent: Thursday, February 22, 2018 7:28 PM To: He, Roger ; dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/ttm: check if free mem space is under the lower limit Am 22.02.2018 um 11:10 schrieb Roger He: > the free mem

[PATCH] drm: fix drm_get_max_iomem type mismatch

2018-02-22 Thread Arnd Bergmann
When comparing two variables with min()/max(), they should be the same type: drivers/gpu/drm/drm_memory.c: In function 'drm_get_max_iomem': include/linux/kernel.h:821:16: error: comparison of distinct pointer types lacks a cast [-Werror] (void) ( == ); This makes the local variable in

[PATCH 1/2] drm/amd: remove inclusion of non-existing scheduler directory

2018-02-22 Thread Corentin Labbe
The scheduler directory was removed via commit 1b1f42d8fde4 ("drm: move amd_gpu_scheduler into common location") Remove it from include path. Signed-off-by: Corentin Labbe --- drivers/gpu/drm/amd/amdgpu/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 2/2] drm/amd: Remove inclusion of non-existing include directories

2018-02-22 Thread Corentin Labbe
This patch fix the following build warnings: CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o cc1: warning: ../display/: No such file or directory [-Wmissing-include-dirs] cc1: warning: ../display/include: No such file or directory [-Wmissing-include-dirs] CC [M]

Re: [RFC PATCH hwc] drm_hwcomposer: set CRTC background color when available

2018-02-22 Thread Stefan Schake
Hey Robert, On Thu, Feb 22, 2018 at 11:04 AM, Robert Foss wrote: > Hey Stefan, > > On 02/22/2018 04:54 AM, Stefan Schake wrote: >> >> Android assumes an implicit black background layer is always present >> behind all layers it specifies for composition. drm_hwcomposer

Re: [PATCH v3 05/10] pwm: add PWM mode to pwm_config()

2018-02-22 Thread Daniel Thompson
On Thu, Feb 22, 2018 at 02:01:16PM +0200, Claudiu Beznea wrote: > Add PWM mode to pwm_config() function. The drivers which uses pwm_config() > were adapted to this change. > > Signed-off-by: Claudiu Beznea > --- > arch/arm/mach-s3c24xx/mach-rx1950.c | 11

Re: [PATCH] Update Boris Brezillon email address

2018-02-22 Thread Boris Brezillon
On Fri, 16 Feb 2018 11:44:49 +0100 Boris Brezillon wrote: > Free Electrons is now Bootlin. > > Signed-off-by: Boris Brezillon > --- > Note that I'm planning to take this patch through the MTD tree. Applied to the nand/next branch of

[Bug 103371] glxinfo -l shows GL_INVALID_ENUM

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103371 --- Comment #4 from Marc Dietrich --- happens only in compat context - digging deeper ... -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

Re: [PATCH] staging: vboxvideo: remove ttm_pool_* wrappers

2018-02-22 Thread Daniel Vetter
On Thu, Feb 22, 2018 at 02:54:27PM +0100, Christian König wrote: > TTM calls the default implementation now. > > Signed-off-by: Christian König Reviewed-by: Daniel Vetter Is there some sync requirement with drm trees? If so probably simplest

Re: [PATCH] drm: mali-dp: Log internal errors

2018-02-22 Thread Liviu Dudau
Hi Alex, Thanks for the patch, it is quite useful. I have some small changes to suggest: On Thu, Feb 22, 2018 at 04:02:37PM +, Alexandru Gheorghe wrote: > From: Alexandru Gheorghe > > Status register contains a lot of bits for reporting internal errors >

[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #3 from Przemek (sop...@gmail.com) --- And here values from requested files without "amdgpu.dc=1" "/sys/class/backlight/amdgpu_bl0 # ls -l razem 0 -r--r--r-- 1 root root 4096 02-22 17:50 actual_brightness -rw-r--r-- 1 root root 4096

Re: [PATCH] drm/amdgpu: Remove duplicate setting of ->need_swiotlb

2018-02-22 Thread Alex Deucher
On Tue, Feb 20, 2018 at 5:44 AM, Thierry Reding wrote: > From: Thierry Reding > > There's no need to set this before the number of DMA bits has been > properly determined. > > Signed-off-by: Thierry Reding Applied. thanks!

[PATCH RFC] driver core: Reprobe consumer if it was unbound by dropped device_link

2018-02-22 Thread Jyri Sarha
Put consumer device to deferred probe list if it is unbound due to a dropped link to a supplier. When a device link supplier is unbound (either manually or because one of its own suppliers was unbound), its consumers are unbound as well. Currently if the supplier binds again after this the

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar

2018-02-22 Thread Alex Deucher
On Thu, Feb 22, 2018 at 10:55 AM, Ben Crocker wrote: > Alex, Christian, et al. > > Thanks for your rapid response! > > I can certainly make the change PPC-only (#ifdef CONFIG_PPC64...) and I > think > that's the safest way to go right now. It makes the patch very specific to

Re: [Mesa-dev] Allocator Nouveau driver, Mesa EXT_external_objects, and DRM metadata import interfaces

2018-02-22 Thread Bas Nieuwenhuizen
On Thu, Feb 22, 2018 at 7:04 PM, Kristian Høgsberg wrote: > On Wed, Feb 21, 2018 at 4:00 PM Alex Deucher wrote: > >> On Wed, Feb 21, 2018 at 1:14 AM, Chad Versace > wrote: >> > On Thu 21 Dec 2017, Daniel Vetter wrote: >> >>

[Bug 104597] [bisected] Compton weird colors

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104597 --- Comment #15 from Michel Dänzer --- (In reply to Luke A. Guest from comment #14) > It's been pointed out it's not Obs as TyMiles2012 moved back from the Oibaf > PPA on Ubuntu 17.10.1 back to standard drivers and it no

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar

2018-02-22 Thread Alex Deucher
On Thu, Feb 22, 2018 at 11:45 AM, Ben Crocker wrote: > I considered that, but I'm only equipped to test on a few cards--the ones > IBM is interested in. > So this Cedar-specific change fixes the problem on the FirePro 2270; the > other cards seem > perfectly capable of

[PATCH 2/4] drm/tilcdc: tilcdc_panel: Rename device from "panel" to "tilcdc-panel"

2018-02-22 Thread Jyri Sarha
Rename the bundled tilcdc_panel driver from just "panel" to "tilcdc-panel" to avoid noisy error messages from the driver trying to probe all device nodes named "panel". Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 0/4] drm/tilcdc: Add DRM panel support and use it for am335x-evm

2018-02-22 Thread Jyri Sarha
The first patch adds support for drm panels to tilcdc. The second is just for convenience. The third adds support for am335x-evm's panel to panel-simple driver. The third changes am335x-evm's dts file to use panel-simple instead of tilcdc's bundled dpi-panel support. After the review I will pick

[PATCH 3/4] drm/panel: simple: Add TVC S9700RTWV43TR-01B 800x480 panel support

2018-02-22 Thread Jyri Sarha
Add support for TVC S9700RTWV43TR-01B 800x480 panel found on TI's AM335X-EVM. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c

[PATCH 1/4] drm/tilcdc: Add support for drm panels

2018-02-22 Thread Jyri Sarha
Add support for drm panels to tilcdc. Adding the support on top of the existing bridge support needs only couple of lines of code when using using the drm panel bridge helpers. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/Kconfig | 2 ++

[PATCH 4/4] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel

2018-02-22 Thread Jyri Sarha
Move to use the new drm panel support in tilcdc together with added "tvc,s9700rtwv43tr-01b"-panel support in drm panel-simple. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am335x-evm.dts | 44 1 file changed, 18 insertions(+), 26

Re: [PATCH 1/4] drm/simple_kms_helper: Add {enable|disable}_vblank callback support

2018-02-22 Thread Oleksandr Andrushchenko
On 02/22/2018 06:59 PM, Daniel Vetter wrote: On Mon, Feb 19, 2018 at 11:11:23AM +0200, Oleksandr Andrushchenko wrote: ping On 02/12/2018 10:52 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko If simple_kms_helper based driver needs to work

[PATCH 0/2] drm/panel: Add device link in drm_panel_attach()

2018-02-22 Thread Jyri Sarha
The first patch could be squashed to second, but kept is separate since I think it is correct even without the second patch. With these patches unbinding a panel driver in use does not cause nasty backtraces and corrupted drm core structures, but instead it cleanly unbind the drm master device at

Re: [Mesa-dev] Allocator Nouveau driver, Mesa EXT_external_objects, and DRM metadata import interfaces

2018-02-22 Thread Kristian Høgsberg
On Wed, Feb 21, 2018 at 4:00 PM Alex Deucher wrote: > On Wed, Feb 21, 2018 at 1:14 AM, Chad Versace wrote: > > On Thu 21 Dec 2017, Daniel Vetter wrote: > >> On Thu, Dec 21, 2017 at 12:22 AM, Kristian Kristensen < hoegsb...@google.com> wrote: >

Re: [PATCH 4/6] drm/ttm: move ttm_tt_create into ttm_tt.c

2018-02-22 Thread Michel Dänzer
On 2018-02-22 04:02 PM, Christian König wrote: > Rename ttm_bo_add_ttm to ttm_tt_create, clean it up and move it into > ttm_tt.c. Please split this up into two changes, one which just moves the code and renames the function, without any actual code changes, and another one which cleans up the

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar

2018-02-22 Thread Ben Crocker
Alex, Christian, et al. Thanks for your rapid response! I can certainly make the change PPC-only (#ifdef CONFIG_PPC64...) and I think that's the safest way to go right now. It makes the patch very specific to Cedar on PowerPC64, so it doesn't break anything that may have come to depend on

[PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Ben Crocker
In radeon_device_init, set the need_dma32 flag for Cedar chips (e.g. FirePro 2270). This fixes, or at least works around, a bug on PowerPC exposed by last year's commits 8e3f1b1d8255105f31556aacf8aeb6071b00d469 (Russell Currey) and 253fd51e2f533552ae35a0c661705da6c4842c1b (Alistair Popple)

Re: [PATCH v1] drm/simple_kms_helper: Fix NULL pointer dereference with no active CRTC

2018-02-22 Thread Oleksandr Andrushchenko
On 02/22/2018 06:11 PM, Daniel Vetter wrote: On Thu, Feb 22, 2018 at 08:12:48AM +0200, Oleksandr Andrushchenko wrote: On 02/22/2018 08:09 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko It is possible that drm_simple_kms_plane_atomic_check

Re: [PATCH v3 06/10] pwm: add PWM modes

2018-02-22 Thread Andy Shevchenko
On Thu, Feb 22, 2018 at 2:01 PM, Claudiu Beznea wrote: > Add PWM normal and complementary modes. > +- PWM_DTMODE_COMPLEMENTARY: PWM complementary working mode (for PWM > +channels two outputs); if not specified, the default for PWM channel will > +be used What DT

Re: [PATCH 2/7] PCI: Make pci_wakeup_bus() & pci_bus_set_current_state() public

2018-02-22 Thread Bjorn Helgaas
On Sun, Feb 18, 2018 at 09:38:32AM +0100, Lukas Wunner wrote: > There are PCI devices which are power-manageable by a nonstandard means, > such as a custom ACPI method. One example are discrete GPUs in hybrid > graphics laptops, another are Thunderbolt controllers in Macs. > > Such devices can't

[PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Ben Crocker
In radeon_device_init, set the need_dma32 flag for Cedar chips (e.g. FirePro 2270). This fixes, or at least works around, a bug on PowerPC exposed by last year's commits 8e3f1b1d8255105f31556aacf8aeb6071b00d469 (Russell Currey) and 253fd51e2f533552ae35a0c661705da6c4842c1b (Alistair Popple)

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Ben Crocker
One of my colleagues did discover a "Radeon HG 5450 PCI" from February 2010 which did, apparently, have a Cedar GPU and very definitely had a (plain old) PCI connector. But I take your point, and will just drop the PCI/PCIE check. On Thu, Feb 22, 2018 at 12:04 PM, Michel Dänzer

[PATCH 2/2] drm/panel: Add device_link from panel device to drm device

2018-02-22 Thread Jyri Sarha
Add device_link from panel device (supplier) to drm device (consumer) with DL_FLAG_AUTOREMOVE when drm_panel_attach() is called. Currently the master drm driver is not protected against the attached. The device_link with DL_FLAG_AUTOREMOVE should make sure the drm device is unbound before the

[PATCH 1/2] drm/panel: Remove drm_panel_detach() calls from all panel drives

2018-02-22 Thread Jyri Sarha
Setting the connector and drm to NULL when the drm panel device is going away hardly serves any purpose. Usually the the whole memory stucture is freed right after the remove call. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/panel/panel-innolux-p079zca.c| 1 -

Re: [PATCH] drm: fix drm_get_max_iomem type mismatch

2018-02-22 Thread Sean Paul
On Thu, Feb 22, 2018 at 12:47:51PM +0100, Arnd Bergmann wrote: > When comparing two variables with min()/max(), they should be the same type: > > drivers/gpu/drm/drm_memory.c: In function 'drm_get_max_iomem': > include/linux/kernel.h:821:16: error: comparison of distinct pointer types > lacks a

[PATCH] drm/p[111: add CONFIG_OF dependency

2018-02-22 Thread Arnd Bergmann
We cannot select a symbol without meeting its other dependencies: warning: (DRM_PL111) selects DRM_DUMB_VGA_DAC which has unmet direct dependencies (HAS_IOMEM && DRM && DRM_BRIDGE && OF) drivers/gpu/drm/bridge/dumb-vga-dac.c: In function 'dumb_vga_probe':

[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".

2018-02-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #2 from Przemek (sop...@gmail.com) --- Hi Michel, Thank you very much for insane-fast response. Yes, "actual_brightness" is a bad example, same occurs on this file without "amdgpu.dc=1". Here are values from requested files:

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar

2018-02-22 Thread Ben Crocker
I considered that, but I'm only equipped to test on a few cards--the ones IBM is interested in. So this Cedar-specific change fixes the problem on the FirePro 2270; the other cards seem perfectly capable of handling 40+ bit DMA addresses on the Power8 platform. On Thu, Feb 22, 2018 at 11:07 AM,

Re: [PATCH 1/4] drm/simple_kms_helper: Add {enable|disable}_vblank callback support

2018-02-22 Thread Daniel Vetter
On Mon, Feb 19, 2018 at 11:11:23AM +0200, Oleksandr Andrushchenko wrote: > ping > On 02/12/2018 10:52 AM, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > > > If simple_kms_helper based driver needs to work with vblanks, > > then it has to

[Bug 99353] Kaveri 7400K shows random colored noise instead of GUI in X or Wayland

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99353 --- Comment #41 from Bong Cosca --- cik.c reports the following in cik_setup_rb(): max_rb_num_per_se: 1 enabled_rbs: 0 disabled_rbs: 1 mask: 2 se_num: 1 sh_per_se: 1 -- You are receiving this mail because: You are the

Re: [PATCH 1/8] drm/ttm: add default implementations for ttm_tt_(un)populate

2018-02-22 Thread Michel Dänzer
On 2018-02-22 12:15 PM, Christian König wrote: > Use ttm_pool_populate/ttm_pool_unpopulate if the driver doesn't provide > a function. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/ttm/ttm_tt.c | 10 -- > 1 file changed, 8 insertions(+), 2

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Alex Deucher
On Thu, Feb 22, 2018 at 4:51 PM, Ben Crocker wrote: > In radeon_device_init, set the need_dma32 flag for Cedar chips > (e.g. FirePro 2270). This fixes, or at least works around, a bug > on PowerPC exposed by last year's commits > > 8e3f1b1d8255105f31556aacf8aeb6071b00d469

[Bug 104597] [bisected] Compton weird colors

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104597 --- Comment #14 from Luke A. Guest --- Looks like it's the same as https://obsproject.com/forum/threads/xcomposite-colours-all-wrong.81265/ and

[PATCH] drm: mali-dp: Log internal errors

2018-02-22 Thread Alexandru Gheorghe
From: Alexandru Gheorghe Status register contains a lot of bits for reporting internal errors inside mali-dp. Currently, we just silently ignore all of the erorrs, that doesn't help when we are investigating different bugs, especially on the FPGA models which

Re: [PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Michel Dänzer
On 2018-02-22 06:37 PM, Ben Crocker wrote: > One of my colleagues did discover a "Radeon HG 5450 PCI" from February > 2010 which did, apparently, have a Cedar GPU and very definitely had a > (plain old) PCI connector. There must be a PCIe-to-PCI bridge on that board. The GPU itself is always

Re: [PATCH v1] drm/simple_kms_helper: Fix NULL pointer dereference with no active CRTC

2018-02-22 Thread Daniel Vetter
On Thu, Feb 22, 2018 at 08:12:48AM +0200, Oleksandr Andrushchenko wrote: > On 02/22/2018 08:09 AM, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > > > It is possible that drm_simple_kms_plane_atomic_check called > > with no CRTC set, e.g.

[PATCH] drm/radeon: insist on 32-bit DMA for Cedar on PPC64/PPC64LE

2018-02-22 Thread Ben Crocker
In radeon_device_init, set the need_dma32 flag for Cedar chips (e.g. FirePro 2270). This fixes, or at least works around, a bug on PowerPC exposed by last year's commits 8e3f1b1d8255105f31556aacf8aeb6071b00d469 (Russell Currey) and 253fd51e2f533552ae35a0c661705da6c4842c1b (Alistair Popple)

  1   2   >