Re: Fwd: Re: [PATCHv5 0/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2018-06-12 Thread Hans Verkuil
On 11/06/18 14:20, Hans Verkuil wrote: > Hi Ville, > > I finally found some time to dig deeper into when a CEC device should be > registered. > > Since it's been a long while since we discussed this let me just recap the > situation > and then propose three solutions: > CEC is implemented for

[PATCH v3 1/2] drm/rockchip: vop: split out core clock enablement into separate functions

2018-06-12 Thread Heiko Stuebner
Judging from the iommu code, both the hclk and aclk are necessary for register access. Split them off into separate functions from the regular vop enablement, so that we can use them elsewhere as well. Fixes: d0b912bd4c23 ("iommu/rockchip: Request irqs in rk_iommu_probe()") Cc:

[PATCH v3 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed

2018-06-12 Thread Heiko Stuebner
From: Sandy Huang The vop irq is shared between vop and iommu and irq probing in the iommu driver moved to the probe function recently. This can in some cases lead to a stall if the irq is triggered while the vop driver still has it disabled, but the vop irq handler gets called. But there is no

[PATCH v3 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change

2018-06-12 Thread Heiko Stuebner
This still tries to address the hang seen by Ezequiel Garcia on rk3288. As Tomasz noted, trying to count enablement can run into concurrency issues, so instead we'll just check if the vop is runtime-enabled to see if it could be the source of the irq and then just do our own clk_enable in the isr

[Bug 106872] vram sizes reported by the kernel totally off

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106872 --- Comment #2 from Christian König --- (In reply to Michel Dänzer from comment #1) > One possible solution for this would be for amdgpu_bo_pin_restricted and > amdgpu_bo_unpin to walk the list of memory nodes and calculate exactly how > much

Re: [PULL] drm-intel-next

2018-06-12 Thread Jani Nikula
On Tue, 12 Jun 2018, Dave Airlie wrote: > On 12 June 2018 at 02:27, Rodrigo Vivi wrote: >> Hi Dave, >> >> This is the first round targeting 4.19. >> > Does this tree feed into linux-next already? > > Since we shouldn't have new stuff for linux-next feeding into it until > after rc1. I think

Re: [PATCH][V2] drm/i915/guc: fix GEM_BUG_ON check

2018-06-12 Thread Jani Nikula
On Tue, 12 Jun 2018, Dan Carpenter wrote: > On Mon, Jun 11, 2018 at 05:46:53PM +0100, Colin King wrote: >> From: Colin Ian King >> >> The check for level being less than zero always false because flags >> is currently unsigned and can never be negative. Fix this by making >> flags a s32. >> >>

[Bug 106892] GPU hang with radeon glx driver

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106892 --- Comment #2 from Simon --- Ok also crashed at 60Hz now, so seems that didn't fix it after all. But seems to crash less often at 60Hz and also I didn't get a crash yet at 1024x768@60Hz.. -- You are receiving this mail because: You are the

Re: [Intel-gfx] [PATCH][V3] drm/i915/guc: fix GEM_BUG_ON check

2018-06-12 Thread Michal Wajdeczko
On Tue, 12 Jun 2018 11:38:04 +0200, Colin King wrote: From: Colin Ian King The check for level being less than zero always false because flags is currently unsigned and can never be negative. Fix this by making level a s32. Detected by CoverityScan, CID#1468363 ("Macro compares unsigned

[PATCHv6 0/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2018-06-12 Thread Hans Verkuil
From: Hans Verkuil This patch series adds support for the DisplayPort CEC-Tunneling-over-AUX feature. This patch series is based on the current media master branch (https://git.linuxtv.org/media_tree.git/log/) but it applies fine on top of the current mainline tree. This patch series has been

[PATCHv6 1/3] drm: add support for DisplayPort CEC-Tunneling-over-AUX

2018-06-12 Thread Hans Verkuil
From: Hans Verkuil This adds support for the DisplayPort CEC-Tunneling-over-AUX feature that is part of the DisplayPort 1.3 standard. Unfortunately, not all DisplayPort/USB-C to HDMI adapters with a chip that has this capability actually hook up the CEC pin, so even though a CEC device is

[PATCHv6 2/3] drm-kms-helpers.rst: document the DP CEC helpers

2018-06-12 Thread Hans Verkuil
From: Hans Verkuil Document the Display Port CEC helper functions. Signed-off-by: Hans Verkuil --- Documentation/gpu/drm-kms-helpers.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/gpu/drm-kms-helpers.rst b/Documentation/gpu/drm-kms-helpers.rst index

[PATCHv6 3/3] drm/i915: add DisplayPort CEC-Tunneling-over-AUX support

2018-06-12 Thread Hans Verkuil
From: Hans Verkuil Implement support for this DisplayPort feature. Signed-off-by: Hans Verkuil --- drivers/gpu/drm/i915/intel_dp.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index

Re: [PATCH 00/23] omapdrm: Rework the timing-related operations

2018-06-12 Thread Sebastian Reichel
Hi, On Fri, Jun 08, 2018 at 07:29:03PM +0300, Laurent Pinchart wrote: > Hello, > > This patch series reworks all the timing-related operations (.get_timings(), > .set_timings() and .check_timings()) as a step toward moving from > omap_dss_device to drm_bridge. > > All timing-related operations

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Oleksandr Andrushchenko
On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:    @@ -325,6 +401,14 @@ static int map_grant_pages(struct grant_map *map)   

Re: [PATCH v8 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-06-12 Thread Stephen Boyd
Quoting Rob Herring (2018-06-05 08:20:50) > > + > > +- ddc-i2c-bus: phandle of the I2C controller used for DDC EDID probing > > + > > +- gpio-controller: Marks the device has a GPIO controller. > > +- #gpio-cells: Should be two. The first cell is the pin number and > > + the

[PULL] drm-misc-fixes

2018-06-12 Thread Maarten Lankhorst
Hey, Only the qxl fix by Jeremy Cline is new. The rest has landed in v4.17 already. drm-misc-fixes-2018-06-12: Only a small qxl fix that was queued for v4.17. The following changes since commit 9a0e9802217291e54c4dd1fc5462f189a4be14ec: drm/vc4: Fix scaling of uni-planar formats (2018-05-09

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Julien Grall
Hi, On 06/11/2018 06:49 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 08:46 PM, Julien Grall wrote: Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM,

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Oleksandr Andrushchenko
On 06/11/2018 08:46 PM, Julien Grall wrote: Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano

Re: [PATCH v8 1/4] drm/bridge: add support for sn65dsi86 bridge driver

2018-06-12 Thread Stephen Boyd
Quoting Sandeep Panda (2018-06-04 22:40:15) > diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c > b/drivers/gpu/drm/bridge/ti-sn65dsi86.c > new file mode 100644 > index 000..add6e0f > --- /dev/null > +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c > @@ -0,0 +1,666 @@ > +//

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Julien Grall
Hi, On 06/11/2018 06:16 PM, Oleksandr Andrushchenko wrote: On 06/11/2018 07:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:       @@ -325,6 +401,14 @@ static

Re: [Xen-devel] [PATCH v2 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Julien Grall
Hi Stefano, On 06/11/2018 05:51 PM, Stefano Stabellini wrote: On Mon, 11 Jun 2018, Oleksandr Andrushchenko wrote: On 06/08/2018 10:21 PM, Boris Ostrovsky wrote: On 06/08/2018 01:59 PM, Stefano Stabellini wrote:    @@ -325,6 +401,14 @@ static int map_grant_pages(struct grant_map *map)   

[PATCH] drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'

2018-06-12 Thread Christophe JAILLET
If 'platform_get_resource_byname()' fails, we should release some resources before leaving, as already done in the other error handling path of the function. Fixes: acaa3f13b8dd ("drm/meson: Fix potential NULL dereference in meson_drv_bind_master()") Signed-off-by: Christophe JAILLET ---

[Bug 106871] Screen with blank cursor (raven ridge on MSI B350)

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106871 --- Comment #3 from Michel Dänzer --- (In reply to Erik from comment #2) > (Still interesting how you can figure this out from my logging.) In a nutshell: Because the dmesg output you attached doesn't contain the word "Display". -- You are

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #16 from Christian König (christian.koe...@amd.com) --- So the problem seems to be the bridge then. Please provide me with the output of the following commands, once before you suspended, once after you resumed without any change and

Re: [PATCH v8 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-06-12 Thread Stephen Boyd
Quoting spa...@codeaurora.org (2018-06-05 21:50:16) > On 2018-06-05 20:50, Rob Herring wrote: > > On Tue, Jun 05, 2018 at 11:10:16AM +0530, Sandeep Panda wrote: > >> Document the bindings used for the sn65dsi86 DSI to eDP bridge. [...] > >> and > >> + the second cell is used to

Re: [PATCH][V2] drm/i915/guc: fix GEM_BUG_ON check

2018-06-12 Thread Dan Carpenter
On Mon, Jun 11, 2018 at 05:46:53PM +0100, Colin King wrote: > From: Colin Ian King > > The check for level being less than zero always false because flags > is currently unsigned and can never be negative. Fix this by making > flags a s32. > > Detected by CoverityScan, CID#1468363 ("Macro

[PATCH][V3] drm/i915/guc: fix GEM_BUG_ON check

2018-06-12 Thread Colin King
From: Colin Ian King The check for level being less than zero always false because flags is currently unsigned and can never be negative. Fix this by making level a s32. Detected by CoverityScan, CID#1468363 ("Macro compares unsigned to 0") Fixes: cb5d64e9f13e ("drm/i915/guc: Allow user to

Re: [PATCH] drm/mxsfb: rename driver to mxsfb-drm

2018-06-12 Thread Fabio Estevam
On Tue, Jun 12, 2018 at 11:35 AM, Stefan Agner wrote: > There are two drivers for the LCDIF/MXSFB peripheral. If the DRM > and fbdev are compiled in, the registration of the second driver > fails: > mxs-dma 3300.dma-apbh: initialized > mxsfb 3073.lcdif: 3073.lcdif supply lcd not

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-12 Thread John Sledge
Hi Jani, I like to understand how the DRM_DP_AUX_CHARDEV=y kick off. Regards,John On Monday, June 11, 2018, 7:36:51 PM GMT+8, Jani Nikula wrote: On Mon, 11 Jun 2018, John Sledge wrote: > Thanks for the help. I was able to manage your advice on the > drm_dp_aux_chardev. Though I

[DPU PATCH] drm/msm: remove support for seamless modes

2018-06-12 Thread Abhinav Kumar
Seamless modes are ones which do not require a display to be turned OFF/ON between mode switches. Remove support for seamless modes from DPU for now. This will be added later based on additional requirements. This change depends on the DPU custom property removal series: -

Re: [PATCH v2 02/27] clk: sunxi-ng: r40: Allow setting parent rate to display related clocks

2018-06-12 Thread Chen-Yu Tsai
On Wed, Jun 13, 2018 at 4:00 AM, Jernej Skrabec wrote: > Display related peripherals need precise clocks to operate correctly. > > Allow DE2, TCONs and HDMI to set parent clock. > > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai ___

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198713 --- Comment #6 from Nicholas Johnson (nicholas.john...@outlook.com.au) --- If you are referring to my comment, mine was with 4.17 kernel (latest stable release). I was just commenting on this one (4.15) because it looks like the same bug, and I

Re: [PATCH 07/28] drm/mediatek: add component DPI1

2018-06-12 Thread CK Hu
On Mon, 2018-06-11 at 11:25 +0800, Stu Hsieh wrote: > This patch add the component DPI1 > > Signed-off-by: Stu Hsieh Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 2 insertions(+) > > diff

Re: [PATCH 04/28] drm/mediatek: add ddp component OD1

2018-06-12 Thread CK Hu
On Mon, 2018-06-11 at 11:25 +0800, Stu Hsieh wrote: > This patch add the component OD1 and > rename the OD to OD0 > > Signed-off-by: Stu Hsieh Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 ++-- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 ++- >

Re: [PATCH 09/28] drm/mediatek: add component DSI3

2018-06-12 Thread CK Hu
Hi, Stu: On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add the component DSI3 > > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git

Re: [PATCH 08/28] drm/mediatek: add component DSI2

2018-06-12 Thread CK Hu
On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add the component DSI2 > > Signed-off-by: Stu Hsieh Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + > 2 files changed, 2 insertions(+) > > diff

Re: [PATCH v2 01/27] clk: sunxi-ng: r40: Add minimal rate for video PLLs

2018-06-12 Thread Chen-Yu Tsai
On Wed, Jun 13, 2018 at 4:00 AM, Jernej Skrabec wrote: > According to documentation and experience with other similar SoCs, video > PLLs don't work stable if their output frequency is set below 192 MHz. > > Because of that, set minimal rate to both R40 video PLLs to 192 MHz. > > Signed-off-by:

Re: [PATCH 4/8] dt-bindings: display: rockchip: update DSI controller

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 03:34:58PM +0200, Heiko Stuebner wrote: > From: Nickey Yang > > This patch update describe panel/port links, including > unit addresses in documentation of device tree bindings > for the rockchip DSI controller based on the Synopsys > DesignWare MIPI DSI host controller.

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #18 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276517 --> https://bugzilla.kernel.org/attachment.cgi?id=276517=edit lspci before suspend -- You are receiving this mail because: You are watching the

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #17 from Alexander Mezin (mezin.alexan...@gmail.com) --- setpci - exactly the same output in all 3 cases (verified with 'diff' to be sure): 0407 0001 fff1 00e0 00e2 -- You are receiving this mail because: You are watching

[DPU PATCH 2/4] drm/msm/dpu: remove scalar config definitions

2018-06-12 Thread Jeykumar Sankaran
cleans up left out scalar config definitions from headers Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h| 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 10 -- 2 files changed, 11 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h

[DPU PATCH 1/4] drm/msm/dpu: add atomic private object to dpu kms

2018-06-12 Thread Jeykumar Sankaran
Subclass drm private state for DPU for handling driver specific data. Adds atomic private object and private object lock to dpu kms. Provides helper function to retrieve DPU private data from current atomic state. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 66

[DPU PATCH 4/4] drm/msm/dpu: use private obj to track hw resources

2018-06-12 Thread Jeykumar Sankaran
Switch to state based resource management. This patch overhauls the resource manager and HW allocation methods by maintaining the global resource pool and allocated hw blocks in respective drm component states. Global resource manager(RM) is tracked in private object. Allocation strategy is

[DPU PATCH 3/4] drm/msm/dpu: remove resource pool manager

2018-06-12 Thread Jeykumar Sankaran
resource pool manager utility was introduced to manage rotator sessions. Removing the support as the rotator feature doesn't exist. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 494 --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 84

[DPU PATCH 0/4] Atomic resource management

2018-06-12 Thread Jeykumar Sankaran
This patchset introduces drm private object in KMS to manage HW resource management. It modifies the resource manager by introducing API's to do per DRM object resource allocation/cleanups. The patchset is based on: https://patchwork.kernel.org/patch/10461375/ Jeykumar Sankaran (4):

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #20 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276521 --> https://bugzilla.kernel.org/attachment.cgi?id=276521=edit lspci after resume with hack -- You are receiving this mail because: You are watching

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #19 from Alexander Mezin (mezin.alexan...@gmail.com) --- Created attachment 276519 --> https://bugzilla.kernel.org/attachment.cgi?id=276519=edit lspci after resume, no hack -- You are receiving this mail because: You are watching

[Bug 199959] amdgpu, regression?: system freezes after resume

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199959 --- Comment #21 from Alexander Mezin (mezin.alexan...@gmail.com) --- Not sure if it'll help, but I've added more logging here: --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -436,6 +436,8 @@ int pci_resize_resource(struct pci_dev

Re: [PATCH 12/28] drm/mediatek: add connection from RDMA0 to DSI2

2018-06-12 Thread CK Hu
On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DSI2 > > Signed-off-by: Stu Hsieh Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [PATCH 11/28] drm/mediatek: add connection from RDMA0 to DPI0

2018-06-12 Thread CK Hu
On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DPI0 > > Signed-off-by: Stu Hsieh Reviewed-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [PATCH 13/28] drm/mediatek: add connection from RDMA0 to DSI3

2018-06-12 Thread CK Hu
Hi, Stu: Two inline comment. On Mon, 2018-06-11 at 11:26 +0800, Stu Hsieh wrote: > This patch add the connection from RDMA0 to DSI3 > > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 4 > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 +- > 2 files

[Bug 106225] Kernel panic after modesetting (not on every boot) on ryzen 5 2400g

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106225 --- Comment #32 from Luca --- Happens to me too (kernel 4.17 ubuntu 18.04), especially the first boot of the day I always get black screen after modeset. I haven't tried with KASAN and can't get any log but I suspect is the same issue. Asrock

Re: [PATCH] drm/panel: simple: Add support for Innolux G070Y2-L01

2018-06-12 Thread Rob Herring
On Mon, Jun 04, 2018 at 01:16:48PM +0200, Christoph Fritz wrote: > This patch adds support for Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD > panel. > > Signed-off-by: Christoph Fritz > --- > .../bindings/display/panel/innolux,g070y2-l01.txt | 12 +++ > drivers/gpu/drm/panel/panel-simple.c

Re: [PATCH] dt-bindings: display: renesas: du: document R8A77980 bindings

2018-06-12 Thread Rob Herring
On Mon, Jun 04, 2018 at 10:04:59PM +0300, Sergei Shtylyov wrote: > Document the R-Car V3H (R8A77980) SoC in the R-Car DU bindings; the DU > hardware seems the same as in the R-Car V3M (R8A77970). > > Signed-off-by: Sergei Shtylyov > > --- > The patch is against the 'drm-next' branch of David

Re: [PATCH 1/2] dt-bindings: display: renesas: lvds: document R8A77980 bindings

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 11:28:58PM +0300, Sergei Shtylyov wrote: > Document the R-Car V3H (R8A77980) SoC in the R-Car LVDS bindings. > > Signed-off-by: Sergei Shtylyov > > --- > Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 2/3] drm: Print bad user modes

2018-06-12 Thread Harry Wentland
On 2018-06-11 03:34 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > Print out the modeline when we reject a bad user mode. Avoids having to > guess why it was rejected. > > Signed-off-by: Ville Syrjälä Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/drm_atomic.c| 20

[Bug 200045] New: i2c-algo-bit: black screen on 'radeon' module probing

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200045 Bug ID: 200045 Summary: i2c-algo-bit: black screen on 'radeon' module probing Product: Drivers Version: 2.5 Kernel Version: 4.16 Hardware: All OS: Linux

Re: [PATCH 1/3] drm/atomic: Improve debug messages

2018-06-12 Thread Harry Wentland
On 2018-06-11 03:34 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > Print the id/name of the object we're dealing with. Makes it easier to > figure out what's going on. Also toss in a few extra debug prints that > might be useful. > > Signed-off-by: Ville Syrjälä Reviewed-by: Harry

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198713 Andrey Grodzovsky (andrey.grodzov...@amd.com) changed: What|Removed |Added CC|

Re: [RFC PATCH 2/6] dt-bindings: display/ti: add k2g-dss bindings

2018-06-12 Thread Rob Herring
On Thu, May 31, 2018 at 03:41:05PM +0300, Tomi Valkeinen wrote: > Add DT bindings for Texas Instruments K2G SoC Display Subsystem. The DSS > is quite simple, with a single plane and a single output. > > Signed-off-by: Tomi Valkeinen > Cc: devicet...@vger.kernel.org > --- >

[Bug 106870] [Raven Ridge occasionally hangs] VM_L2_PROTECTION_FAULT_STATUS:0x00000000

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106870 --- Comment #2 from Luca --- I think they are the same bug but in the title it was mentioned it was occurring during boot and that is not my case although I have this problem at boot (https://bugs.freedesktop.org/show_bug.cgi?id=106225). I've

[Bug 199025] Suspend hangs. Never fully suspends and impossible to return to running state.

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199025 --- Comment #36 from Samuel Sieb (samuel-kb...@sieb.net) --- This is resolved for me with the 4.16 kernel after upgrading to F28. And the Fedora bug has been closed as well with someone else saying the same thing. -- You are receiving this

[Bug 23017] Direct color dri windowed visual is causing causing full black screen

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23017 Adam Jackson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 28771] [RADEON:KMS::R300C:R300G] waiting for vline forced always on

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28771 Bug 28771 depends on bug 42035, which changed state. Bug 42035 Summary: no way to turn off vline wait at runtime https://bugs.freedesktop.org/show_bug.cgi?id=42035 What|Removed |Added

[Bug 199749] amdgpu on Ryzen 2400G freeze randomly

2018-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199749 Andrey Grodzovsky (andrey.grodzov...@amd.com) changed: What|Removed |Added CC|

[PATCH v10 1/3] drm: Add writeback connector type

2018-06-12 Thread Liviu Dudau
From: Brian Starkey Writeback connectors represent writeback engines which can write the CRTC output to a memory framebuffer. Add a writeback connector type and related support functions. Drivers should initialize a writeback connector with drm_writeback_connector_init() which takes care of

[PATCH v10 0/3] drm: Introduce writeback connectors

2018-06-12 Thread Liviu Dudau
Hi, This is v10 of the writeback connector series. Compared to v9 I've reverted to the v6 way of cleaning up the writeback job in the cleanup_work() function, where we also drop the reference to the job's framebuffer. I was trying to come up with a reference counted implementation for the job,

[PATCH v10 2/3] drm: writeback: Add out-fences for writeback connectors

2018-06-12 Thread Liviu Dudau
From: Brian Starkey Add the WRITEBACK_OUT_FENCE_PTR property to writeback connectors, to enable userspace to get a fence which will signal once the writeback is complete. It is not allowed to request an out-fence without a framebuffer attached to the connector. A timeline is added to

[PATCH v10 3/3] drm: writeback: Add client capability for exposing writeback connectors

2018-06-12 Thread Liviu Dudau
Due to the fact that writeback connectors behave in a special way in DRM (they always report being disconnected) we might confuse some userspace. Add a client capability for writeback connectors that will filter them out for clients that don't understand the capability. Changelog: - only accept

[PATCH v4 1/2] drm/rockchip: vop: split out core clock enablement into separate functions

2018-06-12 Thread Heiko Stuebner
Judging from the iommu code, both the hclk and aclk are necessary for register access. Split them off into separate functions from the regular vop enablement, so that we can use them elsewhere as well. Fixes: d0b912bd4c23 ("iommu/rockchip: Request irqs in rk_iommu_probe()") Cc:

[PATCH v4 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed

2018-06-12 Thread Heiko Stuebner
From: Sandy Huang The vop irq is shared between vop and iommu and irq probing in the iommu driver moved to the probe function recently. This can in some cases lead to a stall if the irq is triggered while the vop driver still has it disabled, but the vop irq handler gets called. But there is no

[PATCH v4 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change

2018-06-12 Thread Heiko Stuebner
This still tries to address the hang seen by Ezequiel Garcia on rk3288. As Tomasz noted, trying to count enablement can run into concurrency issues, so instead we'll just check if the vop is runtime-enabled to see if it could be the source of the irq and then just do our own clk_enable in the isr

[PATCH v3 9/9] xen/gntdev: Implement dma-buf import functionality

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko 1. Import a dma-buf with the file descriptor provided and export granted references to the pages of that dma-buf into the array of grant references. 2. Add API to close all references to an imported buffer, so it can be released by the owner. This is only

[PATCH v3 7/9] xen/gntdev: Add initial support for dma-buf UAPI

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add UAPI and IOCTLs for dma-buf grant device driver extension: the extension allows userspace processes and kernel modules to use Xen backed dma-buf implementation. With this extension grant references to the pages of an imported dma-buf can be exported for other

[PATCH v3 0/9] xen: dma-buf support for grant device

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This work is in response to my previous attempt to introduce Xen/DRM zero-copy driver [1] to enable Linux dma-buf API [2] for Xen based frontends/backends. There is also an existing hyper_dmabuf approach available [3] which, if reworked to utilize the proposed

[PATCH v3 1/9] xen/grant-table: Export gnttab_{alloc|free}_pages as GPL

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Only gnttab_{alloc|free}_pages are exported as EXPORT_SYMBOL while all the rest are exported as EXPORT_SYMBOL_GPL, thus effectively making it not possible for non-GPL driver modules to use grant table module. Export gnttab_{alloc|free}_pages as EXPORT_SYMBOL_GPL so

[PATCH v3 2/9] xen/grant-table: Make set/clear page private code shared

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Make set/clear page private code shared and accessible to other kernel modules which can re-use these instead of open-coding. Signed-off-by: Oleksandr Andrushchenko Reviewed-by: Boris Ostrovsky --- drivers/xen/grant-table.c | 54

[PATCH v3 4/9] xen/grant-table: Allow allocating buffers suitable for DMA

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Extend grant table module API to allow allocating buffers that can be used for DMA operations and mapping foreign grant references on top of those. The resulting buffer is similar to the one allocated by the balloon driver in terms that proper memory reservation is

[PATCH v3 5/9] xen/gntdev: Allow mappings for DMA buffers

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Allow mappings for DMA backed buffers if grant table module supports such: this extends grant device to not only map buffers made of balloon pages, but also from buffers allocated with dma_alloc_xxx. Signed-off-by: Oleksandr Andrushchenko ---

[PATCH v3 6/9] xen/gntdev: Make private routines/structures accessible

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is in preparation for adding support of DMA buffer functionality: make map/unmap related code and structures, used privately by gntdev, ready for dma-buf extension, which will re-use these. Rename corresponding structures as those become non-private to gntdev

[PATCH v3 8/9] xen/gntdev: Implement dma-buf export functionality

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko 1. Create a dma-buf from grant references provided by the foreign domain. By default dma-buf is backed by system memory pages, but by providing GNTDEV_DMA_FLAG_XXX flags it can also be created as a DMA write-combine/coherent buffer, e.g. allocated with

[PATCH v3 3/9] xen/balloon: Share common memory reservation routines

2018-06-12 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Memory {increase|decrease}_reservation and VA mappings update/reset code used in balloon driver can be made common, so other drivers can also re-use the same functionality without open-coding. Create a dedicated file for the shared code and export corresponding

[Bug 106892] GPU hang with radeon glx driver

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106892 --- Comment #3 from Simon --- ok also crashing with 1024x768@60Hz, so seems the resolution and frequency dont really matter for that bug, sry for the confusion. ^^ Anyway how do I disable these annoying EDID message spam in dmesg? -- You are

[Bug 99492] [intel_gpu_tools] intel_gpu_frequency's parsing of parameters broken

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99492 Jani Nikula changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 99492] [intel_gpu_tools] intel_gpu_frequency's parsing of parameters broken

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99492 Jani Nikula changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mail

Re: [PATCH v3 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed

2018-06-12 Thread Heiko Stuebner
Am Dienstag, 12. Juni 2018, 14:39:03 CEST schrieb Marc Zyngier: > Hi Heiko, > > On 12/06/18 13:15, Heiko Stuebner wrote: > > From: Sandy Huang > > > > The vop irq is shared between vop and iommu and irq probing in the > > iommu driver moved to the probe function recently. This can in some > >

[Bug 99492] [intel_gpu_tools] intel_gpu_frequency's parsing of parameters broken

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99492 --- Comment #1 from Jani Nikula --- (In reply to Andreas Reis from comment #0) > At least in the case of -g, intel_gpu_frequency currently (1.16 & git) fails > if there are parameters. With none it works. > > Eg, the example's -gmin,cur yields

Re: [PATCH v3 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed

2018-06-12 Thread JeffyChen
Hi Heiko, On 06/12/2018 08:15 PM, Heiko Stuebner wrote: From: Sandy Huang The vop irq is shared between vop and iommu and irq probing in the iommu driver moved to the probe function recently. This can in some cases lead to a stall if the irq is triggered while the vop driver still has it

[PATCH v8 2/5] drm: mali-dp: Add RGB writeback formats for DP550/DP650

2018-06-12 Thread Liviu Dudau
From: Brian Starkey Add a layer bit for the SE memory-write, and add it to the pixel format matrix for DP550/DP650. Signed-off-by: Brian Starkey [rebased and fixed conflicts] Signed-off-by: Mihail Atanassov Signed-off-by: Liviu Dudau --- drivers/gpu/drm/arm/malidp_hw.c | 22

[PATCH v8 0/5] drm/mali-dp: Add support for memory writeback engine

2018-06-12 Thread Liviu Dudau
Hi, Updating the Mali DP memory writeback engine support series to match the v10 generic writeback connector support posted here [1]. Changelog: - v8: Addressed feedback from Brian wrt the state tracking that we deploy for DP500 and the timing of the CVAL setting. Also added SPDX license

[PATCH v8 3/5] drm/mali-dp: Add writeback support for DP500.

2018-06-12 Thread Liviu Dudau
Mali DP500 behaves differently from the rest of the Mali DP IP, in that it does not have a one-shot mode and keeps writing the content of the current frame to the provided memory area until stopped. As a way of emulating the one-shot behaviour, we are going to use the CVAL interrupt that is being

[PATCH v8 5/5] drm: mali-dp: Add writeback connector

2018-06-12 Thread Liviu Dudau
From: Brian Starkey Mali-DP has a memory writeback engine which can be used to write the composition result to a memory buffer. Expose this functionality as a DRM writeback connector on supported hardware. Changes since v1: Daniel Vetter: - Don't require a modeset when writeback routing

[PATCH v8 4/5] drm/mali-dp: Add RGB writeback formats for DP500.

2018-06-12 Thread Liviu Dudau
Annotate the pixel format matrix for DP500 with the memory-write flag for formats that are supported by the SE memwrite engine. Signed-off-by: Liviu Dudau --- drivers/gpu/drm/arm/malidp_hw.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v8 1/5] drm: mali-dp: Add support for writeback on DP550/DP650

2018-06-12 Thread Liviu Dudau
Mali-DP display processors are able to write the composition result to a memory buffer via the SE. Add entry points in the HAL for enabling/disabling this feature, and implement support for it on DP650 and DP550. DP500 acts differently and so is omitted from this change. Changes since v3: - Fix

[PATCH] drm/mxsfb: rename driver to mxsfb-drm

2018-06-12 Thread Stefan Agner
There are two drivers for the LCDIF/MXSFB peripheral. If the DRM and fbdev are compiled in, the registration of the second driver fails: mxs-dma 3300.dma-apbh: initialized mxsfb 3073.lcdif: 3073.lcdif supply lcd not found, using dummy regulator mxsfb 3073.lcdif: initialized

Re: [PATCH] drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'

2018-06-12 Thread Neil Armstrong
On 11/06/2018 18:53, Christophe JAILLET wrote: > If 'platform_get_resource_byname()' fails, we should release some resources > before leaving, as already done in the other error handling path of the > function. > > Fixes: acaa3f13b8dd ("drm/meson: Fix potential NULL dereference in >

Re: [PATCH 18/21] udlfb: allow reallocating the framebuffer

2018-06-12 Thread Mikulas Patocka
On Mon, 4 Jun 2018, kbuild test robot wrote: > Hi Mikulas, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on drm/drm-next] > [also build test WARNING on v4.17-rc7 next-20180601] > [if your patch is applied to the wrong git tree, please drop us a note to >

Re: [PATCH 1/5] drm/msm: Remove pm_runtime operations from msm_iommu

2018-06-12 Thread Kristian Høgsberg
On Mon, Jun 11, 2018 at 11:26 AM Jordan Crouse wrote: > > Now that the IOMMU is the master of it's own power we don't need to bring > up the GPU to do IOMMU operations. This is good because bringing up a6xx > requires the GMU so calling pm_runtime_get_sync() too early in the process > gets us