Re: [PATCH 2/2] drm/panfrost: Use coherent pagetable walk on Juno

2019-09-30 Thread Robin Murphy
On 30/09/2019 17:26, Steven Price wrote: On 30/09/2019 16:24, Robin Murphy wrote: Although going full "dma-coherent" ends badly due to GEM objects still being forcibly mapped non-cacheable, we can at least take advantage of Juno's ACE-lite integration to skip cache maintenance for pagetables. C

Re: [PATCH v3] dt-bindings: gpu: Convert Samsung Image Scaler to dt-schema

2019-09-30 Thread Rob Herring
On Fri, Sep 27, 2019 at 9:59 AM Krzysztof Kozlowski wrote: > > On Fri, 27 Sep 2019 at 16:33, Marek Szyprowski > wrote: > > > > From: Maciej Falkowski > > > > Convert Samsung Image Scaler to newer dt-schema format. > > > > Signed-off-by: Maciej Falkowski > > Signed-off-by: Marek Szyprowski > >

RE: [PATCH] drm/i915/dp: Fix DP MST error after unplugging TypeC cable

2019-09-30 Thread S, Srinivasan
Could anyone please review the patch below & let me know if any other ideas please? https://patchwork.freedesktop.org/patch/332806/?series=66837&rev=3 Thanks, > -Original Message- > From: S, Srinivasan > Sent: Wednesday, September 25, 2019 8:33 PM > To: 'Ville Syrjälä' > Cc: Navare, Ma

[PATCH] drm/amdgpu: Initialize variable before use

2019-09-30 Thread Siqueira, Rodrigo
The 'debug_data' variable gets printed in debug statements without a prior initialization in the function hubbub1_verify_allow_pstate_change_high, as reported when building with gcc 9.1.0: warning: ‘debug_data’ may be used uninitialized in this function [-Wmaybe-uninitialized] 290 | printk##on

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #152 from ReddestDream --- Kernel 5.4-rc1, the first kernel version that includes the Vega 20 patches noted by Alex Deucher, is now out and in linux-mainline on Arch Linux AUR. :) I plan to do some testing of this version over the n

Re: [PATCH v4 8/9] drm: rcar-du: kms: Update CMM in atomic commit tail

2019-09-30 Thread Ezequiel Garcia
+Doug, Heiko: On Fri, 2019-09-06 at 15:54 +0200, Jacopo Mondi wrote: > 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. > > When resuming from system suspend, the DU driver is respon

Re: [PATCH V2 6/8] mdev: introduce virtio device and its device ops

2019-09-30 Thread Alex Williamson
On Fri, 27 Sep 2019 16:25:13 + Parav Pandit wrote: > Hi Alex, > > > > -Original Message- > > From: Alex Williamson > > Sent: Tuesday, September 24, 2019 6:07 PM > > To: Jason Wang > > Cc: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > > ker...@vger.kernel.org; dri-deve

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-30 Thread Tero Kristo
On 30/09/2019 18:10, Adam Ford wrote: On Mon, Sep 30, 2019 at 9:27 AM Tomi Valkeinen wrote: On 30/09/2019 17:20, Tomi Valkeinen wrote: Let's see what Tero says, but yeah, something is odd here. I expected the max divider to be 16 with Tero's patch, but I don't see it having that effect. I ca

[Bug 111763] ring_gfx hangs/freezes on Navi gpus

2019-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111763 --- Comment #7 from Doug Ty --- (In reply to Marko Popovic from comment #6) > (In reply to Doug Ty from comment #5) > > I've been getting this too with Minecraft: > > https://bugs.freedesktop.org/show_bug.cgi?id=111669 > > > > For my particul

[Bug 111763] ring_gfx hangs/freezes on Navi gpus

2019-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111763 --- Comment #8 from Marko Popovic --- (In reply to Doug Ty from comment #7) > (In reply to Marko Popovic from comment #6) > > (In reply to Doug Ty from comment #5) > > > I've been getting this too with Minecraft: > > > https://bugs.freedesktop

[PATCH v3 0/5] RK3288 Gamma LUT

