Re: [PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 08:44:14PM -0500, Lyude Paul wrote: > On Tue, 2018-11-27 at 20:44 +0100, Daniel Vetter wrote: > > On Tue, Nov 27, 2018 at 12:48:59PM -0500, Lyude Paul wrote: > > > On Mon, 2018-11-26 at 22:22 +0100, Daniel Vetter wrote: > > > > On Mon, Nov 26, 2018 at 10:04:21PM +0100,

[PATCH] drm/vkms: Fix plane duplicate_state

2018-11-28 Thread Daniel Vetter
We need to handle allocation failures and bail out. While at it, tune the allocation failures down to debug level. syzbot injected an allocation failure and then hit this WARN_ON. Reported-by: syzbot+eb6e5365f23c02517...@syzkaller.appspotmail.com Signed-off-by: Daniel Vetter Cc: Haneen Mohammed

Re: [v4 2/3] drm: Add DP colorspace property

2018-11-28 Thread Brian Starkey
Hi Uma, On Tue, Nov 27, 2018 at 10:10:42PM +0530, Uma Shankar wrote: > This patch adds a DP colorspace property, enabling > userspace to switch to various supported colorspaces. > This will help enable BT2020 along with other colorspaces. > > v2: Addressed Maarten and Ville's review comments.

[Bug 201795] [Regression] Wrong 4k resolution detected with DisplayPort to HDMI adapter on amdgpu

2018-11-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201795 --- Comment #3 from Michel Dänzer (mic...@daenzer.net) --- Please also attach the output of dmesg and the Xorg log file in each case. -- You are receiving this mail because: You are watching the assignee of the bug.

[PULL] drm-misc-next

2018-11-28 Thread Maarten Lankhorst
Hi Dave, Here's the next pull request for v4.21. :) drm-misc-next-2018-11-28: drm-misc-next for v4.21: Core Changes: - Merge drm_info.c into drm_debugfs.c - Complete the fake drm_crtc_commit's hw_done/flip_done sooner. - Remove deprecated drm_obj_ref/unref functions. All drivers use get/put

[Bug 108781] 4.19 Regression - Hawaii (R9 390) boot failure - Invalid PCC GPIO / invalid powerlevel state / Fatal error during GPU init

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108781 --- Comment #28 from Linnea S --- (In reply to freedesktop from comment #27) > OK there seems to be something screwy going on with the amdgpu.dpm option - > if that's set to 0, it still results in a blank screen. It has to be removed > entirely

Re: [Intel-gfx] [PATCH v5 4/5] drm: Add library for shmem backed GEM objects

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 12:38:44PM -0800, Eric Anholt wrote: > Daniel Vetter writes: > > > On Mon, Nov 26, 2018 at 04:36:21PM -0800, Eric Anholt wrote: > >> Noralf Trønnes writes: > >> > +static void drm_gem_shmem_vm_close(struct vm_area_struct *vma) > >> > +{ > >> > +struct

Re: [RFC PATCH v2] android: ion: How to properly clean caches for uncached allocations

2018-11-28 Thread Liam Mark
On Tue, 27 Nov 2018, Brian Starkey wrote: > Hi Liam, > > On Mon, Nov 26, 2018 at 08:59:44PM -0800, Liam Mark wrote: > > On Tue, 20 Nov 2018, Brian Starkey wrote: > > > > > Hi Liam, > > > > > > I'm missing a bit of context here, but I did read the v1 thread. > > > Please accept my apologies if

Re: [BUG] drm_rockchip: rk3066_hdmi: No driver support for vblank timestamp query.

2018-11-28 Thread Johan Jonker
On 11/27/18 10:11 AM, Tomasz Figa wrote: > > I don't see display support enabled in the rk3066-mk808.dts in latest > upstream: > https://elixir.bootlin.com/linux/latest/source/arch/arm/boot/dts/rk3066a-mk808.dts > > Do you have any local changes in your kernel sources? > Thanks for your

[PATCH][resend] drm: dw-hdmi-i2s: convert to SPDX identifiers

2018-11-28 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto --- 2weeks passed. resend drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

Re: [PATCH] drm/meson: Add HDMI 1.4 4k modes

2018-11-28 Thread Maxime Jourdan
On Tue, Nov 6, 2018 at 10:35 AM Neil Armstrong wrote: > > Add the timings for the HDMI 1.4 4K modes support : > - 3840x2160@30 > - 3840x2160@25 > - 3840x2160@24 > > Since the 297000Hz pixel clock is already managed and the modes are > compatible with the HDMI 1.4 current HDMI PHY+Controller

[PATCH] drm/amd/display: fix uninitialized symbol 'id' in bios_parser_get_src_obj

2018-11-28 Thread Yang Xiao
From: Young Xiao See commit a8f976473196 ("drm/amd/display: Bunch of smatch error and warning fixes in DC") for detail. Signed-off-by: Young Xiao --- drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] [BUG REPORT] Panic with sys_imageblit on arm64

2018-11-28 Thread yezengruan
From: yezengruan Hi all, When I run linux-4.19.2 on arm64, I got panic in sys_imageblit. My test steps are as fllows: 1) Remote login using BMC; 2) Enter a bunch of 'Enter' keys; 3) Execute the 'top' command and continuously press shift + page up several times. This gives the following panic

