Re: [git pull] drm for 5.2-rc1

2019-05-09 Thread Gerd Hoffmann
Hi, > The one to the virtgpu driver, I really don't know if is needed any > more. I suspect I completely unnecessarily merged that > virtgpu_gem_prime_import_sg_table() function that came in because I > decided to do the merge of the revert. > > It's a trivial function that just returns an erro

[PATCH RFC v2 0/6] ARM: qcom: initial Nexus 5 display support

2019-05-09 Thread Brian Masney
Here is a patch series that adds initial display support for the LG Nexus 5 (hammerhead) phone. It's not fully working so that's why some of these patches are RFC until we can get it fully working. The phones boots into terminal mode, however there is a several second (or more) delay when writing

Re: [PATCH RFC 4/6] ARM: dts: msm8974: add display support

2019-05-09 Thread Brian Masney
On Mon, May 06, 2019 at 11:39:02PM -0700, Bjorn Andersson wrote: > On Sun 05 May 06:04 PDT 2019, Brian Masney wrote: > > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi > > b/arch/arm/boot/dts/qcom-msm8974.dtsi > [..] > > + clocks = <&mmcc MDSS_MDP_CLK>, > > +

[PATCH 3/3] drm/bridge: it6505 driver add char device feature.

2019-05-09 Thread allen
From: Allen Chen This add can let us find it6505 char device in the /dev file and use read/write function to let the driver be hold. Signed-off-by: Allen Chen --- drivers/gpu/drm/bridge/ite-it6505.c | 131 1 file changed, 131 insertions(+) diff --git a/d

[PATCH 03/16] lib,treewide: add new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
This change re-introduces `match_string()` as a macro that uses ARRAY_SIZE() to compute the size of the array. The macro is added in all the places that do `match_string(_a, ARRAY_SIZE(_a), s)`, since the change is pretty straightforward. Signed-off-by: Alexandru Ardelean --- drivers/clk/bcm/clk

[PATCH 06/16] x86/mtrr: use new match_string() helper + add gaps == minor fix

2019-05-09 Thread Alexandru Ardelean
This change is a bit more than cosmetic. It replaces 2 values in mtrr_strings with NULL. Previously, they were defined as "?", which is not great because you could technically pass "?", and you would get value 2. It's not sure whether that was intended (likely it wasn't), but this fixes that. Sig

[PATCH 09/16] mmc: sdhci-xenon: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The change is also cosmetic, but it also does a tighter coupling between the enums & the string values. This way, the ARRAY_SIZE(phy_types) that is implicitly done in the match_string() macro is also a bit safer. Signed-off-by: Alexandru Ardelean --- drivers/mmc/host/sdhci-xenon-phy.c | 12 +

[PATCH v2 5/6] ARM: dts: qcom: msm8974-hammerhead: add support for backlight

2019-05-09 Thread Brian Masney
Add necessary device tree nodes for the main LCD backlight. Signed-off-by: Brian Masney Reviewed-by: Linus Walleij --- This requires this series that should be merged soon: https://lore.kernel.org/lkml/20190424092505.6578-1-masn...@onstation.org/ The device tree bindings have been reviewed. The

RE: [PATCH v2 4/7] lib/hexdump.c: Replace ascii bool in hex_dump_to_buffer with flags

2019-05-09 Thread Alastair D'Silva
> -Original Message- > From: David Laight > Sent: Wednesday, 8 May 2019 7:20 PM > To: 'Alastair D'Silva' ; alast...@d-silva.org > Cc: Jani Nikula ; Joonas Lahtinen > ; Rodrigo Vivi ; > David Airlie ; Daniel Vetter ; Dan > Carpenter ; Karsten Keil pingi.de>; Jassi Brar ; Tom Lendacky > ; D

