[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #36 from Mauro Gaspari --- (In reply to shadow.archemage from comment #35) > (In reply to Mauro Gaspari from comment #22) > > > The only issue I have not being able to reproduce the issue quickly, is to > > clearly understand when t

Re: [PATCH v6 06/18] drm/virtio: remove ttm calls from in virtio_gpu_object_{reserve, unreserve}

2019-07-06 Thread Chia-I Wu
On Fri, Jul 5, 2019 at 1:53 AM Gerd Hoffmann wrote: > > On Thu, Jul 04, 2019 at 12:17:48PM -0700, Chia-I Wu wrote: > > On Thu, Jul 4, 2019 at 4:10 AM Gerd Hoffmann wrote: > > > > > > Hi, > > > > > > > > - r = ttm_bo_reserve(&bo->tbo, true, false, NULL); > > > > > + r = reservation_o

Re: [PATCH] backlight: pwm_bl: Set pin to sleep state when powered down

2019-07-06 Thread Paul Cercueil
Le mar. 25 juin 2019 à 5:47, Thierry Reding a écrit : On Mon, Jun 24, 2019 at 04:31:57PM +0200, Paul Cercueil wrote: Le lun. 24 juin 2019 à 13:28, Daniel Thompson a écrit : > On Fri, Jun 21, 2019 at 03:56:08PM +0200, Thierry Reding wrote: > > On Fri, Jun 21, 2019 at 01:41:45PM +01

[PATCH] drm/bridge: ti-sn65dsi86: use dev name for debugfs

2019-07-06 Thread Rob Clark
From: Rob Clark This should be more future-proof if we ever encounter a device with two of these bridges. Suggested-by: Laurent Pinchart Signed-off-by: Rob Clark --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridg

[Bug 111076] Building error after commit b52bf8f12a ("amd/common/gfx10: support new tbuffer encoding")

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111076 --- Comment #2 from Mauro Rossi --- The problem is missing changes in android building rules with gfx10 I have submitted series of patches to mesa-dev that fix the problem Mauro -- You are receiving this mail because: You are the assignee for

[PATCH] video: radeon.h Fix Shifting signed 32 bit value by 31 bits problem

2019-07-06 Thread Shobhit Kukreti
Fix RB2D_DC_BUSY and HORZ_AUTO_RATIO_INC defines to use "U" cast to avoid shifting signed 32 bit values by 31 bit problem. This is not a problem for gcc built kernel. However, the header file being a public api, other compilers may not handle the condition safely resulting in undefined behavior.

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #1 from rol...@rptd.ch --- I've started the application now also in a debugger and went to loading a simple model which causes tons of RAM to be consumes by the shader compiler. I interrupted with GDB and made a trace: #0 0x7f65

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 Bug ID: 111077 Summary: link_shader and deserialize_glsl_program suddenly consume huge amount of RAM Product: Mesa Version: 18.3 Hardware: x86-64 (AMD64) O

Re: [PATCH] drm/ttm: properly unmap dma page upon failure

2019-07-06 Thread Yu Zhao
On Mon, Mar 25, 2019 at 02:22:50PM -0600, Yu Zhao wrote: > dma_unmap_page() must be called with exactly the same dma address > and size returned by dma_map_page(). Otherwise, the function may > fail. > > This is at least the case for debug_dma_unmap_page() and AMD iommu > unmap_page callback. Hi,

[Bug 111076] Building error after commit b52bf8f12a ("amd/common/gfx10: support new tbuffer encoding")

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111076 --- Comment #1 from Mauro Rossi --- I'm building Android (pie-x86) Mauro -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedeskto

[Bug 111076] Building error after commit b52bf8f12a ("amd/common/gfx10: support new tbuffer encoding")

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111076 Bug ID: 111076 Summary: Building error after commit b52bf8f12a ("amd/common/gfx10: support new tbuffer encoding") Product: Mesa Version: unspecified Hardware: x86-64 (AMD6

[PATCH v2 12/19] arm64: dts: renesas: r8a77990: Add CMM units

2019-07-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car E3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/

[PATCH v2 02/19] dt-bindings: display, renesas,du: Document cmms property

2019-07-06 Thread Jacopo Mondi
Document the newly added 'cmms' property which accepts a list of phandle and channel index pairs that point to the CMM units available for each Display Unit output video channel. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- Documentation/devicetree/bindings/display/renesas,du.t

[PATCH v2 09/19] arm64: dts: renesas: r8a7796: Add CMM units

2019-07-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car M3-W device tree and reference them from the Display Unit they are connected to. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 25 1 file changed,

[PATCH v2 14/19] drm: rcar-du: Add support for CMM

2019-07-06 Thread Jacopo Mondi
Add a driver for the R-Car Display Unit Color Correction Module. In most of Gen3 SoCs, each DU output channel is provided with a CMM unit to perform image enhancement and color correction. Add support for CMM through a driver that supports configuration of the 1-dimensional LUT table. More advanc

[PATCH v2 05/19] clk: renesas: r8a7795: Add CMM clocks

2019-07-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 H3. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/d

[PATCH v2 08/19] clk: renesas: r8a77995: Add CMM clocks

2019-07-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 D3. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/d

[PATCH v2 19/19] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-07-06 Thread Jacopo Mondi
Update CMM settings at in the atomic commit tail helper method. The CMM is updated with new gamma values provided to the driver in the GAMMA_LUT blob property. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 35 +++ 1 file changed, 35 insertions(+

[PATCH v2 18/19] drm: rcar-du: crtc: Register GAMMA_LUT properties

2019-07-06 Thread Jacopo Mondi
Enable the GAMMA_LUT KMS property using the framework helpers to register the proeprty and the associated gamma table size maximum size. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_

[PATCH v2 17/19] drm: rcar-du: crtc: Enable and disable CMMs

2019-07-06 Thread Jacopo Mondi
Enable/disable the CMM associated with a CRTC at crtc start and stop time and enable the CMM unit through the Display Extensional Functions register at group setup time. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 7 +++ drivers/gpu/drm/rcar-du/rcar_du_group.c |

[PATCH v2 16/19] drm: rcar-du: kms: Collect CMM instances

2019-07-06 Thread Jacopo Mondi
Implement device tree parsing to collect the available CMM instances described by the 'cmms' property. Associate CMMs with CRTCs and store a mask of active CMMs in the DU group for later enablement. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 6 +++ drivers/gpu/drm

[PATCH v2 15/19] drm: rcar-du: Claim CMM support for Gen3 SoCs

2019-07-06 Thread Jacopo Mondi
Add CMM to the list of supported features for Gen3 SoCs that provide it: - R8A7795 - R8A7796 - R8A77965 - R8A7799x Leave R8A77970 out as V3M and V3H are the only Gen3 SoCs that do not support CMM. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 12 drivers/g

[PATCH v2 03/19] arm64: renesas: Update 'vsps' property

2019-07-06 Thread Jacopo Mondi
Update the 'vsps' property in the R-Car Gen3 SoC device tree files to match what's in in the documentation example. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 2 +- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 2 +-

[PATCH v2 06/19] clk: renesas: r8a77965: Add CMM clocks

2019-07-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 M3-N. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77965-cpg-mssr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/renesas/r8a77965-cpg-mssr.c

[PATCH v2 10/19] arm64: dts: renesas: r8a7795: Add CMM units

2019-07-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car H3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/

[PATCH v2 04/19] clk: renesas: r8a7796: Add CMM clocks

2019-07-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 M3-W. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/

[PATCH v2 13/19] arm64: dts: renesas: r8a77995: Add CMM units

2019-07-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car D3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/

[PATCH v2 07/19] clk: renesas: r8a77990: Add CMM clocks

2019-07-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 E3. Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/d

[PATCH v2 11/19] arm64: dts: renesas: r8a77965: Add CMM units

2019-07-06 Thread Jacopo Mondi
Add CMM units to Renesas R-Car M3-N device tree and reference them from the Display Unit they are connected to. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77

[PATCH v2 00/19] drm: rcar-du: Add Color Management Module (CMM)

2019-07-06 Thread Jacopo Mondi
Hello, second iteration of CMM support for Renesas R-Car devices, where I have fixed comments from Laurent, Geert and Daniel. A reference to the v1 cover letter, with some background on the CMM is available here: https://lkml.org/lkml/2019/6/6/583 Notable changes: - Rebased on v5.2-rc7 - clock

[PATCH v2 01/19] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-07-06 Thread Jacopo Mondi
Add device tree bindings documentation for the Renesas R-Car Display Unit Color Management Module. CMM is the image enhancement module available on each R-Car DU video channel on R-Car Gen2 and Gen3 SoCs (V3H and V3M excluded). Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- .../

[PATCH] drm/msm/phy/dsi_phy: silence -EPROBE_DEFER warnings

2019-07-06 Thread Brian Masney
The following errors show up when booting the Nexus 5: msm_dsi_phy fd922a00.dsi-phy: [drm:dsi_phy_driver_probe] *ERROR* dsi_phy_regulator_init: failed to init regulator, ret=-517 msm_dsi_phy fd922a00.dsi-phy: [drm:dsi_phy_driver_probe] *ERROR* dsi_phy_driver_probe: failed to init regulator dsi_

Re: [alsa-devel] [PATCH 2/4] drm: bridge: dw-hdmi: Report connector status using callback

2019-07-06 Thread Cheng-yi Chiang
On Sat, Jul 6, 2019 at 1:16 AM Mark Brown wrote: > > On Fri, Jul 05, 2019 at 03:31:24PM +0800, Cheng-yi Chiang wrote: > > > It was a long discussion. > > I think the conclusion was that if we are only talking about > > hdmi-codec, then we just need to extend the ops exposed in hdmi-codec > > and d

Re: [PATCH 3/4] ASoC: rockchip_max98090: Add dai_link for HDMI

2019-07-06 Thread Cheng-yi Chiang
On Fri, Jul 5, 2019 at 3:10 PM Tzung-Bi Shih wrote: > > On Fri, Jul 5, 2019 at 12:26 PM Cheng-Yi Chiang wrote: > > diff --git a/sound/soc/rockchip/rockchip_max98090.c > > b/sound/soc/rockchip/rockchip_max98090.c > > index c5fc24675a33..195309d1225a 100644 > > --- a/sound/soc/rockchip/rockchip_ma

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #35 from shadow.archem...@gmail.com --- (In reply to Mauro Gaspari from comment #22) > The only issue I have not being able to reproduce the issue quickly, is to > clearly understand when the issue is resolved by Mesa. It takes hours