2019-09-30 Thread Ezequiel Garcia
Let's support Gamma LUT configuration on RK3288 SoCs. In order to do so, this series adds a new and optional address resource. A separate address resource is required because on this RK3288, the LUT address is after the MMU address, which is requested by the iommu driver. This prevents the DR

[PATCH v3 1/5] Revert "drm/rockchip: Use drm_atomic_helper_commit_tail_rpm"

2019-09-30 Thread Ezequiel Garcia
This reverts commit c87fb38df19da3362a0e20df1aad852100995ead, which conflicts with adding driver-specific behavior in atomic_commit_tail(). No functional changes expected on this commit, but just preparation for the upcoming gamma LUT support. Cc: Sean Paul Signed-off-by: Ezequiel Garcia --- Ch

[PATCH v3 2/5] dt-bindings: display: rockchip: document VOP gamma LUT address

2019-09-30 Thread Ezequiel Garcia
Add the register specifier description for an optional gamma LUT address. Signed-off-by: Ezequiel Garcia Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Changes from v2: * None. Changes from v1: * Drop reg-names, suggested by Doug. --- .../devicetree/bindings/display/rockchip/rockch

[PATCH v3 3/5] drm/rockchip: Add optional support for CRTC gamma LUT

2019-09-30 Thread Ezequiel Garcia
Add an optional CRTC gamma LUT support, and enable it on RK3288. This is currently enabled via a separate address resource, which needs to be specified in the devicetree. The address resource is required because on some SoCs, such as RK3288, the LUT address is after the MMU address, and the latter

[PATCH v3 5/5] RFC: drm/atomic-helper: Reapply color transformation after resume

2019-09-30 Thread Ezequiel Garcia
Some platforms are not able to maintain the color transformation state after a system suspend/resume cycle. Set the colog_mgmt_changed flag so that CMM on the CRTCs in the suspend state are reapplied after system resume. Signed-off-by: Ezequiel Garcia --- This is an RFC, and it's mostly based on

[PATCH v3 4/5] ARM: dts: rockchip: Add RK3288 VOP gamma LUT address

2019-09-30 Thread Ezequiel Garcia
RK3288 SoC VOPs have optional support Gamma LUT setting, which requires specifying the Gamma LUT address in the devicetree. Signed-off-by: Ezequiel Garcia Reviewed-by: Douglas Anderson --- Changes from v2: * None. Changes from v1: * Drop reg-names, as suggested by Doug. --- arch/arm/boot/dts/rk

Re: [PATCH 00/11] Add support for software nodes to gpiolib

2019-09-30 Thread Dmitry Torokhov
Hi Linus, On Mon, Sep 16, 2019 at 05:22:07PM -0700, Dmitry Torokhov wrote: > On Thu, Sep 12, 2019 at 10:55:47AM +0100, Linus Walleij wrote: > > On Wed, Sep 11, 2019 at 8:52 AM Dmitry Torokhov > > wrote: > > > > > If we agree in principle, I would like to have the very first 3 patches > > > in an

[PATCH v7 1/3] drm: Add CRTC background color property

2019-09-30 Thread Matt Roper
Some display controllers can be programmed to present non-black colors for pixels not covered by any plane (or pixels covered by the transparent regions of higher planes). Compositors that want a UI with a solid color background can potentially save memory bandwidth by setting the CRTC background

[PATCH v7 3/3] drm/i915: Add background color hardware readout and state check

2019-09-30 Thread Matt Roper
We should support readout and verification of crtc background color as we do with other pipe state. Note that our hardware holds less bits of precision than the CRTC state allows, so we need to take care to only verify the most significant bits of the color after performing readout. At boot time

[PATCH v7 0/3] CRTC background color

2019-09-30 Thread Matt Roper
The previous version of this series was posted in February here: https://lists.freedesktop.org/archives/dri-devel/2019-February/208068.html Right before we merged this in February Maarten noticed that we should be setting up the initial property state in a CRTC reset function (which didn'

[PATCH v7 2/3] drm/i915/gen9+: Add support for pipe background color

