kernel oops loading i915 after "x86/asm: Pin sensitive CR4 bits" (873d50d58)

2019-07-09 Thread Xi Ruoyao
Hello, When I try to build and run the latest mainline kernel, it Oops loading i915 module: BUG: unable to handle page fault for address: 9edc1598 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 1a20c067 P4D 1a20c067 PUD 1a20d063 PMD

[PATCH 03/12] drm: aspeed_gfx: Fix misuse of GENMASK macro

2019-07-09 Thread Joe Perches
Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches --- drivers/gpu/drm/aspeed/aspeed_gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx.h b/drivers/gpu/drm/aspeed/aspeed_gfx.h index a10358bb61ec..095ea03e5833

[PATCH 00/12] treewide: Fix GENMASK misuses

2019-07-09 Thread Joe Perches
These GENMASK uses are inverted argument order and the actual masks produced are incorrect. Fix them. Add checkpatch tests to help avoid more misuses too. Joe Perches (12): checkpatch: Add GENMASK tests clocksource/drivers/npcm: Fix misuse of GENMASK macro drm: aspeed_gfx: Fix misuse of

Re: [PATCH 5/7] ASoC: rockchip: rockchip-max98090: Add node for HDMI

2019-07-09 Thread Cheng-yi Chiang
On Wed, Jul 10, 2019 at 4:01 AM Rob Herring wrote: > > On Mon, Jun 03, 2019 at 12:32:49PM +0800, Cheng-Yi Chiang wrote: > > Let user specify HDMI node so machine driver can use it to let codec > > driver register callback on correct hdmi-notifier. > > > > Signed-off-by: Cheng-Yi Chiang > > --- >

Re: [PATCH v2] gpu/drm_memory: fix a few warnings

