Re: [PATCH v5 5/9] drm: Handle aspect-ratio info in getblob

2018-02-26 Thread Nautiyal, Ankit K
Hi Ville, Thanks for your time for the review and the suggestions. Please find my comments inline: On 2/23/2018 7:52 PM, Ville Syrjälä wrote: On Thu, Feb 15, 2018 at 05:50:58PM +0530, Nautiyal, Ankit K wrote: From: Ankit Nautiyal If the user space does not support aspect-ratio, then getbl

Re: [Intel-gfx] [PATCH 7/8] drm: Check that the plane supports the request format+modifier combo

2018-02-26 Thread Ville Syrjälä
On Wed, Jan 10, 2018 at 02:04:57PM +0100, Daniel Vetter wrote: > On Fri, Dec 22, 2017 at 09:22:30PM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Currently we only check that the plane supports the pixel format of the > > fb we're about to feed to it. Extend it to check also the mod

[PATCH v2] drm/bridge: analogix_dp: Keep PHY powered between driver bind/unbind

2018-02-26 Thread Marek Szyprowski
Patch f0a8b49c03d2 ("drm/bridge: analogix dp: Fix runtime PM state on driver bind") fixed unbalanced call to phy_power_on() in analogix_dp_bind() function by calling phy_power_off() at the end of bind operation. However it turned out that having PHY powered is required for proper DRM display pipel

Re: [PATCH] drm: Include the header with the prototype for drm_get_panel_orientation_quirk()

2018-02-26 Thread Hans de Goede
Hi, On 26-02-18 15:24, Ville Syrjala wrote: From: Ville Syrjälä sparse complains: drivers/gpu/drm/drm_panel_orientation_quirks.c:133:5: warning: symbol 'drm_get_panel_orientation_quirk' was not declared. Should it be static? Cc: Hans de Goede Cc: Daniel Vetter Signed-off-by: Ville Syrjälä

[PATCH] drm: Include the header with the prototype for drm_get_panel_orientation_quirk()

2018-02-26 Thread Ville Syrjala
From: Ville Syrjälä sparse complains: drivers/gpu/drm/drm_panel_orientation_quirks.c:133:5: warning: symbol 'drm_get_panel_orientation_quirk' was not declared. Should it be static? Cc: Hans de Goede Cc: Daniel Vetter Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_panel_orientation_qui

[Bug 105254] piglit tests/sanity.py fail on ppc, mesa-18.0.0_rc4

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105254 --- Comment #2 from erhar...@mailbox.org --- Created attachment 137608 --> https://bugs.freedesktop.org/attachment.cgi?id=137608&action=edit dmesg output -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 105254] piglit tests/sanity.py fail on ppc, mesa-18.0.0_rc4

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105254 --- Comment #1 from erhar...@mailbox.org --- Created attachment 137607 --> https://bugs.freedesktop.org/attachment.cgi?id=137607&action=edit xorg.log -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 105254] piglit tests/sanity.py fail on ppc, mesa-18.0.0_rc4

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105254 Bug ID: 105254 Summary: piglit tests/sanity.py fail on ppc, mesa-18.0.0_rc4 Product: Mesa Version: git Hardware: PowerPC OS: All Status: NEW Severity: no

Re: v4.16-rc0: missing includes in framebuffers break N900 compilation

2018-02-26 Thread Tomi Valkeinen
v4.16-rc1 has a fix (b9058afcd6c7). Tomi On 26/02/18 15:00, Pavel Machek wrote: > I needed this to get -rc0 to compile. > > Signed-off-by: Pavel Machek > > > diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss.c > b/drivers/video/fbdev/omap2/omapfb/dss/dss.c > index 48c6500..990f1c9 10064

[Bug 102323] [DC] System crashes when woken up from S3 sleep while HDMI display is switched off

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102323 --- Comment #4 from Arvind --- Hi all, I think I'm having a similar issue using latest kernel 4.15.5 (on Manjaro). When resuming from S3, the following stack trace repeats continuously. System is unresponsive and a hard reset is required. Using

[PATCH libdrm 2/2] amdgpu: add AMDGPU_VA_RANGE_HIGH

2018-02-26 Thread Christian König
Return high addresses if requested and available. Signed-off-by: Christian König --- amdgpu/amdgpu.h | 1 + amdgpu/amdgpu_device.c | 6 -- amdgpu/amdgpu_internal.h | 1 - amdgpu/amdgpu_vamgr.c| 24 +++- 4 files changed, 24 insertions(+), 8 deletions(-)