Re: [PATCH] drm/meson: Add support for VIC alternate timings

2018-11-28 Thread Maxime Jourdan
On Tue, Nov 6, 2018 at 11:55 AM Neil Armstrong wrote: > > This change is an attempt to handle the alternate clock for the CEA mode. > 60Hz vs. 59.94Hz, 30Hz vs 29.97Hz or 24Hz vs 23.97Hz on the Amlogic Meson SoC > DRM Driver pixel clock generation. > > The actual clock generation will be moved to

[BUG REPORT] Panic with sys_imageblit on arm64

2018-11-28 Thread yezengruan
Hi all, When I run linux-4.19.2 on arm64, I got panic in sys_imageblit. My test steps are as fllows: 1) Remote login using BMC; 2) Enter a bunch of 'Enter' keys; 3) Execute the 'top' command and continuously press shift + page up several times. This gives the following panic on the serial

Re: 4.20.0-rc3 nouveau/Quadro P2000 Mobile: runpm causing ACPI errors, lockups

2018-11-28 Thread Mika Westerberg
+linux-acpi Hi Michael, On Mon, Nov 26, 2018 at 10:53:26PM -0500, Michael S. Tsirkin wrote: > So a new thinkpad: > 01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P2000 > Mobile] (rev a1) > > Hangs whenever I try to poke at the card. It starts happily enough with > > [

Re: [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-28 Thread Michael Ellerman
Anshuman Khandual writes: > At present there are multiple places where invalid node number is encoded > as -1. Even though implicitly understood it is always better to have macros > in there. Replace these open encodings for an invalid node number with the > global macro NUMA_NO_NODE. This helps

[PATCH 4/6] drm/qxl: use shadow bo directly

2018-11-28 Thread Gerd Hoffmann
Pass the shadow bo to qxl_io_create_primary() instead of expecting qxl_io_create_primary to check bo->shadow. Set is_primary flag on the shadow bo. Move the is_primary tracking into qxl_io_create_primary() and qxl_io_destroy_primary() functions. That simplifies primary surface tracking and the

[PATCH 3/6] drm/qxl: track primary bo

2018-11-28 Thread Gerd Hoffmann
Track which bo is used as primary surface. With that in place we don't need the primary_created flag any more, we can just check the primary bo pointer instead. Also verify we don't already have a primary surface in qxl_io_create_primary(). Signed-off-by: Gerd Hoffmann ---

[PATCH 6/6] drm/qxl: use qxl_num_crtc directly

2018-11-28 Thread Gerd Hoffmann
Skip the pointless and slightly confusing indirection via qdev->monitors_config->max_allowed. Just use qxl_num_crtc instead. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git

[PATCH 5/6] drm/qxl: cover all crtcs in shadow bo.

2018-11-28 Thread Gerd Hoffmann
The qxl device supports only a single active framebuffer ("primary surface" in spice terminology). In multihead configurations are handled by defining rectangles within the primary surface for each head/crtc. Userspace which uses the qxl ioctl interface (xorg qxl driver) is aware of this

[PATCH 1/6] drm/qxl: move qxl_primary_apply_cursor to correct place

2018-11-28 Thread Gerd Hoffmann
The cursor must be set again after creating the primary surface. Also drop the error message. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c

[PATCH 0/6] drm/qxl: make qxl multihead work with wayland

2018-11-28 Thread Gerd Hoffmann
Some cleanups and preparations (patches 1-4, also 6). The change which makes wayland actually work in multihead configurations is patch 5. Gerd Hoffmann (6): drm/qxl: move qxl_primary_apply_cursor to correct place drm/qxl: drop unused offset parameter from qxl_io_create_primary() drm/qxl:

[PATCH 2/6] drm/qxl: drop unused offset parameter from qxl_io_create_primary()

2018-11-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_drv.h | 1 - drivers/gpu/drm/qxl/qxl_cmd.c | 7 +++ drivers/gpu/drm/qxl/qxl_display.c | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index

Re: [PATCH 2/3] drm: Move atomic_state_put after locks are dropped

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 05:46:39PM -0500, Sean Paul wrote: > From: Sean Paul > > drm_atomic_state_put doesn't require any locking, and this makes things > easier for switching to modeset_lock_all helpers in a future patch > > Cc: Daniel Vetter > Signed-off-by: Sean Paul > --- >

Re: [PATCH 3/3] drm: Add DRM_MODESET_LOCK_BEGIN/END helpers

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 05:46:40PM -0500, Sean Paul wrote: > From: Sean Paul > > This patch adds a couple of helpers to remove the boilerplate involved > in grabbing all of the modeset locks. > > I've also converted the obvious cases in drm core to use the helpers. > > The only remaining

RE: [Intel-gfx] [PATCH RFC 2/5] cgroup: Add mechanism to register vendor specific DRM devices

2018-11-28 Thread Joonas Lahtinen
Quoting Ho, Kenny (2018-11-27 17:41:17) > On Tue, Nov 27, 2018 at 4:46 AM Joonas Lahtinen > wrote: > > I think a more abstract property "% of GPU (processing power)" might > > be a more universal approach. One can then implement that through > > subdividing the resources or timeslicing them,

[Bug 108781] 4.19 Regression - Hawaii (R9 390) boot failure - Invalid PCC GPIO / invalid powerlevel state / Fatal error during GPU init

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108781 --- Comment #27 from freedesk...@nuclearsunshine.com --- OK there seems to be something screwy going on with the amdgpu.dpm option - if that's set to 0, it still results in a blank screen. It has to be removed entirely from the kernel command

Re: [PATCH v2 0/3] drm/vc4: Add a load tracker

2018-11-28 Thread Paul Kocialkowski
Hi, On Thu, 2018-10-25 at 14:45 +0200, Boris Brezillon wrote: > Hello, > > This is the 2nd version of the VC4 load tracker patch. > > Daniel, as you suggested, I've implemented a generic infrastructure to > track and report underrun errors (patch 1). Not sure this is what you > had in mind, but

[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725 --- Comment #14 from hjpries...@gmail.com --- I am now running 4.19.4 and did not get the messages anymore. The messages where there from 4.5.11 to 4.18.16 -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 1/3] drm: Move drm_mode_setcrtc() local re-init to failure path

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 05:46:38PM -0500, Sean Paul wrote: > From: Sean Paul > > Instead of always re-initializing the variables we need to clean up on > out, move the re-initialization into the branch that goes back to retry > label. > > This is a lateral move right now, but will allow us to

Re: [PATCH v2 0/3] drm/vc4: Add a load tracker

2018-11-28 Thread Boris Brezillon
On Wed, 28 Nov 2018 10:16:17 +0100 Paul Kocialkowski wrote: > Hi, > > On Thu, 2018-10-25 at 14:45 +0200, Boris Brezillon wrote: > > Hello, > > > > This is the 2nd version of the VC4 load tracker patch. > > > > Daniel, as you suggested, I've implemented a generic infrastructure to > > track

Re: [PATCH] drm/fbdev: Make skip_vt_switch the default

2018-11-28 Thread Daniel Vetter
On Wed, Nov 28, 2018 at 08:17:04AM +0100, Maarten Lankhorst wrote: > Op 27-11-18 om 18:34 schreef Daniel Vetter: > > KMS drivers really should all be able to restore their display state > > on resume without fbcon helping out. So make this the default. > > > > Since I'm not entirely foolish, make

Re: [PATCH v8 3/7] mm, devm_memremap_pages: Fix shutdown handling

2018-11-28 Thread Logan Gunthorpe
Hey Dan, On 2018-11-20 4:13 p.m., Dan Williams wrote: > The last step before devm_memremap_pages() returns success is to > allocate a release action, devm_memremap_pages_release(), to tear the > entire setup down. However, the result from devm_add_action() is not > checked. > > Checking the

Re: [BUG] drm_rockchip: rk3066_hdmi: No driver support for vblank timestamp query.

2018-11-28 Thread Johan Jonker
My local changes for VOP and HDMI. (PART 2) From 81bc4d4f83b57161c8ba7005875a2f9ff9ec1d3a Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Mon, 6 Nov 2017 11:50:54 +0800 Subject: [PATCH] clk: rockchip: rk3188: Add CLK_SET_RATE_PARENT for lcdc dclk Add CLK_SET_RATE_PARENT for lcdc dclk.

Re: [linux-sunxi] Re: [PATCH v4 08/26] drm/sun4i: sun6i_mipi_dsi: Fix VBP size calculation

2018-11-28 Thread Jagan Teki
On Tue, Nov 27, 2018 at 3:55 PM Maxime Ripard wrote: > > On Tue, Nov 20, 2018 at 09:55:42PM +0530, Jagan Teki wrote: > > On Tue, Nov 20, 2018 at 9:27 PM Maxime Ripard > > wrote: > > > > > > On Thu, Nov 15, 2018 at 11:19:53PM +0530, Jagan Teki wrote: > > > > On Thu, Nov 15, 2018 at 3:26 PM

[PATCH] drm: radeon: fix overflow on 32bit systems

2018-11-28 Thread Yang Xiao
From: Young Xiao the type mem->start is unsigned long, so this can overflow on 32bit system, since the type addr is uint64_t. Signed-off-by: Young Xiao --- drivers/gpu/drm/radeon/radeon_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_vm.c

[PATCH v2] dt-bindings: drm/panel: simple: Fix typo in EDT etm-series compatible

2018-11-28 Thread Jan Tuerk
This fixes the error in the compatible documentation for the EDT etm0700[g].. panels which have accidentally documented as etm0700[8]0.. Signed-off-by: Jan Tuerk --- .../devicetree/bindings/display/panel/edt,et-series.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Changes

Re: [RFC PATCH v2] android: ion: How to properly clean caches for uncached allocations

2018-11-28 Thread Brian Starkey
Hi Liam, On Tue, Nov 27, 2018 at 10:46:07PM -0800, Liam Mark wrote: > On Tue, 27 Nov 2018, Brian Starkey wrote: > > > Hi Liam, > > > > On Mon, Nov 26, 2018 at 08:59:44PM -0800, Liam Mark wrote: > > > On Tue, 20 Nov 2018, Brian Starkey wrote: > > > > > > > Hi Liam, > > > > > > > > I'm missing

Re: [PATCH] drm: radeon: fix overflow on 32bit systems

2018-11-28 Thread Christian König
Am 27.11.18 um 12:50 schrieb Yang Xiao: From: Young Xiao the type mem->start is unsigned long, so this can overflow on 32bit system, since the type addr is uint64_t. Signed-off-by: Young Xiao Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon_vm.c | 2 +- 1 file changed,

[PATCH v2] drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs

2018-11-28 Thread Neil Armstrong
On the Amlogic GXL & GXM SoCs, a bug occurs on the primary plane when alpha is used where the alpha is not aligned with the pixel content. The woraround Amlogic implemented is to reset the OSD1 plane hardware block each time the plane is (re)enabled, solving the issue. In the reset, we still

[PATCH] drm: Fix up drm_atomic_state_helper.[hc] extraction

2018-11-28 Thread Daniel Vetter
I've misplaced two functions by accident: - drm_atomic_helper_duplicate_state is really part of the resume/suspend/shutdown device-wide helpers. - drm_atomic_helper_legacy_gamma_set is part of the legacy ioctl compat helpers. Move them both back. Fixes: 9ef8a9dc4b21 ("drm: Extract

[Bug 108892] kernel BUG at kernel/time/timer.c:1137 in drm_sched_job_finish [gpu_sched]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108892 --- Comment #1 from Christian König --- What kernel version is this? Please also try with the latest. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

[Bug 108892] kernel BUG at kernel/time/timer.c:1137 in drm_sched_job_finish [gpu_sched]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108892 Bug ID: 108892 Summary: kernel BUG at kernel/time/timer.c:1137 in drm_sched_job_finish [gpu_sched] Product: DRI Version: DRI git Hardware: x86-64 (AMD64)

[PATCH 2/3] drm: Add optional PIXEL_NORMALIZE_RANGE property to drm_plane

2018-11-28 Thread Kevin Strasser
Add an optional property to allow applications to indicate what range their floating point pixel data is normalized to. Drivers are free to choose what ranges they want to support and can attach this property to each plane that actually supports floating point formats Signed-off-by: Kevin

[PATCH 0/3] Support 64 bpp half float formats

2018-11-28 Thread Kevin Strasser
This series defines new formats and adds a plane property to be used for floating point framebuffer content. Implementation is then added to i915. I have shared an IGT branch which adds test coverage for the new formats: https://github.com/strassek/xorg-intel-gpu-tools/tree/fp16 Kevin Strasser

[PATCH 1/3] drm/fourcc: Add 64 bpp half float formats

2018-11-28 Thread Kevin Strasser
Add 64 bpp 16:16:16:16 half float pixel formats. Each 16 bit component is formatted in IEEE-754 half-precision float (binary16) 1:5:10 MSb-sign:exponent:fraction form. An 'is_fp' attribute is added to drm_format_info so that drivers can easily distinguish these formats from those that might

[PATCH 3/3] drm/i915: Implement half float formats and pixel normalize property

2018-11-28 Thread Kevin Strasser
64 bpp half float formats are supported on hdr planes only and are subject to the following restrictions: * 90/270 rotation not supported * Yf Tiling not supported * Frame Buffer Compression not supported * Color Keying not supported The behavior of pixel normalize with non-float formats

Re: [Intel-gfx] [PATCH v2] Return only active connectors for get_resources ioctl

2018-11-28 Thread Lisovskiy, Stanislav
On Wed, 2018-11-28 at 22:21 +0100, Daniel Vetter wrote: > On Wed, Nov 28, 2018 at 09:51:13PM +0100, Daniel Vetter wrote: > > On Wed, Nov 28, 2018 at 03:55:58PM +0200, Stanislav Lisovskiy > > wrote: > > > Currently kernel might allocate different connector ids > > > for the same outputs in case of

[radeon-alex:amd-staging-drm-next 429/451] htmldocs: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:195: warning: Function parameter or member 'atomic_obj' not described in 'amdgpu_display_manager'

2018-11-28 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: 2e41bee6b61f2f0a460a8fb71b795d756a38bc85 commit: e64abff2f1330b536b2973719b74ba92950ff254 [429/451] drm/amd/display: Use private obj helpers for dm_atomic_state reproduce: make htmldocs All warnings (new ones

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #72 from Brandon Wright --- (In reply to bmilreu from comment #71) > @Nicholas Kazlauskas > any reason not to push this fix to staging or next? I agree. This will reduce stuttering for everyone, especially those who think the

[PATCH v2] drm/i915: change i915_sw_fence license to MIT

2018-11-28 Thread Jonathan Gray
Change the license of the i915_sw_fence files to MIT matching most of the other i915 files. This makes it possible to use them in a new port of i915 to OpenBSD. Besides some mechanical tree wide changes Chris Wilson is the sole author of these files with Intel holding the copyright. Intel's

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108317 Timothy Arceri changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #18 from Timothy

[Bug 106287] 18.0.1 introduced glitches in Dying Light

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106287 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Nouveau] 4.20.0-rc3 nouveau/Quadro P2000 Mobile: runpm causing ACPI errors, lockups

2018-11-28 Thread Michael S. Tsirkin
On Thu, Nov 29, 2018 at 12:21:31AM +0100, Karol Herbst wrote: > this was already debugged and there is no point in searching inside > the Firmware. It's not a firmware bug or anything. > > The proper fix is to do something inside Nouveau so that we don't > upset the device and being able to

[Bug 107990] Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box?

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107990 Timothy Arceri changed: What|Removed |Added CC||henrik.hol...@gmail.com --- Comment

[PATCH AUTOSEL 4.19 27/68] drm/amdgpu: Add amdgpu "max bpc" connector property (v2)

2018-11-28 Thread Sasha Levin
From: Nicholas Kazlauskas [ Upstream commit 69756c6ff0de478c10100481f16c966dde3b5339 ] [Why] Many panels support more than 8bpc but some modes are unavailable while running at greater than 8bpc due to DP/HDMI bandwidth constraints. Support for more than 8bpc was added recently in the driver

[PATCH AUTOSEL 4.19 28/68] drm/amd/display: Support amdgpu "max bpc" connector property (v2)

2018-11-28 Thread Sasha Levin
From: Nicholas Kazlauskas [ Upstream commit 07e3a1cfb0568b6d8d7862077029af96af6690ea ] [Why] Many panels support more than 8bpc but some modes are unavailable while running at greater than 8bpc due to DP/HDMI bandwidth constraints. Support for more than 8bpc was added recently in the driver

Re: [PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations

2018-11-28 Thread Lyude Paul
On Wed, 2018-11-28 at 09:17 +0100, Daniel Vetter wrote: > On Tue, Nov 27, 2018 at 08:44:14PM -0500, Lyude Paul wrote: > > On Tue, 2018-11-27 at 20:44 +0100, Daniel Vetter wrote: > > > > We could do this the other way around so it looks like this maybe > > > > struct kref; /* manages kfree() */

Re: [PATCH v8 3/7] mm, devm_memremap_pages: Fix shutdown handling

2018-11-28 Thread Dan Williams
On Tue, Nov 27, 2018 at 1:44 PM Logan Gunthorpe wrote: > > Hey Dan, > > On 2018-11-20 4:13 p.m., Dan Williams wrote: > > The last step before devm_memremap_pages() returns success is to > > allocate a release action, devm_memremap_pages_release(), to tear the > > entire setup down. However, the

[Bug 105725] WARNING: CPU: 0 PID: 487 at drivers/gpu/drm/amd/amdgpu/../display /dc/gpio/gpio_base.c:64 dal_gpio_open_ex+0xc/0x30 [amdgpu]

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105725 --- Comment #15 from Petr Cvek --- (In reply to hjpriester from comment #14) > I am now running 4.19.4 and did not get the messages anymore. > The messages where there from 4.5.11 to 4.18.16 I've got the warnings with vanilla 4.20-rc2

[Bug 108572] Could not start gimp (probably due to opencl)

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108572 --- Comment #3 from Timothy Arceri --- If you build radeonsi with debug sysmbols i.e. use --enable-debug you should be able to run gimp in gdb and see exactly were the segfault is. Could be as simple as a NULL check missing somewhere. -- You

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108317 --- Comment #19 from John --- This is a problem with mesa master, I've never used mild myself and still have the issue. -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH v2 1/1] drm: msm: Replace dma_map_sg with dma_sync_sg*

2018-11-28 Thread Rob Clark
On Wed, Nov 28, 2018 at 2:39 AM Christoph Hellwig wrote: > > > + /* > > + * dma_sync_sg_*() flush the physical pages, so point > > + * sg->dma_address to the physical ones for the right > > behavior. > > + */ > > +

[Bug 93826] 2560x1440 @144Hz graphic glitches and bad refresh rate

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93826 --- Comment #79 from Timo Gurr --- Just like Scott Mereau posted before I also run into the problem with a FreeSync monitor @75Hz with the default power_dpm_force_performance_level set to auto. Manually setting it to high works around the

RE: [v4 2/3] drm: Add DP colorspace property

2018-11-28 Thread Shankar, Uma
>-Original Message- >From: Brian Starkey [mailto:brian.star...@arm.com] >Sent: Wednesday, November 28, 2018 5:12 PM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >Lankhorst, >Maarten ; Syrjala, Ville >; >Sharma, Shashank ; jo...@kwiboo.se;

[Bug 108825] Regression Raven Ridge: Banding on eDP display

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108825 --- Comment #6 from Nicholas Kazlauskas --- (In reply to Samantha McVey from comment #5) > I have bisected it to commit: drm/amd/display: Support amdgpu "max bpc" > connector property > 307638884f721b02b6a54ee8b351c5b4434bd4a6 Author: Nicholas

[Bug 108781] 4.19 Regression - Hawaii (R9 390) boot failure - Invalid PCC GPIO / invalid powerlevel state / Fatal error during GPU init

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108781 --- Comment #29 from pascalp --- For me it is the other way round: With my 290x I used to boot fine under 4.18 without amdgpu.dpm set at all. After updating to 4.19 and being unable to boot I read that amdgpu.dpm defaults to "enabled" so I

[PATCH libdrm 5/5] add syncobj timeline tests v2

2018-11-28 Thread Christian König
From: Chunming Zhou v2: drop DRM_SYNCOBJ_CREATE_TYPE_TIMELINE, fix timeout calculation, fix some warnings Signed-off-by: Chunming Zhou Signed-off-by: Christian König --- tests/amdgpu/Makefile.am | 3 +- tests/amdgpu/amdgpu_test.c | 12 ++ tests/amdgpu/amdgpu_test.h | 21

[PATCH 05/11] drm/syncobj: remove drm_syncobj_cb and cleanup

2018-11-28 Thread Christian König
This completes "drm/syncobj: Drop add/remove_callback from driver interface" and cleans up the implementation a bit. Signed-off-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 91 ++- include/drm/drm_syncobj.h | 21 -- 2 files changed,

[PATCH libdrm 2/5] addr cs chunk for syncobj timeline

2018-11-28 Thread Christian König
From: Chunming Zhou Signed-off-by: Chunming Zhou --- include/drm/amdgpu_drm.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 1ceec56d..a3c067dd 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -517,6

[PATCH libdrm 3/5] add timeline wait/query ioctl v2

2018-11-28 Thread Christian König
From: Chunming Zhou v2: drop export/import Signed-off-by: Chunming Zhou --- xf86drm.c | 44 xf86drm.h | 8 2 files changed, 52 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index 71ad54ba..afa2f466 100644 --- a/xf86drm.c +++

[PATCH libdrm 4/5] wrap syncobj timeline query/wait APIs for amdgpu v3

2018-11-28 Thread Christian König
From: Chunming Zhou v2: symbos are stored in lexical order. v3: drop export/import and extra query indirection Signed-off-by: Chunming Zhou Signed-off-by: Christian König --- amdgpu/amdgpu-symbol-check | 2 ++ amdgpu/amdgpu.h| 39 +++

[PATCH libdrm 1/5] new syncobj extension v2

2018-11-28 Thread Christian König
From: Chunming Zhou v2: drop not implemented IOCTLs and flags Signed-off-by: Chunming Zhou Signed-off-by: Christian König --- include/drm/drm.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/drm/drm.h b/include/drm/drm.h index 85c685a2..34f1e3f9 100644

Re: [PATCH] drm/fbdev: Make skip_vt_switch the default

2018-11-28 Thread Heiko Stübner
Am Dienstag, 27. November 2018, 18:34:24 CET schrieb Daniel Vetter: > KMS drivers really should all be able to restore their display state > on resume without fbcon helping out. So make this the default. > > Since I'm not entirely foolish, make it only a default, which drivers > can still

[PATCH 2/2] drm/tegra: dc: Don't clean up unused display controller

2018-11-28 Thread Thierry Reding
From: Thierry Reding Display controllers that don't own any windows and which therefore aren't currently being assigned a primary plane are not registered as a CRTC with the DRM framework. They request neither a syncpoint nor an interrupt because they don't use them, so avoid cleaning up those

[PATCH 1/2] drm/tegra: hub: Enable all required clocks

2018-11-28 Thread Thierry Reding
From: Thierry Reding The display architecture on Tegra186 and Tegra194 requires that there be some valid clock on all domains before accessing any display register. A further requirement is that in addition to the host1x, hub, disp and dsc clocks, all the head clocks (pclk0-2 on Tegra186 or

[PATCH 03/11] drm: revert "expand replace_fence to support timeline point v2"

2018-11-28 Thread Christian König
This reverts commit 9a09a42369a4a37a959c051d8e1a1f948c1529a4. The whole interface isn't thought through. Since this function can't fail we actually can't allocate an object to store the sync point. Sorry, I should have taken the lead on this from the very beginning and reviewed it more

[PATCH 07/11] drm/syncobj: add support for timeline point wait v7

2018-11-28 Thread Christian König
From: Chunming Zhou points array is one-to-one match with syncobjs array. v2: add seperate ioctl for timeline point wait, otherwise break uapi. v3: userspace can specify two kinds waits:: a. Wait for time point to be completed. b. and wait for time point to become available v4: rebase v5: add

[PATCH 10/11] drm/amdgpu: add timeline support in amdgpu CS v2

2018-11-28 Thread Christian König
From: Chunming Zhou syncobj wait/signal operation is appending in command submission. v2: separate to two kinds in/out_deps functions Signed-off-by: Chunming Zhou Cc: Daniel Rakos Cc: Jason Ekstrand Cc: Bas Nieuwenhuizen Cc: Dave Airlie Cc: Christian König Cc: Chris Wilson ---

[PATCH 06/11] drm/syncobj: add new drm_syncobj_add_point interface v2

2018-11-28 Thread Christian König
Use the dma_fence_chain object to create a timeline of fence objects instead of just replacing the existing fence. v2: rebase and cleanup Signed-off-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 37 + include/drm/drm_syncobj.h | 5 + 2

[PATCH 11/11] drm/amdgpu: update version for timeline syncobj support in amdgpu

2018-11-28 Thread Christian König
From: Chunming Zhou Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 90f474f98b6e..316bfc1a6a75 100644 ---

[PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-11-28 Thread Christian König
Lockless container implementation similar to a dma_fence_array, but with only two elements per node and automatic garbage collection. v2: properly document dma_fence_chain_for_each, add dma_fence_chain_find_seqno, drop prev reference during garbage collection if it's not a chain fence.

[PATCH 09/11] drm/syncobj: use the timeline point in drm_syncobj_find_fence v3

2018-11-28 Thread Christian König
Implement finding the right timeline point in drm_syncobj_find_fence. v2: return -EINVAL when the point is not submitted yet. v3: fix reference counting bug, add flags handling as well Signed-off-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 43

[PATCH 08/11] drm/syncobj: add timeline payload query ioctl v4

2018-11-28 Thread Christian König
From: Chunming Zhou user mode can query timeline payload. v2: check return value of copy_to_user v3: handle querying entry by entry v4: rebase on new chain container, simplify interface Signed-off-by: Chunming Zhou Cc: Daniel Rakos Cc: Jason Ekstrand Cc: Bas Nieuwenhuizen Cc: Dave Airlie

[PATCH 04/11] drm/syncobj: use only a single stub fence

2018-11-28 Thread Christian König
Extract of useful code from the timeline work. Let's use just a single stub fence instance instead of allocating a new one all the time. Signed-off-by: Chunming Zhou Signed-off-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 67 ++- 1 file

Re: 4.20.0-rc3 nouveau/Quadro P2000 Mobile: runpm causing ACPI errors, lockups

2018-11-28 Thread Michael S. Tsirkin
On Wed, Nov 28, 2018 at 01:08:57PM +0200, Mika Westerberg wrote: > On Tue, Nov 27, 2018 at 09:49:44PM -0500, Michael S. Tsirkin wrote: > > On Tue, Nov 27, 2018 at 11:36:50AM +0200, Mika Westerberg wrote: > > > +linux-acpi > > > > > > Hi Michael, > > > > > > On Mon, Nov 26, 2018 at 10:53:26PM

[Bug 108889] [CI][SHARDS] igt@sw_sync@sync_busy_fork_unixsocket - incomplete - __igt_fork_helper: Assertion `!proc->running' failed.

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108889 Martin Peres changed: What|Removed |Added Whiteboard||ReadyForDev Priority|medium

Re: [v4 2/3] drm: Add DP colorspace property

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

Re: [PATCH 3/3] drm: Add DRM_MODESET_LOCK_BEGIN/END helpers

2018-11-28 Thread Sean Paul
On Wed, Nov 28, 2018 at 10:01:07AM +0100, Daniel Vetter wrote: > On Tue, Nov 27, 2018 at 05:46:40PM -0500, Sean Paul wrote: > > From: Sean Paul > > > > This patch adds a couple of helpers to remove the boilerplate involved > > in grabbing all of the modeset locks. > > > > I've also converted

[PATCH 2/2] drm/virtio: virtio_gpu_cmd_resource_create_3d: drop unused fence arg

2018-11-28 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.h | 3 +-- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 2 +- drivers/gpu/drm/virtio/virtgpu_vq.c| 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h

[PATCH 1/2] drm/virtio: fence: pass plain pointer

2018-11-28 Thread Gerd Hoffmann
Since commit "9fdd90c0f4 drm/virtio: add virtio_gpu_alloc_fence()" fences are not allocated any more by virtio_gpu_fence_emit(). So there is no need to pass down a reference to the fence pointer, a plain pointer is enough now. Convert virtio_gpu_fence_emit() and callers. Signed-off-by: Gerd

[PATCH 0/2] drm/virtio: fence cleanups

2018-11-28 Thread Gerd Hoffmann
Gerd Hoffmann (2): drm/virtio: fence: pass plain pointer drm/virtio: virtio_gpu_cmd_resource_create_3d: drop unused fence arg drivers/gpu/drm/virtio/virtgpu_drv.h | 15 +++ drivers/gpu/drm/virtio/virtgpu_fence.c | 10 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 10

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

2018-11-28 Thread Heiko Stübner
Hi Souptick, Am Montag, 26. November 2018, 06:36:42 CET schrieb Souptick Joarder: > On Thu, Nov 15, 2018 at 9:14 PM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > > memory to user vma. > > > > Signed-off-by: Souptick Joarder > > Any feedback for this

Re: [PATCH] drm/msm/dpu: set geometry for iommu domain

2018-11-28 Thread Jordan Crouse
On Tue, Nov 27, 2018 at 03:58:13PM -0800, Jeykumar Sankaran wrote: > Specify geometry for DPU iommu domain which sets > the address space for gem allocations. > > Signed-off-by: Jeykumar Sankaran > Suggested-by: Jordan Crouse > Suggested-by: Vivek Gautam There is a lot of confusion

[PATCH] fbdev: uvesafb: fix spelling mistake "memoery" -> "memory"

2018-11-28 Thread Colin King
From: Colin Ian King There is a spelling mistake in the module parameter description, fix it. Signed-off-by: Colin Ian King --- drivers/video/fbdev/uvesafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/uvesafb.c b/drivers/video/fbdev/uvesafb.c index

Re: [v4 1/3] drm: Add HDMI colorspace property

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

[PATCH] fbdev: uvesafb: fix spelling mistake "memoery" -> "memory"

2018-11-28 Thread Colin King
From: Colin Ian King There is a spelling mistake in the module parameter description, fix it. Signed-off-by: Colin Ian King --- drivers/video/fbdev/uvesafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/uvesafb.c b/drivers/video/fbdev/uvesafb.c index

[Bug 108889] [CI][SHARDS] igt@sw_sync@sync_busy_fork_unixsocket - incomplete - __igt_fork_helper: Assertion `!proc->running' failed.

2018-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108889 Bug ID: 108889 Summary: [CI][SHARDS] igt@sw_sync@sync_busy_fork_unixsocket - incomplete - __igt_fork_helper: Assertion `!proc->running' failed. Product: DRI

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-28 Thread Heiko Stübner
Am Donnerstag, 15. November 2018, 16:45:30 CET schrieb Souptick Joarder: > Previouly drivers have their own way of mapping range of > kernel pages/memory into user vma and this was done by > invoking vm_insert_page() within a loop. > > As this pattern is common across different drivers, it can >

  1   2   >