[PATCH 07/16] device connection: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `device_connection` struct is defined as: struct device_connection { struct fwnode_handle*fwnode; const char *endpoint[2]; const char *id; struct list_headlist; }; The `endpoint` member is a static array of strings (on the s

RE: [PATCH v2 4/7] lib/hexdump.c: Replace ascii bool in hex_dump_to_buffer with flags

2019-05-09 Thread David Laight
From: Alastair D'Silva > Sent: 08 May 2019 08:02 > To: alast...@d-silva.org ... > --- a/include/linux/printk.h > +++ b/include/linux/printk.h > @@ -480,13 +480,13 @@ enum { > DUMP_PREFIX_OFFSET > }; > > -extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, > -

Re: [RESEND][PATCH v3 0/6] add LCD support for SAM9X60

2019-05-09 Thread Claudiu.Beznea
On 08.05.2019 09:23, Lee Jones wrote: > External E-Mail > > >> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 18 ++-- >> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c| 120 >> +++- >> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h| 2 + >> drivers/gpu/drm/atmel

[PATCH 04/16] powerpc/xmon: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The change is purely cosmetic at this point in time, but it does highlight the change done in lib/string.c for match_string(). Particularly for this change, if a regname is removed (replaced with NULL) in the list, the match_string() helper will continue until the end of the array and ignore the N

[PATCH v2 6/6] ARM: dts: qcom: msm8974-hammerhead: add support for display

2019-05-09 Thread Brian Masney
Add initial support for the display found on the LG Nexus 5 (hammerhead) phone. Signed-off-by: Brian Masney Reviewed-by: Linus Walleij --- Changes since v1: - None .../qcom-msm8974-lge-nexus5-hammerhead.dts| 45 +++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/bo

[PATCH] drm/amd/display: Make some functions static

2019-05-09 Thread Wang Hai
Fix the following sparse warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:483:21: warning: symbol 'dce120_clock_source_create' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:506:6: warning: symbol 'dce120_clock

[PATCH 11/16] mm/vmpressure.c: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
__match_string() is called on 2 static array of strings in this file. For this reason, the conversion to the new match_string() macro/helper, was done in this separate commit. Using the new match_string() helper is mostly a cosmetic change (at this point in time). The sizes of the arrays will be c

[PATCH 01/16] lib: fix match_string() helper when array size is positive

2019-05-09 Thread Alexandru Ardelean
The documentation the `_match_string()` helper mentions that `n` (size of the given array) should be: * @n: number of strings in the array or -1 for NULL terminated arrays The behavior of the function is different, in the sense that it exits on the first NULL element in the array, regardless of w

[PATCH 14/16] staging: gdm724x: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `DRIVER_STRING` array is a static array of strings. Using match_string() (which computes the array size via ARRAY_SIZE()) is possible. The change is mostly cosmetic. No functionality change. Signed-off-by: Alexandru Ardelean --- drivers/staging/gdm724x/gdm_tty.c | 3 +-- 1 file changed, 1 i

[PATCH 0/3] IT6505 cover letter

2019-05-09 Thread allen
The IT6505 is a high-performance DisplayPort 1.1a transmitter, fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications. The IT6505 supports color depth of up to 36 bits (12 bits/color) and ensures robust transmission of high-quality uncompressed video content, along with uncompressed and

[v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE

2019-05-09 Thread Wen He
The new LS1028A DP driver code causes a link failure when DRM_IMX built-in, but platform is ARCH_LAYERSCAPE: drivers/gpu/drm/imx/ipuv3-crtc.c:51: undefined reference to `ipu_prg_enable' drivers/gpu/drm/imx/ipuv3-crtc.c:52: undefined reference to `ipu_dc_enable' drivers/gpu/drm/imx/ipuv3-crtc.c:53:

Re: [PATCH 01/16] lib: fix match_string() helper on -1 array size

2019-05-09 Thread Ardelean, Alexandru
On Wed, 2019-05-08 at 14:28 +0300, Alexandru Ardelean wrote: > The documentation the `_match_string()` helper mentions that `n` > should be: > * @n: number of strings in the array or -1 for NULL terminated arrays > > The behavior of the function is different, in the sense that it exits on > the f

Re: [PATCH RFC 4/6] ARM: dts: msm8974: add display support

2019-05-09 Thread Brian Masney
On Wed, May 08, 2019 at 08:00:47PM -0700, Bjorn Andersson wrote: > On Wed 08 May 19:25 PDT 2019, Rob Clark wrote: > > > On Wed, May 8, 2019 at 7:16 PM Brian Masney wrote: > > > > > > On Mon, May 06, 2019 at 11:39:02PM -0700, Bjorn Andersson wrote: > > > > On Sun 05 May 06:04 PDT 2019, Brian Masne

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

2019-05-09 Thread Frank Rowand
On 5/7/19 8:23 AM, shuah wrote: > On 5/7/19 2:01 AM, Greg KH wrote: >> On Mon, May 06, 2019 at 08:14:12PM -0700, Frank Rowand wrote: >>> On 5/1/19 4:01 PM, Brendan Higgins wrote: ## TLDR I rebased the last patchset on 5.1-rc7 in hopes that we can get this in 5.2. Shuah

[PATCH 05/16] ALSA: oxygen: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The change is purely cosmetic at this point in time, but it does highlight the change done in lib/string.c for match_string(). Particularly for this change, a control mode can be removed/added at a different index/enum-value, and the match_string() helper will continue until the end of the array a

[PATCH 16/16] sched: debug: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `sched_feat_names` array is a static array of strings. Using match_string() (which computes the array size via ARRAY_SIZE()) is possible. The change is mostly cosmetic. No functionality change. Signed-off-by: Alexandru Ardelean --- kernel/sched/debug.c | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH v2 3/7] lib/hexdump.c: Optionally suppress lines of repeated bytes

2019-05-09 Thread Randy Dunlap
On 5/8/19 12:01 AM, Alastair D'Silva wrote: > From: Alastair D'Silva > > Some buffers may only be partially filled with useful data, while the rest > is padded (typically with 0x00 or 0xff). > > This patch introduces a flag to allow the supression of lines of repeated > bytes, which are replaced

Re: [PATCH 03/16] lib,treewide: add new match_string() helper/macro

2019-05-09 Thread Ardelean, Alexandru
On Wed, 2019-05-08 at 15:18 +0200, Greg KH wrote: > > > On Wed, May 08, 2019 at 04:11:28PM +0300, Andy Shevchenko wrote: > > On Wed, May 08, 2019 at 02:28:29PM +0300, Alexandru Ardelean wrote: > > > This change re-introduces `match_string()` as a macro that uses > > > ARRAY_SIZE() to compute the

[PATCH 02/16] treewide: rename match_string() -> __match_string()

2019-05-09 Thread Alexandru Ardelean
This change does a rename of match_string() -> __match_string(). There are a few parts to the intention here (with this change): 1. Align with sysfs_match_string()/__sysfs_match_string() 2. This helps to group users of `match_string()` into simple users: a. those that use ARRAY_SIZE(_a) to spec

[PATCH] sync_file: Return reasonable timestamp when merging signaled fences

2019-05-09 Thread Michael Yang
If all the sync points were signaled in both fences a and b, there was only one sync point in merged fence which is a_fence[0]. The Fence structure in android framework might be confused about timestamp if there were any sync points which were signaled after a_fence[0]. It might be more reasonable

RE: [v1] drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times

2019-05-09 Thread Wen He
> -Original Message- > From: Wen He > Sent: 2019年5月8日 17:39 > To: dri-devel@lists.freedesktop.org; liviu.du...@arm.com; > brian.star...@arm.com > Cc: Leo Li ; Wen He > Subject: [v1] drm/arm/mali-dp: Add a loop around the second set CVAL and try > 5 times > > This patch trying to fix mon

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

2019-05-09 Thread Frank Rowand
On 5/7/19 1:01 AM, Greg KH wrote: > On Mon, May 06, 2019 at 08:14:12PM -0700, Frank Rowand wrote: >> On 5/1/19 4:01 PM, Brendan Higgins wrote: >>> ## 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

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

2019-05-09 Thread Frank Rowand
Hi Ted, On 5/7/19 10:22 AM, Theodore Ts'o wrote: > On Tue, May 07, 2019 at 10:01:19AM +0200, Greg KH wrote: Not very helpful to cut the text here, plus not explicitly indicating that text was cut (yes, I know the ">>>" will be a clue for the careful reader), losing the set up for my question. >>

Re: [PATCH RFC v2 0/6] ARM: qcom: initial Nexus 5 display support

2019-05-09 Thread Brian Masney
On Wed, May 08, 2019 at 10:03:46PM -0400, Brian Masney wrote: > Here is a patch series that adds initial display support for the LG > Nexus 5 (hammerhead) phone. It's not fully working so that's why some > of these patches are RFC until we can get it fully working. > > The phones boots into termin

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

2019-05-09 Thread Randy Dunlap
Hi, On 5/1/19 4:01 PM, Brendan Higgins wrote: > 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 + >

[PATCH 00/16] treewide: fix match_string() helper when array size

2019-05-09 Thread Alexandru Ardelean
The intent of this patch series is to make a case for fixing the match_string() string helper. The doc-string of the `__sysfs_match_string()` helper mentions that `n` (the size of the given array) should be: * @n: number of strings in the array or -1 for NULL terminated arrays However, this is n

[PATCH 13/16] drm/edid: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `generic_edid_name` is a static array of strings. Using match_string() (which computes the array size via ARRAY_SIZE()) is possible. The change is mostly cosmetic. No functionality change. Signed-off-by: Alexandru Ardelean --- drivers/gpu/drm/drm_edid_load.c | 2 +- 1 file changed, 1 insert

[PATCH v2 3/6] ARM: qcom_defconfig: add display-related options

2019-05-09 Thread Brian Masney
Add the CMA (Contiguous Memory Allocator) for the MSM DRM driver, the simple panel, and the TI LM3630A driver in order to support the display on the LG Nexus 5 (hammerhead) phone. Signed-off-by: Brian Masney Reviewed-by: Linus Walleij --- Changes since v1: - None arch/arm/configs/qcom_defconfi

[PATCH 12/16] rdmacg: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `rdmacg_resource_names` array is a static array of strings. Using match_string() (which computes the array size via ARRAY_SIZE()) is possible. The change is mostly cosmetic. No functionality change. Signed-off-by: Alexandru Ardelean --- kernel/cgroup/rdma.c | 2 +- 1 file changed, 1 inserti

[PATCH RFC v2 2/6] drm: msm: add dirty framebuffer helper

2019-05-09 Thread Brian Masney
Use drm_atomic_helper_dirtyfb() as the dirty callback in the msm_framebuffer_funcs struct. Call drm_plane_enable_fb_damage_clips() when the planes are initialized in mdp4, mdp5, and dpu1. Signed-off-by: Brian Masney --- Changes since v1: - Add drm_plane_enable_fb_damage_clips() to plane init for

[v1] drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times

2019-05-09 Thread Wen He
This patch trying to fix monitor freeze issue caused by drm error 'flip_done timed out' on LS1028A platform. this set try is make a loop around the second setting CVAL and try like 5 times before giveing up. Signed-off-by: Liviu Signed-off-by: Wen He --- drivers/gpu/drm/arm/malidp_drv.c | 13 ++

[v1] drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times

2019-05-09 Thread Wen He
This patch trying to fix monitor freeze issue caused by drm error 'flip_done timed out' on LS1028A platform. this set try is make a loop around the second setting CVAL and try like 5 times before giveing up. Signed-off-by: Liviu Signed-off-by: Wen He --- drivers/gpu/drm/arm/malidp_drv.c | 13 ++

[PATCH v2 4/6] ARM: dts: msm8974: add display support

2019-05-09 Thread Brian Masney
Add the MDP5, DSI and DSI PHY blocks for the display found on the msm8974 SoCs. This is based on work from msm8916.dtsi and Jonathan Marek. Signed-off-by: Brian Masney Reviewed-by: Linus Walleij --- Changes since v1: - None arch/arm/boot/dts/qcom-msm8974.dtsi | 132

[PATCH v2 1/6] drm: msm: remove resv fields from msm_gem_object struct

2019-05-09 Thread Brian Masney
The msm_gem_object structure contains resv and _resv fields that are no longer needed since the reservation object is now stored on drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() both referenced the wrong reservation object, and would lead to an attempt to dereference a NULL po

[PATCH 15/16] video: fbdev: pxafb: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The `lcd_types` array is a static array of strings. Using match_string() (which computes the array size via ARRAY_SIZE()) is possible. This reduces the array by 1 element, since the NULL (at the end of the array) is no longer needed. Signed-off-by: Alexandru Ardelean --- drivers/video/fbdev/pxa

[PATCH 10/16] pinctrl: armada-37xx: use new match_string() helper/macro

2019-05-09 Thread Alexandru Ardelean
The change is mostly cosmetic. The `armada_37xx_pin_group` struct is defined as. struct armada_37xx_pin_group { const char *name; unsigned intstart_pin; unsigned intnpins; u32 reg_mask; u32 val[NB_FUNCS]; unsigned

[PATCH 2/3] drm/bridge: add it6505 driver

2019-05-09 Thread allen
From: Allen Chen This adds support for the iTE IT6505. This device can convert DPI signal to DP output. Signed-off-by: Jitao Shi Signed-off-by: Yilun Lin Signed-off-by: Allen Chen --- drivers/gpu/drm/bridge/Kconfig | 22 + drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/

[PATCH 01/16] lib: fix match_string() helper on -1 array size

2019-05-09 Thread Alexandru Ardelean
The documentation the `_match_string()` helper mentions that `n` should be: * @n: number of strings in the array or -1 for NULL terminated arrays The behavior of the function is different, in the sense that it exits on the first NULL element in the array, regardless of whether `n` is -1 or a posi

[PATCH 1/3] dt-bindings: Add binding for IT6505.

2019-05-09 Thread allen
From: Allen Chen Add a DT binding documentation for IT6505. Signed-off-by: Allen Chen --- .../bindings/display/bridge/ite,it6505.txt | 30 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 31 insertions(+) create mode 100644 Documenta

RE: [v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE

2019-05-09 Thread Wen He
> -Original Message- > From: Wen He > Sent: 2019年5月8日 17:42 > To: dri-devel@lists.freedesktop.org; p.za...@pengutronix.de > Cc: Leo Li ; Wen He > Subject: [v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE > > The new LS1028A DP driver code causes a link failure when DRM_IMX built-in

[PATCH 08/16] cpufreq/intel_pstate: remove NULL entry + use match_string()

2019-05-09 Thread Alexandru Ardelean
The change is mostly cosmetic. The `energy_perf_strings` array is static, so match_string() can be used (which will implicitly do a ARRAY_SIZE(energy_perf_strings)). The only small benefit here, is the reduction of the array size by 1 element. Signed-off-by: Alexandru Ardelean --- drivers/cpuf

[v1] gpu: ipu-v3: allow to build with ARCH_LAYERSCAPE

2019-05-09 Thread Wen He
The new LS1028A DP driver code causes a link failure when DRM_IMX built-in, but platform is ARCH_LAYERSCAPE: drivers/gpu/drm/imx/ipuv3-crtc.c:51: undefined reference to `ipu_prg_enable' drivers/gpu/drm/imx/ipuv3-crtc.c:52: undefined reference to `ipu_dc_enable' drivers/gpu/drm/imx/ipuv3-crtc.c:53:

Re: [PATCH 03/16] lib,treewide: add new match_string() helper/macro

2019-05-09 Thread Andy Shevchenko
On Wed, May 08, 2019 at 02:28:29PM +0300, Alexandru Ardelean wrote: > This change re-introduces `match_string()` as a macro that uses > ARRAY_SIZE() to compute the size of the array. > The macro is added in all the places that do > `match_string(_a, ARRAY_SIZE(_a), s)`, since the change is pretty >

Re: [PATCH RFC 4/6] ARM: dts: msm8974: add display support

2019-05-09 Thread Bjorn Andersson
On Wed 08 May 19:25 PDT 2019, Rob Clark wrote: > On Wed, May 8, 2019 at 7:16 PM Brian Masney wrote: > > > > On Mon, May 06, 2019 at 11:39:02PM -0700, Bjorn Andersson wrote: > > > On Sun 05 May 06:04 PDT 2019, Brian Masney wrote: > > > > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi > > > > b/

Re: [PATCH 09/16] mmc: sdhci-xenon: use new match_string() helper/macro

2019-05-09 Thread Ardelean, Alexandru
On Wed, 2019-05-08 at 15:20 +0300, Dan Carpenter wrote: > > > On Wed, May 08, 2019 at 02:28:35PM +0300, Alexandru Ardelean wrote: > > -static const char * const phy_types[] = { > > - "emmc 5.0 phy", > > - "emmc 5.1 phy" > > -}; > > - > > enum xenon_phy_type_enum { > > EMMC_5_0_PHY,

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

2019-05-09 Thread Frank Rowand
On 5/8/19 6:44 PM, Theodore Ts'o wrote: > On Wed, May 08, 2019 at 05:58:49PM -0700, Frank Rowand wrote: >> >> If KUnit is added to the kernel, and a subsystem that I am submitting >> code for has chosen to use KUnit instead of kselftest, then yes, I do >> *have* to use KUnit if my submission needs

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

2019-05-09 Thread Frank Rowand
On 5/8/19 6:58 PM, Theodore Ts'o wrote: > On Wed, May 08, 2019 at 05:43:35PM -0700, Frank Rowand wrote: >> kselftest provides a mechanism for in-kernel tests via modules. For >> example, see: >> >> tools/testing/selftests/vm/run_vmtests invokes: >> tools/testing/selftests/vm/test_vmalloc.sh

[Bug 110637] Any OpenCL application causes "*ERROR* ring gfx timeout" on Vega 64

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110637 --- Comment #5 from Alexander Mezin --- And BTW with kernel 4.19.40 and latest git firmware (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=2579167548be33afb1fe2a9a5c141561ee5a8bbe) monitors switch off on

Re: [PATCH 1/2] drm/i915: Seal races between async GPU cancellation, retirement and signaling

2019-05-09 Thread Daniel Vetter
On Wed, May 08, 2019 at 09:30:42PM +0100, Chris Wilson wrote: > Quoting Daniel Vetter (2019-05-08 13:53:30) > > On Wed, May 8, 2019 at 2:06 PM Chris Wilson > > wrote: > > > > > > Currently there is an underlying assumption that i915_request_unsubmit() > > > is synchronous wrt the GPU -- that is t

[PATCH] drm/panfrost: Only put sync_out if non-NULL

2019-05-09 Thread Tomeu Vizoso
Dan Carpenter's static analysis tool reported: drivers/gpu/drm/panfrost/panfrost_drv.c:222 panfrost_ioctl_submit() error: we previously assumed 'sync_out' could be null (see line 216) Indeed, sync_out could be NULL if userspace doesn't send a sync object ID for the out fence. Signed-off-by: Tome

Re: [git pull] drm for 5.2-rc1

2019-05-09 Thread Dave Airlie
On Thu, 9 May 2019 at 14:45, Linus Torvalds wrote: > > Dave, > > On Wed, May 8, 2019 at 8:28 PM Dave Airlie wrote: > > > > This is the main drm pull request for 5.2. > > Thanks. I've merged it, but I got a couple of conflicts with fixes > (reverts) to mainline in the meantime. > > The one to the

Re: Support for 2D engines/blitters in V4L2 and DRM

2019-05-09 Thread Paul Kocialkowski
Hi Pekka, Le lundi 06 mai 2019 à 11:28 +0300, Pekka Paalanen a écrit : > On Wed, 17 Apr 2019 20:10:15 +0200 > Paul Kocialkowski wrote: > > > There's also the possibility of writing up a drm-render DDX to handle > > these 2D blitters that can make things a lot faster when running a > > desktop en

[Bug 110635] briefly flashing corruption when playing various OGL games

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110635 --- Comment #2 from tempel.jul...@gmail.com --- The mesa-git build of mine was from after that commit, and a profile already applies it to Dying Light as well. :) -- You are receiving this mail because: You are the assignee for the bug.

[Bug 201273] Fatal error during GPU init amdgpu RX560

2019-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 --- Comment #54 from Marco (rodomar...@protonmail.com) --- It seems that I've managed to "fix" it by putting the amdgpu module load early at boot with mkinitcpio.conf; after 30/40 reboots I still haven't seen a crash since; but since the problem a

Re: [PATCH] drm: Some ocd in drm_file.c

2019-05-09 Thread Daniel Vetter
On Thu, May 02, 2019 at 03:07:20PM +0100, Chris Wilson wrote: > Quoting Daniel Vetter (2019-05-02 14:56:03) > > Move the open helper around to avoid the forward decl, and give > > drm_setup a drm_legacy_ prefix since it's all legacy stuff in there. > > > > v2: Move drm_legacy_setup into drm_legacy

[PATCH] drm/imx: ipuv3-plane: fix atomic update status query for non-plus i.MX6Q

2019-05-09 Thread Philipp Zabel
The current buffer check halves the frame rate on non-plus i.MX6Q, as the IDMAC current buffer pointer is not yet updated when ipu_plane_atomic_update_pending is called from the EOF irq handler. Fixes: 70e8a0c71e9 ("drm/imx: ipuv3-plane: add function to query atomic update status") Tested-by: Mar

[PULL] drm-intel-next-fixes

2019-05-09 Thread Joonas Lahtinen
Hi Dave & Daniel, Still rather quiet, most issues seem to have been fixed during CI testing. For i915, just two fixes to the request semaphore ordering code. For GVT a couple regression and static checker fixes. Best Regards, Joonas *** drm-intel-next-fixes-2019-05-09: - Two fixes for the fr

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

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #38 from Christian Zigotzky --- Hi All, Allan tested the tenth test kernel today. He wrote: Christian DRM10 also boots to SI card. ace -- Link to the test thread: http://forum.hyperion-entertainment.com/viewtopic.php?f=58&t

Re: [PATCH] i915: disable framebuffer compression on GeminiLake

2019-05-09 Thread Daniel Drake
Hi, On Thu, Apr 25, 2019 at 4:27 AM Paulo Zanoni wrote: > > Em qua, 2019-04-24 às 20:58 +0100, Chris Wilson escreveu: > > Quoting Jian-Hong Pan (2019-04-23 10:28:10) > > > From: Daniel Drake > > > > > > On many (all?) the Gemini Lake systems we work with, there is frequent > > > momentary graph

Re: [PATCH] sync_file: Return reasonable timestamp when merging signaled fences

2019-05-09 Thread Chris Wilson
Quoting Michael Yang (2019-05-09 05:34:11) > If all the sync points were signaled in both fences a and b, > there was only one sync point in merged fence which is a_fence[0]. > The Fence structure in android framework might be confused about > timestamp if there were any sync points which were sign

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

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #39 from Christian Zigotzky --- Hi All, Allan has successfully tested the eleventh test kernel. He wrote: Christian DRM11 boots to Firepro. ace -- We have a result! git bisect good The following commit is responsible for

[PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Daniel Vetter
console_trylock, called from within printk, can be called from pretty much anywhere. Including try_to_wake_up. Note that this isn't common, usually the box is in pretty bad shape at that point already. But it really doesn't help when then lockdep jumps in and spams the logs, potentially obscuring t

[Bug 109294] [CI][SHARDS] igt@prime_vgem@basic-fence-flip - skip - Test requirement: (crtc_id = set_fb_on_crtc(i915, 0, &bo[0], fb_id[0])), SKIP

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109294 Tvrtko Ursulin changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Peter Zijlstra
On Thu, May 09, 2019 at 02:09:03PM +0200, Daniel Vetter wrote: > Fix this by creating a prinkt_safe_up() which calls wake_up_process > outside of the spinlock. This isn't correct in full generality, but > good enough for console_lock: > > - console_lock doesn't use interruptible or killable or tim

Re: [PATCH] i915: disable framebuffer compression on GeminiLake

2019-05-09 Thread Jani Nikula
On Thu, 09 May 2019, Daniel Drake wrote: > Hi, > > > On Thu, Apr 25, 2019 at 4:27 AM Paulo Zanoni wrote: >> >> Em qua, 2019-04-24 às 20:58 +0100, Chris Wilson escreveu: >> > Quoting Jian-Hong Pan (2019-04-23 10:28:10) >> > > From: Daniel Drake >> > > >> > > On many (all?) the Gemini Lake systems

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Chris Wilson
Quoting Daniel Vetter (2019-05-09 13:09:03) > console_trylock, called from within printk, can be called from pretty > much anywhere. Including try_to_wake_up. Note that this isn't common, > usually the box is in pretty bad shape at that point already. But it > really doesn't help when then lockdep

[Bug 110381] Failed to updateMST allocation table forpipe idx:0

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110381 --- Comment #2 from Paul Menzel --- This still happens with Linux 5.1. I had to give the system away, so won’t have access to it. I had hoped for more help of the AMD developers to track down regressions. -- You are receiving this mail becaus

[Bug 107607] Problems with MST display (REG_WAIT takes a while or times out)

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107607 --- Comment #8 from Paul Menzel --- (In reply to Nicholas Kazlauskas from comment #7) > Can you clarify the problem you're observing? > > Do all the displays go blank after switching inputs? There is exactly one monitor/display. -- You are r

[Bug 110381] Failed to updateMST allocation table forpipe idx:0

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110381 --- Comment #3 from Nicholas Kazlauskas --- We're able to reproduce the problem. I believe that we found the issue was caused by the new common helper DRM for DP MST hotplug. A fix is in the works for this issue. -- You are receiving this mai

[Bug 110381] Failed to updateMST allocation table forpipe idx:0

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110381 --- Comment #4 from Paul Menzel --- (In reply to Nicholas Kazlauskas from comment #3) > We're able to reproduce the problem. > > I believe that we found the issue was caused by the new common helper DRM > for DP MST hotplug. A fix is in the wor

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Daniel Vetter
On Thu, May 9, 2019 at 2:31 PM Peter Zijlstra wrote: > On Thu, May 09, 2019 at 02:09:03PM +0200, Daniel Vetter wrote: > > Fix this by creating a prinkt_safe_up() which calls wake_up_process > > outside of the spinlock. This isn't correct in full generality, but > > good enough for console_lock: >

[Bug 110381] Failed to updateMST allocation table forpipe idx:0

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110381 --- Comment #5 from Nicholas Kazlauskas --- (In reply to Paul Menzel from comment #4) > (In reply to Nicholas Kazlauskas from comment #3) > > We're able to reproduce the problem. > > > > I believe that we found the issue was caused by the new c

[RFC PATCH drm-intel] drm: drm_hdcp_request_srm() can be static

2019-05-09 Thread kbuild test robot
Fixes: 6498bf5800a3 ("drm: revocation check at drm subsystem") Signed-off-by: kbuild test robot --- drm_hdcp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_hdcp.c b/drivers/gpu/drm/drm_hdcp.c index 5e54095..dc0beb3 100644 --- a/drivers/gpu/drm/drm_hd

[drm-intel:drm-intel-next-queued 4/6] drivers/gpu/drm/drm_hdcp.c:27:3: sparse: sparse: symbol 'srm_data' was not declared. Should it be static?

2019-05-09 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: c16fd9be70faf3c49a61700efd16018dd910e390 commit: 6498bf5800a302ef69e7f4914e727893f278bb2f [4/6] drm: revocation check at drm subsystem reproduce: # apt-get install sparse git checkout 6498bf5800a302ef69e7

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

2019-05-09 Thread Theodore Ts'o
On Thu, May 09, 2019 at 01:52:15PM +0200, Knut Omang wrote: > 1) Tests that exercises typically algorithmic or intricate, complex >code with relatively few outside dependencies, or where the dependencies >are considered worth mocking, such as the basics of container data >structures o

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Peter Zijlstra
On Thu, May 09, 2019 at 03:06:09PM +0200, Daniel Vetter wrote: > On Thu, May 9, 2019 at 2:31 PM Peter Zijlstra wrote: > > On Thu, May 09, 2019 at 02:09:03PM +0200, Daniel Vetter wrote: > > > Fix this by creating a prinkt_safe_up() which calls wake_up_process > > > outside of the spinlock. This isn

[Bug 108898] (Recoverable) GPU hangs with GfxBench Manhattan GL tests

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108898 --- Comment #4 from Eero Tamminen --- Any updates on this (VegaM) bug? These recoverable hangs are still happening with git versions of kernel, Mesa and linux-firmware. Unlike with the hard hang bug 108900, this test-case is freely available.

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v7

2019-05-09 Thread Koenig, Christian
I've foudn one more problem with this. With lockdep enabled I get a warning because ttm_eu_reserve_buffers() has called ww_acquire_done() on the ticket (which essentially means we are done, no more locking with that ticket). The simplest solution is probably to just remove the call to ww_acqui

Re: [PATCH RFC 4/6] ARM: dts: msm8974: add display support

2019-05-09 Thread Rob Clark
On Thu, May 9, 2019 at 12:12 AM Brian Masney wrote: > > On Wed, May 08, 2019 at 08:00:47PM -0700, Bjorn Andersson wrote: > > On Wed 08 May 19:25 PDT 2019, Rob Clark wrote: > > > > > On Wed, May 8, 2019 at 7:16 PM Brian Masney wrote: > > > > > > > > On Mon, May 06, 2019 at 11:39:02PM -0700, Bjorn

Re:[PATCH 1/2] drm/ttm: fix busy memory to fail other user v7

2019-05-09 Thread Zhou, David(ChunMing)
I know that before, it will issue warning only when debug option is enabled. Removing that is ok to me. I only help Prike draft your idea, and Prike is trying this patch on his side. The latest feedback he gave me is first_bo is always null, code doesn't run into busy path, which is very confusi

Re: [PATCH] drm/amd/display: Make some functions static

2019-05-09 Thread Alex Deucher
On Wed, May 8, 2019 at 10:47 AM Wang Hai wrote: > > Fix the following sparse warnings: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_resource.c:483:21: > warning: symbol 'dce120_clock_source_create' was not declared. Should it be > static? > drivers/gpu/drm/amd/amdgpu/../display/dc/

Re: [PATCH 1/2] drm/ttm: fix busy memory to fail other user v7

2019-05-09 Thread Christian König
Oh, I know where this is coming from. The problem is that we remove the BOs from the LRU during CS and so we can't wait for the CS to finish up. Already working on this problem for Marek's similar issue, Christian. Am 09.05.19 um 16:46 schrieb Zhou, David(ChunMing): I know that before, it wil

Re: [v1] drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times

2019-05-09 Thread liviu.du...@arm.com
On Wed, May 08, 2019 at 10:58:18AM +, Wen He wrote: > This patch trying to fix monitor freeze issue caused by drm error > 'flip_done timed out' on LS1028A platform. this set try is make a loop > around the second setting CVAL and try like 5 times before giveing up. > > Signed-off-by: Liviu >

Re: [Freedreno] [PATCH v1 2/3] drm/msm: Print all 64 bits of the faulting IOMMU address

2019-05-09 Thread Kristian Høgsberg
On Tue, May 7, 2019 at 11:02 AM Jordan Crouse wrote: > > When we move to 64 bit addressing for a5xx and a6xx targets we will start > seeing pagefaults at larger addresses so format them appropriately in the > log message for easier debugging. Yes please, this has confused me more than once. Revi

Re: Applied "spi: Add spi_is_bpw_supported()" to the spi tree

2019-05-09 Thread Noralf Trønnes
Hi Mark, Den 15.04.2019 10.53, skrev Mark Brown: > The patch > >spi: Add spi_is_bpw_supported() > > has been applied to the spi tree at > >https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.2 > I can't see this in for-5.2 or linux-next. You also gave me a topic bran

Re: [Freedreno] [PATCH 2/3] drm/msm/dpu: Avoid a null de-ref while recovering from kms init fail

2019-05-09 Thread Kristian Høgsberg
On Tue, May 7, 2019 at 12:18 PM Jordan Crouse wrote: > > In the failure path for dpu_kms_init() it is possible to get to the MMU > destroy function with uninitialized MMU structs. Check for NULl and skip s/NULl/NULL > if needed. > > Signed-off-by: Jordan Crouse Reviewed-by: Kristian H. Kristen

[Bug 110637] Any OpenCL application causes "*ERROR* ring gfx timeout" on Vega 64

2019-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110637 --- Comment #6 from Jan Vesely --- Can you post the output of 'clinfo'? GPU hangs in clover are usually signs of old LLVM, or old mesa (that does not catch function calls). Do you use ocl-icd? if yes can you confirm if the games hang when runni

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-09 Thread Daniel Vetter
On Thu, May 9, 2019 at 4:56 PM Petr Mladek wrote: > > On Thu 2019-05-09 14:09:03, Daniel Vetter wrote: > > console_trylock, called from within printk, can be called from pretty > > much anywhere. Including try_to_wake_up. Note that this isn't common, > > usually the box is in pretty bad shape at t

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

2019-05-09 Thread Tejun Heo
Hello, On Tue, May 07, 2019 at 12:50:50PM -0700, Welty, Brian wrote: > There might still be merit in having a 'device mem' cgroup controller. > The resource model at least is then no longer mixed up with host memory. > RDMA community seemed to have some interest in a common controller at > least f

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

2019-05-09 Thread Daniel Vetter
On Thu, May 9, 2019 at 7:00 PM wrote: > > -Original Message- > > From: Theodore Ts'o > > > > On Thu, May 09, 2019 at 01:52:15PM +0200, Knut Omang wrote: > > > 1) Tests that exercises typically algorithmic or intricate, complex > > >code with relatively few outside dependencies, or wher

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

2019-05-09 Thread Brendan Higgins
> Hi, > > On 5/1/19 4:01 PM, Brendan Higgins wrote: > > 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   2   >