[Bug 110571] GPU Passthrough of Vega 56 GPU hangs on KVM start.

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110571 Bug ID: 110571 Summary: GPU Passthrough of Vega 56 GPU hangs on KVM start. Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity:

Re: [PATCH v3 3/3] backlight: lm3630a: add firmware node support

2019-05-01 Thread Pavel Machek
Hi! > > @@ -396,13 +506,20 @@ static int lm3630a_probe(struct i2c_client *client, > > GFP_KERNEL); > > if (pdata == NULL) > > return -ENOMEM; > > + > > /* default values */ > > - pdata->leda_ctrl =

Re: [PATCH v2] drm: introduce a capability flag for syncobj timeline support

2019-05-01 Thread Lionel Landwerlin
On 16/04/2019 20:53, Dave Airlie wrote: On Tue, 16 Apr 2019 at 22:58, Lionel Landwerlin wrote: Unfortunately userspace users of this API cannot be publicly disclosed yet. This commit effectively disables timeline syncobj ioctls for all drivers. Each driver wishing to support this feature will

nouveau-next 5.2

2019-05-01 Thread Ben Skeggs
Hey Dave, No major changes ready for this round, but a few misc fixes instead. Ben. The following changes since commit 7c13e5cc2391950541f41fc9ab0336aae77c7f63: Merge tag 'drm-intel-next-fixes-2019-04-25' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2019-04-26 11:35:59