2019-07-09 Thread J Lovejoy
> On Jul 8, 2019, at 1:57 PM, Thomas Gleixner wrote: > > On Mon, 8 Jul 2019, Qian Cai wrote: >> On Mon, 2019-07-08 at 15:21 -0400, Ilia Mirkin wrote: -/** +// SPDX-License-Identifier: MIT +/* * \file drm_memory.c * Memory management wrappers for DRM *

Re: [PATCH v7 06/18] kbuild: enable building KUnit

2019-07-09 Thread Masahiro Yamada
On Tue, Jul 9, 2019 at 3:34 PM Brendan Higgins wrote: > > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the root Kconfig and > Makefile to allow it to be actually built. > > Signed-off-by: Brendan Higgins > Cc:

[pull] amdgpu, amdkfd drm-next-5.3

2019-07-09 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.3. Mostly fixes for Navi10 and a few other odds and ends. Also contains a patch to ease the merge with hmm. Trivial merge fix when the trees are merged: diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -783,7 +783,7

Re: [PATCH v7 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-07-09 Thread Josh Poimboeuf
On Mon, Jul 08, 2019 at 11:30:13PM -0700, Brendan Higgins wrote: > Fix the following warning seen on GCC 7.3: > kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls > through to next function kunit_test_catch() > > kunit_try_catch_throw is a function added in the following

[PATCH v7 2/4] drm/panel: set display info in panel attach

2019-07-09 Thread Derek Basehore
Devicetree systems can set panel orientation via a panel binding, but there's no way, as is, to propagate this setting to the connector, where the property need to be added. To address this, this patch sets orientation, as well as other fixed values for the panel, in the drm_panel_attach function.

[PATCH v7 3/4] drm/connector: Split out orientation quirk detection

2019-07-09 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore ---

[PATCH v7 1/4] drm/panel: Add helper for reading DT rotation

2019-07-09 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52 insertions(+) diff --git

[PATCH v7 0/4] Panel rotation patches

2019-07-09 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. v7 changes: -forgot to add static inline v6 changes: -added enum declaration to drm_panel.h header v5 changes:

[PATCH v7 4/4] drm/mtk: add panel orientation property

2019-07-09 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions(+)

[PATCH V3] drm/vkms: Add support for vkms work without vblank

2019-07-09 Thread Rodrigo Siqueira
Currently, vkms only work with enabled VBlank. This patch adds another operation model that allows vkms to work without VBlank support. In this scenario, vblank signaling is faked by calling drm_send_vblank_event() in vkms_crtc_atomic_flush(); this approach works due to the drm_vblank_get() == 0

[PATCH 2/2] drm/vkms: Use alpha channel for blending cursor with primary

2019-07-09 Thread Rodrigo Siqueira
Currently, the blend function overwriting the cursor value into the primary plane. This patch utilizes the alpha value for a fully transparent blend of the cursor (vaddr_src) with primary (vaddr_dst) instead of overwriting it in blend(). Cc: Haneen Mohammed Cc: Mamta Shukla Cc: Harry Wentland

[PATCH 1/2] drm/vkms: Rework blend function

2019-07-09 Thread Rodrigo Siqueira
For combining the cursor into the primary plane, vkms invokes a function named blend which iterates in both buffers and ends up by copying the cursor into the primary buffer. This patch, rework part of the blend function to prepare it for using the alpha channel for blending. Cc: Haneen Mohammed

[PATCH 0/2] drm/vkms: Use alpha value for blending

2019-07-09 Thread Rodrigo Siqueira
The first patch of this series reworks part of the blend function to improve the readability and also for preparing it for using alpha value. The second patch updates the blend function for applying alpha value for a fully transparent blend. After applying this patchset,

[Bug 202799] amd/dc: right monitor sometimes never comes back up on dual-display setup after locking session

2019-07-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=202799 --- Comment #10 from Clément Guérin (li...@protonmail.com) --- This is still a problem on Linux 5.2. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel

[PATCH v6 1/4] drm/panel: Add helper for reading DT rotation

2019-07-09 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52 insertions(+) diff --git

[PATCH v6 3/4] drm/connector: Split out orientation quirk detection

2019-07-09 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore ---

[PATCH v6 2/4] drm/panel: set display info in panel attach

2019-07-09 Thread Derek Basehore
Devicetree systems can set panel orientation via a panel binding, but there's no way, as is, to propagate this setting to the connector, where the property need to be added. To address this, this patch sets orientation, as well as other fixed values for the panel, in the drm_panel_attach function.

[PATCH v6 4/4] drm/mtk: add panel orientation property

2019-07-09 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions(+)

[PATCH v6 0/4] Panel rotation patches

2019-07-09 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. v6 changes: -added enum declaration to drm_panel.h header v5 changes: -rebased v4 changes: -fixed some changes made to

Re: [PATCH v2 1/3] dt-bindings: display: rockchip: document VOP gamma LUT address

2019-07-09 Thread Rob Herring
On Fri, 21 Jun 2019 18:13:44 -0300, Ezequiel Garcia wrote: > Add the register specifier description for an > optional gamma LUT address. > > Signed-off-by: Ezequiel Garcia > --- > Changes from v1: > * Drop reg-names, suggested by Doug. > --- >

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #85 from dwagner --- (In reply to Wilko Bartels from comment #84) > nevermind. it crashed on 60hz as well (once) yesterday It sure does. This bug is now about two years old, during which amdgpu has never been stable, got worse, and

Re: [PATCH v1] drm/tegra: Fix gpiod_get_from_of_node() regression

2019-07-09 Thread Dmitry Osipenko
09.07.2019 19:27, Jon Hunter пишет: > > On 05/07/2019 16:11, Dmitry Osipenko wrote: >> That function now returns ERR_PTR instead of NULL if "hpd-gpio" is not >> present in device-tree. The offending patch missed to adapt the Tegra's >> DRM driver for the API change. >> >> Fixes: 025bf37725f1

Re: [PATCH v8 1/6] drm: Add Content protection type property

2019-07-09 Thread Ramalingam C
On 2019-07-09 at 16:26:31 +0300, Pekka Paalanen wrote: > On Mon, 8 Jul 2019 14:42:29 +0530 > Ramalingam C wrote: > > > On 2019-07-08 at 12:59:59 +0300, Pekka Paalanen wrote: > > > On Mon, 8 Jul 2019 12:52:17 +0300 > > > Pekka Paalanen wrote: > > > > > > > On Fri, 5 Jul 2019 06:16:37 +0530 >

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-09 Thread Ramalingam C
On 2019-07-09 at 17:31:10 +0300, Pekka Paalanen wrote: > On Mon, 8 Jul 2019 16:51:11 +0530 > Ramalingam C wrote: > > > This patch adds a DRM ENUM property to the selected connectors. > > This property is used for mentioning the protected content's type > > from userspace to kernel HDCP

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Arnd Bergmann
On Tue, Jul 9, 2019 at 6:40 PM Deucher, Alexander wrote: > > I'll just apply Arnd's patch. If the display team wants to adjust it later > to clarify the > operation, they should go ahead as a follow up patch. Thanks! > From: Abramov, Slava > Sent: Tuesday, July 9, 2019 12:31 PM > > Thanks for

Re: [PATCH v1 0/33] drm: drop use of drmp.h in drm-misc

2019-07-09 Thread Sam Ravnborg
Hi all. On Sun, Jun 30, 2019 at 08:18:49AM +0200, Sam Ravnborg wrote: > This patch set removes a far share of the remaining uses of drmP.h. > Common for all patches are that the respective files are maintained > in drm-misc. > All patches are independent except [PATCH 32] drm/ast, > [PATCH 31]

Re: [PATCH 00/10] Enable MST Aux devices (v2)

2019-07-09 Thread Li, Sun peng (Leo)
Hi Lyude, sorry - just realized I forgot to CC you on this series! Let me know if I should resend them. Adding some additional reviewers as well. Thanks, Leo On 2019-07-04 3:05 p.m., sunpeng...@amd.com wrote: > From: Leo Li > > Hi all, > > Here's the second revision of patches to enable mst

[PATCH v3 1/4] MAINTAINERS: Add entry for stable backlight sysfs ABI documentation

2019-07-09 Thread Matthias Kaehlcke
Add an entry for the stable backlight sysfs ABI to the MAINTAINERS file. Signed-off-by: Matthias Kaehlcke Acked-by: Daniel Thompson --- Changes in v3: - none Changes in v2: - added Daniel's 'Acked-by' tag --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS

[PATCH v3 2/4] backlight: Expose brightness curve type through sysfs

2019-07-09 Thread Matthias Kaehlcke
Backlight brightness curves can have different shapes. The two main types are linear and non-linear curves. The human eye doesn't perceive linearly increasing/decreasing brightness as linear (see also 88ba95bedb79 "backlight: pwm_bl: Compute brightness of LED linearly to human eye"), hence many

[PATCH v3 3/4] backlight: pwm_bl: Set scale type for CIE 1931 curves

2019-07-09 Thread Matthias Kaehlcke
For backlight curves calculated with the CIE 1931 algorithm set the brightness scale type to non-linear. This makes the scale type available to userspace via the 'scale' sysfs attribute. Signed-off-by: Matthias Kaehlcke Tested-by: Enric Balletbo i Serra Acked-by: Daniel Thompson --- Changes in

[PATCH v3 4/4] backlight: pwm_bl: Set scale type for brightness curves specified in the DT

2019-07-09 Thread Matthias Kaehlcke
Check if a brightness curve specified in the device tree is linear or not and set the corresponding property accordingly. This makes the scale type available to userspace via the 'scale' sysfs attribute. To determine if a curve is linear it is compared to a interpolated linear curve between min

[PATCH v3 0/4] backlight: Expose brightness curve type through sysfs

2019-07-09 Thread Matthias Kaehlcke
Backlight brightness curves can have different shapes. The two main types are linear and non-linear curves. The human eye doesn't perceive linearly increasing/decreasing brightness as linear (see also 88ba95bedb79 "backlight: pwm_bl: Compute brightness of LED linearly to human eye"), hence many

[Bug 109524] "Invalid glsl version in shading_language_version()" when trying to run directX games using wine

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109524 --- Comment #12 from BabylonAS --- On Debian Testing I still have Mesa 18.3.6; so do I have to build Mesa from source code in order to get the patch? -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 5/7] drm/amd/display: Use proper enum conversion functions

2019-07-09 Thread Arnd Bergmann
On Thu, Jul 4, 2019 at 7:52 AM Nathan Chancellor wrote: > > clang warns: > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_pp_smu.c:336:8: > warning: implicit conversion from enumeration type 'enum smu_clk_type' > to different enumeration type 'enum amd_pp_clock_type' >

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

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #41 from Sylvain BERTRAND --- Guys, I am getting freezes on tahiti xt/fx9590 recently... But I am not logging a bug yet because I think the reason is summer heat. Try to game with an opened computer case with a big fan blowing

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

2019-07-09 Thread sylvain . bertrand
Guys, I am getting freezes on tahiti xt/fx9590 recently... But I am not logging a bug yet because I think the reason is summer heat. Try to game with an opened computer case with a big fan blowing into it. ___ dri-devel mailing list

Re: [GIT PULL] fbdev changes for v5.3

2019-07-09 Thread pr-tracker-bot
The pull request you sent on Tue, 9 Jul 2019 15:10:33 +0200: > https://github.com/bzolnier/linux.git tags/fbdev-v5.3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2d41ef5432b76ae90dc0db93026f1d981f874ec4 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v7 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-07-09 Thread Brendan Higgins
On Tue, Jul 9, 2019 at 7:53 AM shuah wrote: > > On 7/9/19 12:30 AM, Brendan Higgins wrote: > > Add myself as maintainer of KUnit, the Linux kernel's unit testing > > framework. > > > > Signed-off-by: Brendan Higgins > > Reviewed-by: Greg Kroah-Hartman > > Reviewed-by: Logan Gunthorpe > > --- >

Re: [PATCH v1 01/22] docs: Documentation/*.txt: rename all ReST files to *.rst

2019-07-09 Thread Rob Herring
On Tue, Jun 18, 2019 at 06:05:25PM -0300, Mauro Carvalho Chehab wrote: > Those files are actually at ReST format. Ok, currently, they > don't belong to any place yet at the organized book series, > but we don't want patches to break them as ReST files. So, > rename them and add a :orphan: in order

Re: [PATCH 5/6] dt-bindings: display: ssd1307fb: Add initialization properties

2019-07-09 Thread Rob Herring
On Tue, 18 Jun 2019 10:41:10 +0300, Marko Kohtala wrote: > Document new bindings for adapting ssd1307fb driver to new displays. > > Signed-off-by: Marko Kohtala > --- > .../devicetree/bindings/display/ssd1307fb.txt | 10 ++ > 1 file changed, 10 insertions(+) > Reviewed-by:

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Deucher, Alexander
I'll just apply Arnd's patch. If the display team wants to adjust it later to clarify the operation, they should go ahead as a follow up patch. Thanks, Alex From: Abramov, Slava Sent: Tuesday, July 9, 2019 12:31 PM To: Arnd Bergmann; Wentland, Harry; Li, Sun

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Abramov, Slava
Hi Arnd! Thanks for bisecting this issue. I wonder whether you are going to commit your patch or planning to update it and it's still in your work queue. We have one of our 32-bit builds failing because of this issue, so that I would like either to fix it or wait to your fix if it has

Re: [PATCH v1] drm/tegra: Fix gpiod_get_from_of_node() regression

2019-07-09 Thread Jon Hunter
On 05/07/2019 16:11, Dmitry Osipenko wrote: > That function now returns ERR_PTR instead of NULL if "hpd-gpio" is not > present in device-tree. The offending patch missed to adapt the Tegra's > DRM driver for the API change. > > Fixes: 025bf37725f1 ("gpio: Fix return value mismatch of function

Re: [PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-09 Thread Nicolas.Ferre
On 09/07/2019 at 17:35, Joshua Henderson wrote: > This bit enables replication logic to expand an RGB color less than 24 > bits, to 24 bits, which is used internally for all formats. Otherwise, > the least significant bits are always set to zero and the color may not > be what is expected. > >

Re: [PATCH v2 17/28] drivers: Introduce bus_find_device_by_of_node() helper

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 18:54:12 +0100, Suzuki K Poulose wrote: > Add a wrapper to bus_find_device() to search for a device > by the of_node pointer, reusing the generic match function. > Also convert the existing users to make use of the new helper. > > Cc: Maarten Lankhorst > Cc: Maxime Ripard >

Re: [PATCH v2 7/9] dt-bindings: sun6i-dsi: Add R40 DPHY compatible (w/ A31 fallback)

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:22 +0530, Jagan Teki wrote: > The MIPI DSI PHY controller on Allwinner R40 is similar > on the one on A31. > > Add R40 compatible and append A31 compatible as fallback. > > Signed-off-by: Jagan Teki > --- > Documentation/devicetree/bindings/display/sunxi/sun6i-dsi.txt

[PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-09 Thread Joshua.Henderson
This bit enables replication logic to expand an RGB color less than 24 bits, to 24 bits, which is used internally for all formats. Otherwise, the least significant bits are always set to zero and the color may not be what is expected. Signed-off-by: Joshua Henderson ---

[PATCH v3] gpu/drm_memory: fix a few warnings

2019-07-09 Thread Qian Cai
The opening comment mark "/**" is reserved for kernel-doc comments, so it will generate a warning with "make W=1". drivers/gpu/drm/drm_memory.c:2: warning: Cannot understand * \file drm_memory.c Also, silence a checkpatch warning by adding a license identfiter where it indicates the MIT license

Re: [PATCH v1 12/33] drm/vkms: drop use of drmP.h

2019-07-09 Thread Rodrigo Siqueira
On Sun, Jun 30, 2019 at 3:19 AM Sam Ravnborg wrote: > > Drop use of the deprecated drmP.h header. > Replace it with the necessary includes in the individual .c files. > The header files was self-contained, and extra includes were not added > there. > > Signed-off-by: Sam Ravnborg > Cc: Rodrigo

Re: [PATCH v7 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-07-09 Thread shuah
On 7/9/19 12:30 AM, Brendan Higgins wrote: Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff

[PATCH v1] drm/modes: Skip invalid cmdline mode

2019-07-09 Thread Dmitry Osipenko
The named mode could be invalid and then cmdline parser misses to validate mode's dimensions, happily adding 0x0 mode as a valid mode. One case where this happens is NVIDIA Tegra devices that are using downstream bootloader which adds "video=tegrafb" to the kernel's cmdline and thus upstream Tegra

Re: [PATCH v2 6/9] dt-bindings: sun6i-dsi: Add R40 MIPI-DSI compatible (w/ A64 fallback)

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:21 +0530, Jagan Teki wrote: > The MIPI DSI controller on Allwinner R40 is similar on > the one on A64 like doesn't associate any DSI_SCLK gating. > > So, add R40 compatible and append A64 compatible as fallback. > > Signed-off-by: Jagan Teki > --- >

Re: [PATCH v2 1/9] dt-bindings: display: Add TCON LCD compatible for R40

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:16 +0530, Jagan Teki wrote: > Like TCON TV0, TV1 allwinner R40 has TCON LCD0, LCD1 which > are managed via TCON TOP. > > Add tcon lcd compatible R40, the same compatible can handle > TCON LCD0, LCD1. > > Signed-off-by: Jagan Teki > Acked-by: Chen-Yu Tsai > --- >

Re: [PATCH v9 4/6] drm/hdcp: update content protection property with uevent

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 16:51:14 +0530 Ramalingam C wrote: > drm function is defined and exported to update a connector's > content protection property state and to generate a uevent along > with it. > > Need ACK for the uevent from userspace consumer. > > v2: > Update only when state is

Re: [PATCH 07/60] drm/bridge: simple-bridge: Add support for the TI OP362

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > The TI OP362 is an analog video amplifier controlled through a GPIO. Add > support for it to the simple-bridge driver. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- >

Re: [PATCH 06/60] drm/bridge: simple-bridge: Add support for enable GPIO

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > If an enable GPIO is declared in the firmware, assert it when enabling > the bridge and deassert it when disabling it. > > Signed-off-by: Laurent Pinchart Hmm, simple becomes less simple. I guess we will end-up with sth similar to panel-simple. And

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 16:51:11 +0530 Ramalingam C wrote: > This patch adds a DRM ENUM property to the selected connectors. > This property is used for mentioning the protected content's type > from userspace to kernel HDCP authentication. > > Type of the stream is decided by the protected content

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

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #40 from Wilko Bartels --- Since i experience the same issue since june (didnt game much) i want to share my system info. I am on Ryzen 2600X, Vega 56 Pulse, Strix B450. Using Arch 5.1. Tested every Windowmanager i know , tested

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Maxime Ripard
On Tue, Jul 09, 2019 at 04:58:35PM +0800, Icenowy Zheng wrote: > > > 于 2019年7月9日 GMT+08:00 下午4:55:32, Maxime Ripard 写到: > >On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: > >> > > Maybe instead of edp-connector one would introduce integrator's > >specific > >> > > connector,

Re: [PATCH 05/60] drm/bridge: simple-bridge: Add support for non-VGA bridges

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > Create a new simple_bridge_info structure that stores information about > the bridge model, and store the bridge timings in there, along with the > connector type. Use that new structure for of_device_id data. This > enables support for non-VGA

[PATCH -next] drm/komeda: remove set but not used variable 'old'

2019-07-09 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/arm/display/komeda/komeda_plane.c: In function komeda_plane_atomic_duplicate_state: drivers/gpu/drm/arm/display/komeda/komeda_plane.c:161:35: warning: variable old set but not used [-Wunused-but-set-variable It is not used since

Re: [PATCH] drm/vkms: prime import support

2019-07-09 Thread Rodrigo Siqueira
Hi Oleg, First of all, thank you for your patch and for working in this issue. A few comments inline. On Thu, Jul 4, 2019 at 5:54 AM Oleg Vasilev wrote: > > Bring dmabuf sharing through implementing prime_import_sg_table callback. > This will help to validate userspace conformance in prime

Re: [PATCH 04/60] drm/bridge: dumb-vga-dac: Rename driver to simple-bridge

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > The dumb-vga-dac driver can support simple DRM bridges without being > limited to VGA DACs. Rename it to simple-bridge. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- >

Re: [PATCH 03/60] drm/bridge: dumb-vga-dac: Rename internal symbols to simple-bridge

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The dumb-vga-dac driver is a simple DRM bridge driver for simple VGA > DACs that don't require configuration. Other non-VGA bridges fall in a > similar category, and would benefit from a common driver. Prepare for > this by renaming the internal

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Jon Hunter
On 09/07/2019 14:26, Jon Hunter wrote: > > On 09/07/2019 13:52, Dmitry Osipenko wrote: >> 09.07.2019 15:45, Maxime Ripard пишет: >>> Hi, >>> >>> On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: 17.06.2019 17:51, Maxime Ripard пишет: > From: Maxime Ripard > >

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Jon Hunter
On 09/07/2019 13:52, Dmitry Osipenko wrote: > 09.07.2019 15:45, Maxime Ripard пишет: >> Hi, >> >> On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: >>> 17.06.2019 17:51, Maxime Ripard пишет: From: Maxime Ripard Rewrite the command line parser in order to get away

Re: [PATCH v8 1/6] drm: Add Content protection type property

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 14:42:29 +0530 Ramalingam C wrote: > On 2019-07-08 at 12:59:59 +0300, Pekka Paalanen wrote: > > On Mon, 8 Jul 2019 12:52:17 +0300 > > Pekka Paalanen wrote: > > > > > On Fri, 5 Jul 2019 06:16:37 +0530 > > > Ramalingam C wrote: > > > > > > > This patch adds a DRM ENUM

Re: [PATCH 02/60] video: hdmi: Change return type of hdmi_avi_infoframe_init() to void

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The hdmi_avi_infoframe_init() never needs to return an error, change its > return type to void. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej ___ dri-devel mailing

Re: [PATCH 01/60] drm/edid: Add flag to drm_display_info to identify HDMI sinks

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The drm_display_info structure contains many fields related to HDMI > sinks, but none that identifies if a sink compliant with CEA-861 (EDID) > shall be treated as an HDMI sink or a DVI sink. Add such a flag, and > populate it according to section

[Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110783 --- Comment #21 from ITwrx --- @juan sure, but i'll probably wait long enough for arch to package the new version. Thanks for letting me know. -- You are receiving this mail because: You are the assignee for the

[GIT PULL] fbdev changes for v5.3

2019-07-09 Thread Bartlomiej Zolnierkiewicz
Hi Linus, Please pull fbdev changes for v5.3. They are: - removal of fbdev notifier usage for fbcon - COMPILE_TEST support for more fb drivers - removal of no longer needed fbdev mxsfb driver - minor fixes/cleanups for other fb drivers Please see the signed tag description for details. Test

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

2019-07-09 Thread Kieran Bingham
Hi Jacopo, On 08/07/2019 04:11, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Sat, Jul 06, 2019 at 04:07:30PM +0200, Jacopo Mondi wrote: >> Update the 'vsps' property in the R-Car Gen3 SoC device tree files to >> match what's in in the documentation example. >> >>

Re: [PATCH] drm/amdgpu: Fix build without CONFIG_HMM_MIRROR

2019-07-09 Thread Alex Deucher
On Tue, Jul 9, 2019 at 8:55 AM YueHaibing wrote: > > If CONFIG_HMM_MIRROR is not set, building may fails: > > In file included from drivers/gpu/drm/amd/amdgpu/amdgpu.h:72:0, > from drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:40: > drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69:20:

Re: [PATCH 2/9] v4l: Add definitions for missing 16-bit RGB4444 formats

2019-07-09 Thread Hans Verkuil
Hi Laurent, On 3/28/19 8:07 AM, Laurent Pinchart wrote: > The V4L2 API is missing the 16-bit RGB formats for the RGBA, RGBX, > ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same > 4CCs as DRM. > > Signed-off-by: Laurent Pinchart > --- >

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Maxime Ripard
Hi, On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: > 17.06.2019 17:51, Maxime Ripard пишет: > > From: Maxime Ripard > > > > Rewrite the command line parser in order to get away from the state machine > > parsing the video mode lines. > > > > Hopefully, this will allow to extend

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cheng-yi Chiang
On Mon, Jul 8, 2019 at 1:03 PM Cheng-yi Chiang wrote: > > On Fri, Jul 5, 2019 at 8:12 PM Mark Brown wrote: > > > > On Fri, Jul 05, 2019 at 03:08:37PM +0800, Tzung-Bi Shih wrote: > > > On Fri, Jul 5, 2019 at 12:26 PM Cheng-Yi Chiang > > > wrote: > > > > > > +typedef void

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cheng-yi Chiang
On Tue, Jul 9, 2019 at 7:47 PM Cezary Rojewski wrote: > > On 2019-07-05 06:26, Cheng-Yi Chiang wrote: > > +static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp, > > +unsigned int jack_status) > > +{ > > + if (!hcp->jack) > > + return; > >

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cezary Rojewski
On 2019-07-05 06:26, Cheng-Yi Chiang wrote: +static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp, + unsigned int jack_status) +{ + if (!hcp->jack) + return; + + if (jack_status != hcp->jack_status) { +

Re: [PATCH V3 4/5] drm/vkms: Compute CRC without change input data

2019-07-09 Thread Vasilev, Oleg
On Tue, 2019-06-25 at 22:38 -0300, Rodrigo Siqueira wrote: > The compute_crc() function is responsible for calculating the > framebuffer CRC value; due to the XRGB format, this function has to > ignore the alpha channel during the CRC computation. Therefore, > compute_crc() set zero to the alpha

Re: [PATCH] drm/client: remove the exporting of drm_client_close

2019-07-09 Thread Noralf Trønnes
Den 04.07.2019 16.07, skrev Emil Velikov: > On Thu, 4 Jul 2019 at 08:27, Denis Efremov wrote: >> >> The function drm_client_close is declared as static and marked as >> EXPORT_SYMBOL. It's a bit confusing for an internal function to be >> exported. The area of visibility for such function is

[Bug 110944] [Bisected] Blender 2.8 crashes when closing certain windows

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110944 Juan A. Suarez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110783 --- Comment #20 from Juan A. Suarez --- The fix has landed in 19.1.2 release. Can you try it again? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

[Bug 110702] segfault in radeonsi HEVC hardware decoding with yuv420p10le

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110702 Juan A. Suarez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH v2] backlight: rave-sp: don't touch initial state and register with correct device

2019-07-09 Thread Daniel Thompson
On Mon, Jul 08, 2019 at 02:41:29PM +0200, Lucas Stach wrote: > This way the backlight can be referenced through its device node and > enabling/disabling can be managed through the panel driver. > > Signed-off-by: Lucas Stach Reviewed-by: Daniel Thompson > --- >

Re: [PATCH v2 4/4] backlight: add led-backlight driver

2019-07-09 Thread Daniel Thompson
On Mon, Jul 08, 2019 at 12:27:00PM +0200, Jean-Jacques Hiblot wrote: > From: Tomi Valkeinen > > This patch adds a led-backlight driver (led_bl), which is similar to > pwm_bl except the driver uses a LED class driver to adjust the > brightness in the HW. Multiple LEDs can be used for a single

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Icenowy Zheng
于 2019年7月9日 GMT+08:00 下午4:55:32, Maxime Ripard 写到: >On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: >> > > Maybe instead of edp-connector one would introduce integrator's >specific >> > > connector, for example with compatible >"olimex,teres-edp-connector" >> > > which

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Maxime Ripard
On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: > > > Maybe instead of edp-connector one would introduce integrator's specific > > > connector, for example with compatible "olimex,teres-edp-connector" > > > which should follow edp abstract connector rules? This will be at least

Re: [PATCH 4/5] drm/komeda: Remove layer_split property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:05PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 3/5] drm/komeda: remove img_enhancement property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:04PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 1/5] drm/komeda: Remove clock ratio property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:02PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 2/5] drm/komeda: remove slave_planes property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:03PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

[PATCH 2/2] drm/komeda: Enable new product D32 support

2019-07-09 Thread james qian wang (Arm Technology China)
D32 is simple version of D71, the difference is: - Only has one pipeline - Drop the periph block and merge it to GCU Signed-off-by: James Qian Wang (Arm Technology China) --- .../drm/arm/display/include/malidp_product.h | 3 +- .../arm/display/komeda/d71/d71_component.c| 2 +-

[PATCH 1/2] drm/komeda: Update the chip identify

2019-07-09 Thread james qian wang (Arm Technology China)
1. Drop komeda-CORE product id comparison and put it into the d71_identify 2. Update pipeline node DT-binding: *. Skip the needless pipeline DT node. *. Return fail if the essential pipeline DT node was missing. With these changes, for one family chips no need to change the DT.

[PATCH 0/2] drm/komeda: Add new product "D32" support

2019-07-09 Thread james qian wang (Arm Technology China)
This series enables new product "D32" support James Qian Wang (Arm Technology China) (2): drm/komeda: Update the chip identify drm/komeda: Enable new product D32 support .../drm/arm/display/include/malidp_product.h | 3 +- .../arm/display/komeda/d71/d71_component.c| 2 +-

Re: [PATCH v2 03/14] drm/sti: Remove pointless casts

2019-07-09 Thread Benjamin Gaignard
Le lun. 8 juil. 2019 à 18:21, Ville Syrjala a écrit : > > From: Ville Syrjälä > > There's no point in the cast for accessing the base class. Just > take the address of the struct instead. Applied on drm-misc-next, Thanks, Benjamin > > Cc: Benjamin Gaignard > Cc: Vincent Abriou > Acked-by:

Re: [PATCH v2 04/14] drm/sti: Try to fix up the tvout possible clones

2019-07-09 Thread Benjamin Gaignard
Le lun. 8 juil. 2019 à 18:21, Ville Syrjala a écrit : > > From: Ville Syrjälä > > The current possible_clones setup doesn't look sensible. I'm assuming > the 0 and 1 are supposed to refer to the indexes of the hdmi and hda > encoders? So it kinda looks like we want hda+hdmi cloning, but then >

  1   2   >