[PATCH libdrm 1/2] amdgpu: mostly revert "use the high VA range if possible v2"

2018-02-26 Thread Christian König
This reverts commit 07ea20d5beb24315b721adf83bbfa72ce016e146. Unfortunately it turned out that this change broke some corner cases in Mesa. Revert it for now, but keep the high range in separate VA managers. Signed-off-by: Christian König --- amdgpu/amdgpu_device.c | 28 +++--

Re: [PATCH v2 01/10] regmap: mmio: Add function to attach a clock

2018-02-26 Thread Mark Brown
On Wed, Feb 21, 2018 at 10:20:25AM +0100, Maxime Ripard wrote: > From: Maxime Ripard > > regmap_init_mmio_clk allows to specify a clock that needs to be enabled > while accessing the registers. The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-0

v4.16-rc0: missing includes in framebuffers break N900 compilation

2018-02-26 Thread Pavel Machek
I needed this to get -rc0 to compile. Signed-off-by: Pavel Machek diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss.c b/drivers/video/fbdev/omap2/omapfb/dss/dss.c index 48c6500..990f1c9 100644 --- a/drivers/video/fbdev/omap2/omapfb/dss/dss.c +++ b/drivers/video/fbdev/omap2/omapfb/dss/dss.c

Re: [PATCH] libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export

2018-02-26 Thread Christian König
Am 26.02.2018 um 13:37 schrieb Satyajit Sahu: From: Satyajit Currently while exporting prime handle to fd read write access is not granted. mmap fails because of this. mmap was not supported on prime initially. Here is link to related discussion https://lists.freedesktop.org/archives/dri-devel/

[PATCH] libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export

2018-02-26 Thread Satyajit Sahu
From: Satyajit Currently while exporting prime handle to fd read write access is not granted. mmap fails because of this. mmap was not supported on prime initially. Here is link to related discussion https://lists.freedesktop.org/archives/dri-devel/2017-February/131840.html Adding the DRM_RDWR f

[PATCH] drm: clarify adjusted_mode for a bridge connected to a crtc

2018-02-26 Thread Philippe Cornu
This patch clarifies the adjusted_mode documentation for a bridge directly connected to a crtc. Signed-off-by: Philippe Cornu --- This patch is linked to the discussion https://lkml.org/lkml/2018/1/25/367 include/drm/drm_bridge.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[Bug 105248] [CI] igt@gem_busy@extended-* - fail - Failed assertion: write[0] == ring - and skips on other gem tests.

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105248 Marta Löfstedt changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Marta Löfst

[Bug 94147] Sometimes Xorg freezes after dpms off

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94147 Lukas Wunner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Applied "regmap: mmio: Add function to attach a clock" to the regmap tree

2018-02-26 Thread Mark Brown
The patch regmap: mmio: Add function to attach a clock has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [v2,03/10] drm/sun4i: Protect the TCON pixel clocks

2018-02-26 Thread Maxime Ripard
On Sat, Feb 24, 2018 at 12:31:36AM +0100, Giulio Benetti wrote: > Il 21/02/2018 10:20, Maxime Ripard ha scritto: > > From: Maxime Ripard > > > > Both TCON clocks are very sensitive to clock changes, since any change > > might lead to improper timings. > > > > Make sure our rate is never changed.

Re: [PATCH] drm/sun4i: link in front-end code if needed

2018-02-26 Thread Chen-Yu Tsai
On Mon, Feb 26, 2018 at 6:53 PM, Maxime Ripard wrote: > On Mon, Feb 26, 2018 at 10:31:51AM +0100, Arnd Bergmann wrote: >> On Mon, Feb 26, 2018 at 10:21 AM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Fri, Feb 23, 2018 at 02:06:52PM +0100, Arnd Bergmann wrote: >> >> When the base sun4i DRM drive

Re: [PATCH] drm/sun4i: link in front-end code if needed

2018-02-26 Thread Maxime Ripard
On Mon, Feb 26, 2018 at 10:31:51AM +0100, Arnd Bergmann wrote: > On Mon, Feb 26, 2018 at 10:21 AM, Maxime Ripard > wrote: > > Hi, > > > > On Fri, Feb 23, 2018 at 02:06:52PM +0100, Arnd Bergmann wrote: > >> When the base sun4i DRM driver is built-in but the back-end is > >> a loadable module, we ru