[PATCH v14 04/17] mm: add ksys_ wrappers to memory syscalls

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch adds ksys_ wrappers to the following memory syscalls: brk, get_mempolicy (renamed kernel_get_mempolicy

[RFC 4/4] arm64: dts: rockchip: Set the display-subsystem devfreq

2019-05-01 Thread Gaël PORTAY
Use the Dynamic Memory Controller as the display-subsystem's devfreq device. Signed-off-by: Gaël PORTAY --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 4 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

[RFC 3/4] clk: rockchip: merge clk-ddr in dmc devfreq driver

2019-05-01 Thread Gaël PORTAY
The Rockchip DMC devfreq driver is the only user of the Rockchip DDR clock. Both drivers perform SMC calls to the Trusted-Firmware A to run SiP services related to the DDR memory. This commit centralizes the SiP services in the DMC devfreq driver and removes the DDR clock which becomes useless.

[PATCH v14 06/17] mm: untag user pointers in do_pages_move

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. do_pages_move() is used in the implementation of the move_pages syscall. Untag user pointers in this function.

[PATCH v14 07/17] mm, arm64: untag user pointers in mm/gup.c

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. mm/gup.c provides a kernel interface that accepts user addresses and manipulates user pages directly (for example

[RFC 1/4] PM / devfreq: add devfreq_lock/unlock() functions

2019-05-01 Thread Gaël PORTAY
This patch adds the implementation for lock/unlock functions in the devfreq framework. In some situations, changing the clock rate affect other devices, and the devfreq framework needs a mean to synchronize all the drivers together. This locking API allows third-party drivers that use a devfreq

[PATCH v14 10/17] fs, arm64: untag user pointers in fs/userfaultfd.c

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. userfaultfd_register() and userfaultfd_unregister() use provided user pointers for vma lookups, which can only by

[PATCH v14 13/17] IB/mlx4, arm64: untag user pointers in mlx4_get_umem_mr

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. mlx4_get_umem_mr() uses provided user pointers for vma lookups, which can only by done with untagged pointers.

[PATCH v14 03/17] lib, arm64: untag user pointers in strn*_user

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. strncpy_from_user and strnlen_user accept user addresses as arguments, and do not go through the same path as

[PATCH v14 14/17] media/v4l2-core, arm64: untag user pointers in videobuf_dma_contig_user_get

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. videobuf_dma_contig_user_get() uses provided user pointers for vma lookups, which can only by done with untagged

Re: [PATCH] dma-buf: add struct dma_buf_attach_info v2

2019-05-01 Thread Boris Ostrovsky
On 4/30/19 7:10 AM, Christian König wrote: > diff --git a/drivers/xen/gntdev-dmabuf.c b/drivers/xen/gntdev-dmabuf.c > index 2c4f324f8626..cacca830b482 100644 > --- a/drivers/xen/gntdev-dmabuf.c > +++ b/drivers/xen/gntdev-dmabuf.c > @@ -608,6 +608,7 @@ dmabuf_imp_to_refs(struct gntdev_dmabuf_priv

[PATCH v14 11/17] drm/amdgpu, arm64: untag user pointers

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. amdgpu_ttm_tt_get_user_pages() uses provided user pointers for vma lookups, which can only by done with untagged

[PATCH v14 05/17] arms64: untag user pointers passed to memory syscalls

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch allows tagged pointers to be passed to the following memory syscalls: brk, get_mempolicy, madvise, mbind,

[PATCH v14 01/17] uaccess: add untagged_addr definition for other arches

2019-05-01 Thread Andrey Konovalov
To allow arm64 syscalls to accept tagged pointers from userspace, we must untag them when they are passed to the kernel. Since untagging is done in generic parts of the kernel, the untagged_addr macro needs to be defined for all architectures. Define it as a noop for architectures other than

[RFC 2/4] drm: rockchip: Add DDR devfreq support.

2019-05-01 Thread Gaël PORTAY
This commit adds the support for devfreq to control the DDR frequency dynamically. Glitches affect the display when the DMC devfreq device changes the DDR frequency during the scanout. The DRM driver synchronizes the rate change within the VBLANK. The VOP locks the DMC devfreq device that causes

[PATCH v14 09/17] fs, arm64: untag user pointers in copy_mount_options

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. In copy_mount_options a user address is being subtracted from TASK_SIZE. If the address is lower than TASK_SIZE, the

[PATCH v14 15/17] tee, arm64: untag user pointers in tee_shm_register

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. tee_shm_register()->optee_shm_unregister()->check_mem_type() uses provided user pointers for vma lookups (via

[PATCH v14 00/17] arm64: untag user pointers passed to the kernel

2019-05-01 Thread Andrey Konovalov
=== Overview arm64 has a feature called Top Byte Ignore, which allows to embed pointer tags into the top byte of each pointer. Userspace programs (such as HWASan, a memory debugging tool [1]) might use this feature and pass tagged user pointers to the kernel through syscalls or other interfaces.

[PATCH v14 12/17] drm/radeon, arm64: untag user pointers

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. radeon_ttm_tt_pin_userptr() uses provided user pointers for vma lookups, which can only by done with untagged

[PATCH v14 02/17] arm64: untag user pointers in access_ok and __uaccess_mask_ptr

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. copy_from_user (and a few other similar functions) are used to copy data from user memory into the kernel memory or

[PATCH v14 08/17] mm, arm64: untag user pointers in get_vaddr_frames

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. get_vaddr_frames uses provided user pointers for vma lookups, which can only by done with untagged pointers. Instead

[PATCH v14 17/17] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. This patch adds a simple test, that calls the uname syscall with a tagged user pointer as an argument. Without the

[PATCH v14 16/17] vfio/type1, arm64: untag user pointers in vaddr_get_pfn

2019-05-01 Thread Andrey Konovalov
This patch is a part of a series that extends arm64 kernel ABI to allow to pass tagged user pointers (with the top byte set to something else other than 0x00) as syscall arguments. vaddr_get_pfn() uses provided user pointers for vma lookups, which can only by done with untagged pointers. Untag

[RFC 0/4] Add support for drm/rockchip to dynamically control the DDR frequency within vblank for gru chromebooks.

2019-05-01 Thread Gaël PORTAY
Dear all, The purpose of that RFC is to enable de DMC device for the Rockchip based GRU Chromebooks, and to add a mean of synchronization between the Rockchip DRM driver and that DMC devfreq driver. The DMC device is responsible for updating the DDR frequency according to the load of the DDR

Re: [PATCH v2] drm: introduce a capability flag for syncobj timeline support

2019-05-01 Thread Koenig, Christian
Am 01.05.2019 11:00 schrieb Lionel Landwerlin : [CAUTION: External Email] On 16/04/2019 20:53, Dave Airlie wrote: > On Tue, 16 Apr 2019 at 22:58, Lionel Landwerlin > wrote: >> Unfortunately userspace users of this API cannot be publicly disclosed >> yet. >> >> This commit effectively disables

[PATCH 1/2] drm/panel: simple: Add FriendlyELEC HD702E 800x1280 LCD panel

2019-05-01 Thread Jagan Teki
HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 resolution. It has built in Goodix, GT9271 captive touchscreen with backlight adjustable via PWM. Add support for it. Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org

[RFC PATCH 2/5] cgroup: Change kernfs_node for directories to store cgroup_subsys_state

2019-05-01 Thread Brian Welty
Change the kernfs_node.priv to store the cgroup_subsys_state (CSS) pointer for directories, instead of storing cgroup pointer. This is done in order to support files within the cgroup associated with devices. We require of_css() to return the device-specific CSS pointer for these files. Cc:

[RFC PATCH 3/5] memcg: Add per-device support to memory cgroup subsystem

2019-05-01 Thread Brian Welty
Here we update memory cgroup to enable the newly introduced per-device framework. As mentioned in the prior patch, the intent here is to allow drivers to have their own private cgroup controls (such as memory limit) to be applied to device resources instead of host system resources. In summary,

[RFC PATCH 5/5] drm/i915: Use memory cgroup for enforcing device memory limit

2019-05-01 Thread Brian Welty
i915 driver now includes DRIVER_CGROUPS in feature bits. To charge device memory allocations, we need to (1) identify appropriate cgroup to charge (currently decided at object creation time), and (2) make the charging call at the time that memory pages are being allocated. For (1), see prior DRM

[RFC PATCH 1/5] cgroup: Add cgroup_subsys per-device registration framework

2019-05-01 Thread Brian Welty
In containerized or virtualized environments, there is desire to have controls in place for resources that can be consumed by users of a GPU device. For this purpose, we extend control groups with a mechanism for device drivers to register with cgroup subsystems. Device drivers (GPU or other) are

[RFC PATCH 4/5] drm: Add memory cgroup registration and DRIVER_CGROUPS feature bit

2019-05-01 Thread Brian Welty
With new cgroups per-device framework, registration with memory cgroup subsystem can allow us to enforce limit for allocation of device memory against process cgroups. This patch adds new driver feature bit, DRIVER_CGROUPS, such that DRM will register the device with cgroups. Doing so allows

[RFC PATCH 0/5] cgroup support for GPU devices

2019-05-01 Thread Brian Welty
In containerized or virtualized environments, there is desire to have controls in place for resources that can be consumed by users of a GPU device. This RFC patch series proposes a framework for integrating use of existing cgroup controllers into device drivers. The i915 driver is updated in

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #19 from Ilia Mirkin --- (In reply to Christian Zigotzky from comment #17) > Please note: This is a bug report from an enduser. Endusers aren't able to > git bisect. They use the distributions for their daily work. I don't have >

Re: [PATCH v2] drm: introduce a capability flag for syncobj timeline support

2019-05-01 Thread Dave Airlie
On Wed, 1 May 2019, 19:24 Koenig, Christian, wrote: > > > Am 01.05.2019 11:00 schrieb Lionel Landwerlin < > lionel.g.landwer...@intel.com>: > > [CAUTION: External Email] > > On 16/04/2019 20:53, Dave Airlie wrote: > > On Tue, 16 Apr 2019 at 22:58, Lionel Landwerlin > > wrote: > >> Unfortunately

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #17 from Christian Zigotzky --- (In reply to Alex Deucher from comment #4) > Hardly anything in the radeon driver has changed in the last few years. > You'd really need to bisect. Also, can you attach a full dmesg (full logs > not

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #18 from Christian Zigotzky --- Did you modify the behaviour of the initialisation of two graphics cards in the DRM updates 'drm-next-2018-12-14' [1]? [1]

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #20 from Alex Deucher --- (In reply to Christian Zigotzky from comment #17) > (In reply to Alex Deucher from comment #4) > > Hardly anything in the radeon driver has changed in the last few years. > > You'd really need to bisect.

[Bug 203471] New: Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203471 Bug ID: 203471 Summary: Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled Product: Drivers Version: 2.5 Kernel Version: 5.1 rc6 Hardware: All

[Bug 203473] New: ring gfx timeout when returning from suspension

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203473 Bug ID: 203473 Summary: ring gfx timeout when returning from suspension Product: Drivers Version: 2.5 Kernel Version: 5.x Hardware: x86-64 OS: Linux Tree:

[Bug 203473] ring gfx timeout when waking from suspension

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203473 Bruno Miguel (brunoalexandremig...@gmail.com) changed: What|Removed |Added Summary|ring gfx timeout when |ring gfx

[Bug 110574] System hang after screen power saving

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110574 --- Comment #2 from Joakim --- I forgot to mention that the bug is circumvented if vertical synchronisation is disabled in the XFCE compositor. -- You are receiving this mail because: You are the assignee for the

[PULL] drm-misc-next-fixes

2019-05-01 Thread Sean Paul
Hi Da.*, Quiet week since the last PR, I'd say we're ready for the merge window! drm-misc-next-fixes-2019-05-01: core: restore drm mmap_range size back to 1TB (Philip) sphinx: squash warning (Sean) Cc: Philip Yang Cc: Sean Paul Cheers, Sean The following changes since commit

[Bug 110510] Radeon VII HDMI issues: Flicking/system crashing

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110510 --- Comment #5 from Tom B --- Having swapped my HDMI monitor to use DisplayPort, everything is now perfectly fine. Both monitors work entirely as expected, no flickering or system freezes. -- You are receiving this mail because: You are the

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-01 Thread Eric Anholt
Boris Brezillon writes: > +Rob, Eric, Mark and more > > Hi, > > On Fri, 5 Apr 2019 16:20:45 +0100 > Steven Price wrote: > >> On 04/04/2019 16:20, Boris Brezillon wrote: >> > Hello, >> > >> > This patch adds new ioctls to expose GPU counters to userspace. >> > These will be used by the mesa

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #22 from Christian Zigotzky --- Edit: typo Again. Did you modify the behaviour of the initialisation of two graphics cards in the DRM updates 'drm-next-2018-12-14'? If you say no, then I can look in the PowerPC updates. You need to

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #23 from Alex Deucher --- (In reply to Christian Zigotzky from comment #22) > Again. Did you modify the behaviour of the initialisation of two graphics > cards in the DRM updates 'drm-next-2018-12-14'? If you say no, then I can >

Re: [PATCH 1/2] drm/panel: simple: Add FriendlyELEC HD702E 800x1280 LCD panel

2019-05-01 Thread Sam Ravnborg
Hi Jagan On Wed, May 01, 2019 at 05:44:47PM +0530, Jagan Teki wrote: > HD702E lcd is FriendlyELEC developed eDP LCD panel with 800x1280 > resolution. It has built in Goodix, GT9271 captive touchscreen > with backlight adjustable via PWM. > > Add support for it. > > Cc: Thierry Reding > Cc: Sam

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #21 from Christian Zigotzky --- Again. Did you modify the behaviour of the initialisation of two graphics cards in the DRM updates 'drm-next-2018-12-14'? If you say no, than I can look in the PowerPC updates. You need to know if

[Bug 201273] Fatal error during GPU init amdgpu RX560

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 Marco (rodomar...@protonmail.com) changed: What|Removed |Added CC|

[Bug 110574] System hang after screen power saving

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110574 Bug ID: 110574 Summary: System hang after screen power saving Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 110574] System hang after screen power saving

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110574 --- Comment #1 from Joakim --- My current kernel version in Ubuntu: 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the

[Bug 201273] Fatal error during GPU init amdgpu RX560

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 --- Comment #49 from Alex Deucher (alexdeuc...@gmail.com) --- Can you still log in remotely via ssh and get an updated dmesg? If it's a blank screen, can you try another display connector on the board? The amdgpu.dc option switches between the

[Bug 203471] Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203471 --- Comment #1 from Haxk20 (haxk...@gmail.com) --- Created attachment 282573 --> https://bugzilla.kernel.org/attachment.cgi?id=282573=edit dmesg -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH v2 01/17] kunit: test: add KUnit test runner core

2019-05-01 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call

[PATCH v2 02/17] kunit: test: add test resource management API

2019-05-01 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test

[PATCH v2 03/17] kunit: test: add string_stream a std::stream like string builder

2019-05-01 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. Signed-off-by: Brendan Higgins ---

[PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-01 Thread Brendan Higgins
## TLDR I rebased the last patchset on 5.1-rc7 in hopes that we can get this in 5.2. Shuah, I think you, Greg KH, and myself talked off thread, and we agreed we would merge through your tree when the time came? Am I remembering correctly? ## Background This patch set proposes KUnit, a

[Bug 203471] Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled

2019-05-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203471 --- Comment #2 from Haxk20 (haxk...@gmail.com) --- Created attachment 282575 --> https://bugzilla.kernel.org/attachment.cgi?id=282575=edit journalctl If you need anything more please tell me. -- You are receiving this mail because: You are

[Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110443 --- Comment #8 from Julien Isorce --- Thx a lot for reporting this issue. It should fallback to previous path for r600, at least, I will take a look. -- You are receiving this mail because: You are the assignee for the

[PATCH v2 15/17] MAINTAINERS: add entry for KUnit the unit testing framework

2019-05-01 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5c38f21aee787..c78ae95c56b80 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests

2019-05-01 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the

[PATCH v2 14/17] Documentation: kunit: add documentation for KUnit

2019-05-01 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins --- Documentation/index.rst | 1 + Documentation/kunit/api/index.rst | 16 ++

[PATCH v2 17/17] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-05-01 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section. Signed-off-by: Brendan Higgins --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c78ae95c56b80..23cc97332c3d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12524,6

[PATCH v2 13/17] kunit: defconfig: add defconfigs for building KUnit tests

2019-05-01 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins --- arch/um/configs/kunit_defconfig | 8

[Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110443 --- Comment #9 from Julien Isorce --- I think it is missing a: "if (screen->resource_get_info)" here https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/gallium/state_trackers/va/image.c#L254 -- You are receiving this mail because: You

[PATCH v2 07/17] kunit: test: add initial tests

2019-05-01 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins --- kunit/Kconfig | 12 ++ kunit/Makefile | 4 ++ kunit/example-test.c | 88 ++ kunit/string-stream-test.c | 61

[PATCH v2 08/17] kunit: test: add support for test abort

2019-05-01 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test.

[PATCH v2 05/17] kunit: test: add the concept of expectations

2019-05-01 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins --- include/kunit/test.h | 419 +++ kunit/test.c | 34 2 files changed, 453 insertions(+) diff --git

[PATCH v2 10/17] kunit: test: add the concept of assertions

2019-05-01 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v2 11/17] kunit: test: add test managed resource tests

2019-05-01 Thread Brendan Higgins
From: Avinash Kondareddy Tests how tests interact with test managed resources in their lifetime. Signed-off-by: Avinash Kondareddy Signed-off-by: Brendan Higgins --- kunit/test-test.c | 122 ++ 1 file changed, 122 insertions(+) diff --git

[PATCH v2 06/17] kbuild: enable building KUnit

2019-05-01 Thread Brendan Higgins
Add KUnit to root Kconfig and Makefile allowing it to actually be built. Signed-off-by: Brendan Higgins --- Kconfig | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 48a80beab6853..10428501edb78 100644 --- a/Kconfig +++ b/Kconfig @@

[PATCH v2 04/17] kunit: test: add kunit_stream a std::stream like logger

2019-05-01 Thread Brendan Higgins
A lot of the expectation and assertion infrastructure prints out fairly complicated test failure messages, so add a C++ style log library for for logging test results. Signed-off-by: Brendan Higgins --- include/kunit/kunit-stream.h | 85 include/kunit/test.h | 2

[PATCH v2 09/17] kunit: test: add tests for kunit test abort

2019-05-01 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins --- kunit/Makefile| 3 +- kunit/test-test.c | 135

[PATCH v2 16/17] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-05-01 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins --- kernel/Makefile | 2 + kernel/sysctl-test.c

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 Bug ID: 110575 Summary: [R9 380X] Artifacts in CSGO Product: Mesa Version: git Hardware: Other OS: Linux (All) Status: NEW Severity: normal

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #40 from Jay Fitzpatrick --- Issue still present on Fedora30 with Kernel 5.0.9-301.fc30.x86_64 Workaround sudo mv /usr/lib/firmware/amdgpu/raven_dmcu.bin /home/XXX/ sudo dracut -f --kver 5.0.9-301.fc30.x86_64 Tested and working

[Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110443 Viktor Jägersküpper changed: What|Removed |Added CC||viktor_jaegerskuepper@freen

[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 --- Comment #7 from babblebo...@gmail.com --- Created attachment 144124 --> https://bugs.freedesktop.org/attachment.cgi?id=144124=edit Dmesg drm.debug=4 Funny enough it complains about missing EDID in this one too. May not even be the issue

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #41 from Talha Khan --- Thanks for the update Jay. Did you upgrade or do a fresh install? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #24 from Christian Zigotzky --- (In reply to Alex Deucher from comment #23) > (In reply to Christian Zigotzky from comment #22) > > Again. Did you modify the behaviour of the initialisation of two graphics > > cards in the DRM