2019-09-30 Thread Matt Roper
Gen9+ platforms allow CRTC's to be programmed with a background/canvas color below the programmable planes. Let's expose this for use by compositors. v2: - Split out bgcolor sanitization and programming of csc/gamma bits to a separate patch that we can land before the ABI changes are ready to

[PATCH i-g-t] tests/kms_crtc_background_color: overhaul to match upstream ABI (v5.1)

2019-09-30 Thread Matt Roper
CRTC background color kernel patches were written about 2.5 years ago and floated on the upstream mailing list, but since no opensource userspace materialized, we never actually merged them. However the corresponding IGT test did get merged and has basically been dead code ever since. A couple ye

Re: [v8,2/4] drm/panel: set display info in panel attach

2019-09-30 Thread dbasehore .
On Sat, Sep 28, 2019 at 10:23 PM james qian wang (Arm Technology China) wrote: > > On Wed, Sep 25, 2019 at 03:58:31PM -0700, Derek Basehore wrote: > > Devicetree systems can set panel orientation via a panel binding, but > > there's no way, as is, to propagate this setting to the connector, > > wh

[PATCH] drm/bridge: dw-hdmi: Restore audio when setting a mode

2019-09-30 Thread Cheng-Yi Chiang
From: Daniel Kurtz When setting a new display mode, dw_hdmi_setup() calls dw_hdmi_enable_video_path(), which disables all hdmi clocks, including the audio clock. We should only (re-)enable the audio clock if audio was already enabled when setting the new mode. Without this patch, on RK3288, the

Re: [PATCH i-g-t] tests/kms_crtc_background_color: overhaul to match upstream ABI (v5.1)

2019-09-30 Thread Martin Peres
On 30/09/2019 19:13, Matt Roper wrote: > CRTC background color kernel patches were written about 2.5 years ago > and floated on the upstream mailing list, but since no opensource > userspace materialized, we never actually merged them. However the > corresponding IGT test did get merged and has ba

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-30 Thread Tomi Valkeinen
On 30/09/2019 20:48, Tero Kristo wrote: Hmmh, after some testing, it seems there is bad stuff happening with the divider clock implementation, I am re-working it as of now. Basically what is wrong is that with a divider max value of say 16, the driver attempts to craft the max value into a mas

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-30 Thread Tero Kristo
On 01/10/2019 08:07, Tomi Valkeinen wrote: On 30/09/2019 20:48, Tero Kristo wrote: Hmmh, after some testing, it seems there is bad stuff happening with the divider clock implementation, I am re-working it as of now. Basically what is wrong is that with a divider max value of say 16, the drive

RE: [PATCH] ion_system_heap: support X86 archtecture

2019-09-30 Thread Zhang, Jun
Hello, Greg Sorry, I am newcomer, and I don't know why couldn't use #ifdefs? I only refer some kernel code(V4.19) in drivers/hwtracing/intel_th/msu.c. Could you tell me why? And I tell my workmate to avoid the same case. If I define a config in Kconfig, and static inline function in .h file, th

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #14 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@* -incomplete - Abort requested by .* terminating children -} {+ TGL: igt@* -incomplete - Abort requested by .* terminating children +}

Re: [Intel-gfx] [PATCH v3 35/37] drm/i915: Introduce GEM_OBJECT_SETPARAM with I915_PARAM_MEMORY_REGION

2019-09-30 Thread Niranjan Vishwanathapura
On Fri, Aug 09, 2019 at 11:26:41PM +0100, Matthew Auld wrote: From: Abdiel Janulgue This call will specify which memory region an object should be placed. Note that changing the object's backing storage should be immediately done after an object is created or if it's not yet in use, otherwise

[Bug 111599] [CI][RESUME] igt@gem_ctx_isolation@* - skip - Test requirement: !(gen > LAST_KNOWN_GEN), SKIP

2019-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111599 --- Comment #2 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@gem_ctx_isolation@* - skip - Test requirement: !(gen > LAST_KNOWN_GEN), SKIP -} {+ TGL: igt@gem_ctx_isolation@* - skip - Test requiremen

<    1   2