Re: [PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-26 Thread Chen-Yu Tsai
On Mon, Feb 26, 2018 at 6:25 PM, Maxime Ripard wrote: > On Mon, Feb 26, 2018 at 05:43:01PM +0800, Chen-Yu Tsai wrote: >> On Mon, Feb 26, 2018 at 5:38 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Sat, Feb 24, 2018 at 10:45:31PM +0100, Jernej Skrabec wrote: >> >> Some NM PLLs doesn't work well

Re: [PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-26 Thread Maxime Ripard
On Mon, Feb 26, 2018 at 05:43:01PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 26, 2018 at 5:38 PM, Maxime Ripard > wrote: > > Hi, > > > > On Sat, Feb 24, 2018 at 10:45:31PM +0100, Jernej Skrabec wrote: > >> Some NM PLLs doesn't work well when their output clock rate is set below > >> certain rate. >

Re: [PATCH] drm/pl111: Remove reverse dependency on DRM_DUMB_VGA_DAC

2018-02-26 Thread Archit Taneja
On Tuesday 20 February 2018 04:44 PM, Archit Taneja wrote: On Tuesday 20 February 2018 03:59 PM, Thierry Reding wrote: From: Thierry Reding DRM_DUMB_VGA_DAC is a user-visible symbol. Selecting it can cause unmet direct dependencies such as this (on i386, randconfig): warning: (DRM_PL1

Re: [PATCH 0/4] drm/tilcdc: Add DRM panel support and use it for am335x-evm

2018-02-26 Thread Tomi Valkeinen
On 22/02/18 19:07, Jyri Sarha wrote: > The first patch adds support for drm panels to tilcdc. The second is > just for convenience. The third adds support for am335x-evm's panel to > panel-simple driver. The third changes am335x-evm's dts file to use > panel-simple instead of tilcdc's bundled dpi-p

Re: [PATCH v3 05/10] pwm: add PWM mode to pwm_config()

2018-02-26 Thread Jani Nikula
On Thu, 22 Feb 2018, Daniel Thompson wrote: > On Thu, Feb 22, 2018 at 02:01:16PM +0200, Claudiu Beznea wrote: >> Add PWM mode to pwm_config() function. The drivers which uses pwm_config() >> were adapted to this change. >> >> Signed-off-by: Claudiu Beznea >> --- >> arch/arm/mach-s3c24xx/mach-rx

[PATCH] drm/msm: fix building without debugfs

2018-02-26 Thread Arnd Bergmann
The adreno driver stopped building when CONFIG_DEBUGFS is disabled: drivers/gpu/drm/msm/adreno/adreno_device.c: In function 'adreno_load_gpu': drivers/gpu/drm/msm/adreno/adreno_device.c:153:16: error: 'const struct msm_gpu_funcs' has no member named 'debugfs_init' if (gpu->funcs->debugfs_init)

Re: [PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-26 Thread Chen-Yu Tsai
On Mon, Feb 26, 2018 at 5:38 PM, Maxime Ripard wrote: > Hi, > > On Sat, Feb 24, 2018 at 10:45:31PM +0100, Jernej Skrabec wrote: >> Some NM PLLs doesn't work well when their output clock rate is set below >> certain rate. >> >> Add support for that constrain. > > In such a case, you should round th

Re: [PATCH 08/15] drm/sun4i: Fix polarity configuration for DW HDMI PHY

2018-02-26 Thread Maxime Ripard
Hi, On Sat, Feb 24, 2018 at 10:45:38PM +0100, Jernej Skrabec wrote: > Current polarity configuration code is cleary wrong since it compares > same flag two times. However, even if flag name is fixed, it won't work > well for resolutions which have one polarity positive and another > negative. > >

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 Bug ID: 105251 Summary: [Vega10] GPU lockup on boot: VMC page fault Product: DRI Version: DRI git Hardware: Other OS: Linux (All) Status: NEW Severity:

Re: [PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-26 Thread Maxime Ripard
Hi, On Sat, Feb 24, 2018 at 10:45:31PM +0100, Jernej Skrabec wrote: > Some NM PLLs doesn't work well when their output clock rate is set below > certain rate. > > Add support for that constrain. In such a case, you should round the rate to the minimum the clock can operate at, and not return an

[Bug 105248] [CI] igt@gem_busy@extended-* - fail - Failed assertion: write[0] == ring - and skips on other gem tests.

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105248 Chris Wilson changed: What|Removed |Added Status|NEW |RESOLVED Assignee|intel-gfx-bu

Re: [PATCH] drm/sun4i: link in front-end code if needed

2018-02-26 Thread Arnd Bergmann
On Mon, Feb 26, 2018 at 10:21 AM, Maxime Ripard wrote: > Hi, > > On Fri, Feb 23, 2018 at 02:06:52PM +0100, Arnd Bergmann wrote: >> When the base sun4i DRM driver is built-in but the back-end is >> a loadable module, we run into a link error: >> >> drivers/gpu/drm/sun4i/sun4i_drv.o: In function `su

Re: [PATCH] drm/sun4i: link in front-end code if needed

2018-02-26 Thread Maxime Ripard
Hi, On Fri, Feb 23, 2018 at 02:06:52PM +0100, Arnd Bergmann wrote: > When the base sun4i DRM driver is built-in but the back-end is > a loadable module, we run into a link error: > > drivers/gpu/drm/sun4i/sun4i_drv.o: In function `sun4i_drv_probe': > sun4i_drv.c:(.text+0x60c): undefined reference

Re: [PATCH RFC] drm/sun4i: Enable the output on the pins (tcon0)

2018-02-26 Thread Maxime Ripard
On Thu, Feb 22, 2018 at 05:12:17PM +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > I noticed that with 4.16-rc1 LVDS output on A83T based TBS A711 tablet doesn't > work (there's output but it's garbled). I compared some older patches for LVDS > support with the mainlined ones and this c

[PATCH 1/6] cec: add core error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Add two new ops (error_inj_show and error_inj_parse_line) to support error injection functionality for CEC adapters. If both are present, then the core will add a new error-inj debugfs file that can be used to see the current error injection commands and to set error injection

[PATCH 4/6] cec-pin-error-inj: parse/show error injection

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Add support to the CEC Pin framework to parse error injection commands and to show them. The next patch will do the actual implementation of this. Signed-off-by: Hans Verkuil --- drivers/media/cec/Kconfig | 6 + drivers/media/cec/Makefile| 4 + d

[PATCH 6/6] cec-pin-error-inj.rst: document CEC Pin Error Injection

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil The CEC Pin framework adds support for Error Injection. Document all the error injections commands and how to use it. Signed-off-by: Hans Verkuil --- .../media/cec-drivers/cec-pin-error-inj.rst| 321 + Documentation/media/cec-drivers/index.rst

[PATCH 0/6] cec: add error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil This patch series adds support for CEC error injection for drivers using the CEC Pin Framework (cec-pin.c). There are two CEC drivers currently using this framework: the sun4i Allwinner A10/A20 driver and the cec-gpio driver. This patch series was developed with the cec-gpio dr

[PATCH 3/6] cec-pin: create cec_pin_start_timer() function

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil This function will be needed for injecting a custom pulse. Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-pin-priv.h | 2 ++ drivers/media/cec/cec-pin.c | 21 + 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/media/cec

[PATCH 2/6] cec-core.rst: document the error injection ops.

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Document the new core error injection callbacks. Signed-off-by: Hans Verkuil --- Documentation/media/kapi/cec-core.rst | 72 ++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/Documentation/media/kapi/cec-core.rst b/Documentati

[PATCH 5/6] cec-pin: add error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Implement all the error injection commands. The state machine gets new states for the various error situations, helper functions are added to detect whether an error injection is active and the actual error injections are implemented. Signed-off-by: Hans Verkuil --- drivers

[PATCH 07/15] drm/sun4i: Add support for H3 mixer 0

2018-02-26 Thread Jernej Skrabec
This mixer supports 1 VI plane, 3 UI plane and HW scaling on all planes. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c index 9b0256

[PATCH 00/15] Implement H3/H5 HDMI driver

2018-02-26 Thread Jernej Skrabec
This series implements H3/H5 HDMI driver. It was tested on OrangePi 2 (H3), OrangePi Plus2e (H3) and OrangePi PC2 (H5) with many resolutions and it works well, except in some not yet determined cases, when there is a crash at boot if HDMI monitor is connected. If it is connected later, everything w

Re: [PATCH v3 01/10] pwm: extend PWM framework with PWM modes

2018-02-26 Thread Claudiu Beznea
I'll rebase it on latest for-next in next version. Thank you, Claudiu Beznea On 24.02.2018 22:49, kbuild test robot wrote: > Hi Claudiu, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on pwm/for-next] > [also build test WARNING on v4.16-rc2 next-20180223

[PATCH 12/15] drm/sun4i: Allow building on arm64

2018-02-26 Thread Jernej Skrabec
64-bit ARM SoCs from Allwinner have DE2/TCON/HDMI periphery which is compatible to 32-bit SoCs, so allow building DRM driver for arm64 architecture. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH 10/15] drm/sun4i: Move and expand DW HDMI PHY register macros

2018-02-26 Thread Jernej Skrabec
DW HDMI PHY macros are moved to header file and expanded with the registers present on newer SoCs like H3 and H5. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 130 + drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 16 2 files changed,

[PATCH 02/15] clk: sunxi-ng: h3: h5: Add minimal rate for video PLL

2018-02-26 Thread Jernej Skrabec
Although user manuals for H3 and H5 SoCs state that minimal rate supported by video PLL is around 30 MHz, it seems that in reality minimal rate is around 192 MHz. Experiments showed that any rate below 96 MHz doesn't produce any video output at all. Even at this frequency, stable output depends on

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Icenowy Zheng
于 2018年2月25日 GMT+08:00 下午5:06:32, Julian Calaby 写到: >Hi Icenowy, > >On Sun, Feb 25, 2018 at 7:43 PM, Icenowy Zheng wrote: >> >> >> 于 2018年2月25日 GMT+08:00 下午4:11:34, Julian Calaby > 写到: >>>Hi Jernej, >>> >>>On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec >>> wrote: Enable HDMI output on all

Re: [PATCH v6 3/4] drm: rcar-du: Fix legacy DT to create LVDS encoder nodes

2018-02-26 Thread Frank Rowand
On 02/22/18 14:10, Frank Rowand wrote: > Hi Laurent, Rob, > > Thanks for the prompt spin to address my concerns. There are some small > technical issues. > > I did not read the v3 patch until today. v3 through v6 are still using the > old overlay apply method which uses an expanded device tree

[PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-26 Thread Jernej Skrabec
Some NM PLLs doesn't work well when their output clock rate is set below certain rate. Add support for that constrain. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu_nm.c | 11 +++ drivers/clk/sunxi-ng/ccu_nm.h | 27 +++ 2 files changed, 34 insertions

[PATCH hwc RFC] drm_hwcomposer: Enable and refactor Separate Rects test

2018-02-26 Thread Rhys Kidd
Plumb through the existing test based on known sample data for the Separate Rect algorithm via Android's NATIVE_TEST harness. Change-Id: I82b5ab8ed97e338fd20b7e38b4b35ac8c53f4d2d Signed-off-by: Rhys Kidd --- separate_rects.cpp| 99 - tests/And

[PATCH 05/15] dt-bindings: display: sun4i-drm: Add compatibles for H3 HDMI pipeline

2018-02-26 Thread Jernej Skrabec
Add missing compatibles for H3 HDMI pipeline. These compatibles can also be used with H5 SoC. Signed-off-by: Jernej Skrabec --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/

[PATCH 06/15] drm/sun4i: Add support for H3 display engine

2018-02-26 Thread Jernej Skrabec
H3 display engine has two mixers which are connected to HDMI and TV output. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 3957c2ff6870..a0f43b81c

[PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Jernej Skrabec
Enable HDMI output on all boards which have HDMI connector. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts| 25 ++ arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 25 ++ arch/arm/boot/dts/sun8i-h3-libretech-all-h

[PATCH] drm: vc4_hdmi: Replace long udelay with usleep_range

2018-02-26 Thread Stefan Wahren
Since we aren't in atomic context replace this long udelay with a usleep_range. Signed-off-by: Stefan Wahren --- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 984501e..1a6db

[PATCH 13/15] ARM: dts: sunxi: h3/h5: Add HDMI pipeline

2018-02-26 Thread Jernej Skrabec
This commit adds all entries needed for HDMI to function properly. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 108 + 1 file changed, 108 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5

[PATCH hwc v1] drm_hwcomposer: Fix comment on worker_test

2018-02-26 Thread Rhys Kidd
Reflect the boolean logic of the accompanying code, which is run after Worker.InitWorker() has completed in test setup. Change-Id: If5187bdaa944c5d74a70c55b5b5e58e1baa20511 Signed-off-by: Rhys Kidd --- tests/worker_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test

[PATCH 08/15] drm/sun4i: Fix polarity configuration for DW HDMI PHY

2018-02-26 Thread Jernej Skrabec
Current polarity configuration code is cleary wrong since it compares same flag two times. However, even if flag name is fixed, it won't work well for resolutions which have one polarity positive and another negative. Fix that by properly set each bit according to each polarity. Since those two bi

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Julian Calaby
Hi Icenowy, On Sun, Feb 25, 2018 at 7:43 PM, Icenowy Zheng wrote: > > > 于 2018年2月25日 GMT+08:00 下午4:11:34, Julian Calaby 写到: >>Hi Jernej, >> >>On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec >> wrote: >>> Enable HDMI output on all boards which have HDMI connector. >>> >>> Signed-off-by: Jernej Sk

[PATCH 03/15] clk: sunxi-ng: h3: h5: Allow some clocks to set parent rate

2018-02-26 Thread Jernej Skrabec
Some units have to be able to set it's own clock precisely to work correctly. Allow them to do so by adding CLK_SET_RATE_PARENT flag. Add this flag to DE, TCON and HDMI clocks. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 9 ++--- 1 file changed, 6 insertions(+),

[PATCH 09/15] drm/sun4i: Add support for variants to DW HDMI PHY

2018-02-26 Thread Jernej Skrabec
There are multiple variants of DW HDMI PHYs in Allwinner SoCs. While some things like clock and reset setup are the same, PHY configuration differs a lot. Split out code which is PHY specific to separate functions and create a structure which holds pointers to those functions. Signed-off-by: Jern

[PATCH 15/15] ARM64: dts: sun50i: h5: Enable HDMI output on H5 boards

2018-02-26 Thread Jernej Skrabec
Enable HDMI output on all boards with HDMI connector. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 25 ++ .../dts/allwinner/sun50i-h5-orangepi-prime.dts | 25 ++ .../allwinner/sun50i-h5-orangepi-zero-plus2.dts

Re: [PATCH v6 3/4] drm: rcar-du: Fix legacy DT to create LVDS encoder nodes

2018-02-26 Thread Frank Rowand
On 02/23/18 11:56, Laurent Pinchart wrote: > Hi Frank, > > On Friday, 23 February 2018 21:43:17 EET Frank Rowand wrote: >> On 02/23/18 01:00, Laurent Pinchart wrote: >>> On Friday, 23 February 2018 04:38:06 EET Frank Rowand wrote: On 02/22/18 14:10, Frank Rowand wrote: > Hi Laurent, Rob,

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Icenowy Zheng
于 2018年2月25日 GMT+08:00 下午4:11:34, Julian Calaby 写到: >Hi Jernej, > >On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec > wrote: >> Enable HDMI output on all boards which have HDMI connector. >> >> Signed-off-by: Jernej Skrabec >> --- >> arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts| 25 >

[PATCH 04/15] clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO

2018-02-26 Thread Jernej Skrabec
CLK_PLL_VIDEO needs to be referenced in HDMI DT entry as a possible PHY clock parent. Export it so it can be used later in DT. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-h3.h | 4 +++- include/dt-bindings/clock/sun8i-h3-ccu.h | 2 ++ 2 files changed, 5 insertions(+),

[PATCH 11/15] drm/sun4i: Add support for H3 HDMI PHY variant

2018-02-26 Thread Jernej Skrabec
While A83T HDMI PHY seems to be just customized Synopsys HDMI PHY, H3 HDMI PHY is completely custom PHY. However, they still have many things in common like clock and reset setup, setting sync polarity and more. Add support for H3 HDMI PHY variant. While documentation exists for this PHY variant

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Julian Calaby
Hi Jernej, On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec wrote: > Enable HDMI output on all boards which have HDMI connector. > > Signed-off-by: Jernej Skrabec > --- > arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts| 25 > ++ > arch/arm/boot/dts/sun8i-h3-beelink-x2.dt

Re: [PATCH 0/9] drm/xen-front: Add support for Xen PV display frontend

2018-02-26 Thread Oleksandr Andrushchenko
** *Hi, all!* * Last *Friday* some concerns on #dri-devel were raised wrt "yet another driver" for Xen and why not virtio-gpu. Let me highlight on why we need a new paravirtualized driver for Xen and why we can't just use virtio. Hope this helps the communities (both Xen and DRI) to have be

[Bug 104274] Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock)

2018-02-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104274 --- Comment #9 from Luke McKee --- Using Polairs 11 I get the same error message btw when loading the latest (today) amd-drm-staging-next. I'll include debugging symbols and try again. Feb 26 14:56:18 hojuruku kernel: Linux agpgart interface v0

<    1   2