Re: [PATCH V1 5/5] backlight: qcom-wled: Add auto string detection logic

2018-05-15 Thread Bjorn Andersson
On Wed 09 May 00:14 PDT 2018, kgu...@codeaurora.org wrote: > On 2018-05-07 23:40, Bjorn Andersson wrote: > > On Thu 03 May 02:57 PDT 2018, Kiran Gunda wrote: > > > > [..] > > > + > > > +#define WLED_AUTO_DETECT_OVP_COUNT 5 > > > +#define WLED_AUTO_DETECT_CNT_DLY_US HZ /

[RFC PATCH 02/10] dt-bindings: devfreq: rk3399_dmc: Add rockchip, pmu phandle.

2018-05-15 Thread Enric Balletbo i Serra
The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU general register files to know the DRAM type, so add a phandle to the syscon that manages these registers. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 ++ 1 file cha

[PATCH] drm/vkms: Introduce basic VKMS driver

2018-05-15 Thread Haneen Mohammed
This patch introduces Virtual Kernel Mode-Setting (VKMS) driver. It creates a very basic kms driver with 1 crtc/encoder/connector/plane. VKMS driver would be useful for testing, or for running X (or similar) on headless machines and be able to still use the GPU. Thus it enables a virtual display w

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Jagan Teki
On Mon, May 14, 2018 at 2:10 PM, Maxime Ripard wrote: > On Mon, May 14, 2018 at 02:03:36PM +0530, Jagan Teki wrote: >> On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Mon, Apr 30, 2018 at 05:10:46PM +0530, Jagan Teki wrote: >> >> + hdmi_phy: hdmi-phy@1ef

Re: [PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs

2018-05-15 Thread Jagan Teki
On Tue, May 1, 2018 at 9:53 PM, Chen-Yu Tsai wrote: > On Mon, Apr 30, 2018 at 7:40 PM, Jagan Teki > wrote: >> Allwinner 64-bit SoC like H5/A64 has DE2 CCU so enable them >> as default. >> >> Signed-off-by: Jagan Teki >> --- >> drivers/clk/sunxi-ng/Kconfig | 2 ++ >> 1 file changed, 2 insertion

Re: [PATCH v3] display: panel: Add AUO g070vvn01 display support (800x480)

2018-05-15 Thread Lukasz Majewski
Dear All, > This commit adds support for AUO's 7.0" display. If I may gentle remind about this patch > > Signed-off-by: Lukasz Majewski > > --- > Changes for v3: > - Remove not used 'bus-format-override = "rgb565";' property > > Changes for v2: > - Add *.txt suffix to the auo,g070wn01 f

Re: [PATCH rdma-next 01/21] drm/i915: Move u64-to-ptr helpers to general header

2018-05-15 Thread Jason Gunthorpe
On Thu, May 03, 2018 at 04:36:55PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > The macro u64_to_ptr() and function ptr_to_u64() are useful enough > to be part of general header, so move them there and allow RDMA > subsystem reuse them. > > Signed-off-by: Leon Romanovsky > --- > d

[PATCH v3 3/4] phy: rockchip-typec: support variable phy config value

2018-05-15 Thread Lin Huang
the phy config values used to fix in dp firmware, but some boards need change these values to do training and get the better eye diagram result. So support that in phy driver. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang --- Changes in v2: - update patch following Enric suggest Changes in

Re: [PATCH 4/6] drm/panel: simple: Add support for Banana Pi 7" S070WV20-CT16 panel

2018-05-15 Thread Jagan Teki
On Thu, Apr 19, 2018 at 3:02 PM, Chen-Yu Tsai wrote: > This panel is marketed as Banana Pi 7" LCD display. On the back is > a sticker denoting the model name S070WV20-CT16. > > This is a 7" 800x480 panel connected through a 24-bit RGB interface. > However the panel only does 262k colors. > > Signe

[RFC PATCH 08/10] drm: rockchip: Add DDR devfreq support.

2018-05-15 Thread Enric Balletbo i Serra
From: Sean Paul Add support for devfreq to dynamically control the DDR frequency. It will activate when there is one CRTC active, and disable if more than one becomes active (to avoid flickering on one of the screens). Signed-off-by: Sean Paul Signed-off-by: Enric Balletbo i Serra --- driver

[PATCH v4 2/4] Documentation: bindings: add phy_config for Rockchip USB Type-C PHY

2018-05-15 Thread Lin Huang
If want to do training outside DP Firmware, need phy voltage swing and pre_emphasis value. Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v3: - modify property description and add this property to Example Change in v4: - None .../devicetree/bindings/phy/phy-rockchip-typec.txt |

[PATCH v3 RESEND] display: panel: Add AUO g070vvn01 display support (800x480)

2018-05-15 Thread Lukasz Majewski
This commit adds support for AUO's 7.0" display. Signed-off-by: Lukasz Majewski Reviewed-by: Rob Herring --- Changes for v3: - Remove not used 'bus-format-override = "rgb565";' property Changes for v2: - Add *.txt suffix to the auo,g070wn01 file --- .../bindings/display/panel/auo,g070vvn01.tx

Re: [PATCH v5 1/4] drm/bridge: add support for sn65dsi86 bridge driver

2018-05-15 Thread spanda
On 2018-05-03 00:33, Sean Paul wrote: On Wed, May 02, 2018 at 10:01:59AM +0530, Sandeep Panda wrote: Add support for TI's sn65dsi86 dsi2edp bridge chip. The chip converts DSI transmitted signal to eDP signal, which is fed to the connected eDP panel. This chip can be controlled via either i2c in

Re: [PATCH] dma-fence: Make dma_fence_add_callback() fail if signaled with error

2018-05-15 Thread Ezequiel Garcia
On Mon, 2018-05-14 at 18:48 +0200, Daniel Vetter wrote: > On Fri, May 11, 2018 at 08:27:41AM +0100, Chris Wilson wrote: > > Quoting Ezequiel Garcia (2018-05-09 21:14:49) > > > Change how dma_fence_add_callback() behaves, when the fence > > > has error-signaled by the time it is being add. After thi

[RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-15 Thread Enric Balletbo i Serra
Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra --- drivers/devfreq/event/rockchip-dfi.c | 23 +++ includ

[RFC PATCH 05/10] devfreq: rk3399_dmc / clk: rockchip: Sync with vblank in the kernel for DDRfreq.

2018-05-15 Thread Enric Balletbo i Serra
From: Derek Basehore This changes the kernel to sync with vblank for the display in the kernel. This was done in Trusted Firmware-A (TF-A) before, but that locks up one CPU for up to one display frame (1/60 second). That's bad for performance and power, so this moves waiting to the kernel where t

[PATCH v6 3/4] drm/panel: add Innolux TV123WAM panel driver support

2018-05-15 Thread Sandeep Panda
Add support for Innolux TV123WAM, which is a 12.3" eDP display panel with 2160x1440 resolution. Changes in v1: - Add the compatibility string, display_mode and panel_desc structures in alphabetical order (Sean Paul). Signed-off-by: Sandeep Panda --- drivers/gpu/drm/panel/panel-simple.c | 27

Re: drm SPDX updates

2018-05-15 Thread Dirk Hohndel
On Mon, May 14, 2018 at 05:01:43PM +0200, Thomas Hellstrom wrote: > > I haven't seen any comments in the week since I wrote this. I'm not > > familiar with the process for the drm changes - so what are the usual next > > steps? Do I need to submit all or part of this somewhere else? Or does > > Dav

Re: [RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-15 Thread Chanwoo Choi
Hi Enric, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > Some rk3399 GRF (Generic Register Files) definitions can be used for > different drivers. Move these definitions to a common include so we > don't need to duplicate these definitions. > > Signed-off-by: Enric Balletbo i Serra > --

Re: [PATCH V1 5/5] backlight: qcom-wled: Add auto string detection logic

2018-05-15 Thread kgunda
On 2018-05-14 22:32, Bjorn Andersson wrote: On Wed 09 May 00:14 PDT 2018, kgu...@codeaurora.org wrote: On 2018-05-07 23:40, Bjorn Andersson wrote: > On Thu 03 May 02:57 PDT 2018, Kiran Gunda wrote: > > [..] > > + > > +#define WLED_AUTO_DETECT_OVP_COUNT 5 > > +#define WLED_AUTO_DETECT_

Re: [PATCH] gpu: drm: qxl: Adding new typedef vm_fault_t

2018-05-15 Thread Souptick Joarder
On Mon, May 14, 2018 at 2:32 PM, Gerd Hoffmann wrote: > Hi, > >> > So my expectation that a backmerge happens anyway after -rc1/2 is in >> > line with reality, it is just to be delayed this time. I'll stay >> > tuned ;) >> >> Is this patch already merged in drm-misc-next tree ? > > Pushed now.

[PATCH] staging: android: ion: Check return value of ion_buffer_kmap_get

2018-05-15 Thread Nathan Chancellor
GCC warns that vaddr is set but unused. Check the return value of ion_buffer_kmap_get to make vaddr useful and make sure everything is properly configured before beginning a DMA. Suggested-by: Laura Abbott Signed-off-by: Nathan Chancellor --- drivers/staging/android/ion/ion.c | 10 -- 1

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-15 Thread Peter Rosin
On 2018-05-14 18:28, Daniel Vetter wrote: > On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: >> On 2018-05-10 10:10, Andrzej Hajda wrote: >>> On 04.05.2018 15:52, Peter Rosin wrote: If the bridge supplier is unbound, this will bring the bridge consumer down along with the brid

Re: [PATCH V1 2/5] backlight: qcom-wled: Add support for WLED4 peripheral

2018-05-15 Thread kgunda
On 2018-05-14 22:27, Pavel Machek wrote: Hi! WLED4 peripheral is present on some PMICs like pmi8998 and pm660l. It has a different register map and also configurations are different. Add support for it. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/qcom-wled.txt | 172 +

Re: [PATCH v5 3/4] drm/panel: add Innolux TV123WAM panel driver support

2018-05-15 Thread spanda
On 2018-05-03 00:35, Sean Paul wrote: On Wed, May 02, 2018 at 10:02:01AM +0530, Sandeep Panda wrote: Add support for Innolux TV123WAM, which is a 12.3" eDP display panel with 2160x1440 resolution. Signed-off-by: Sandeep Panda --- drivers/gpu/drm/panel/panel-simple.c | 27 +

[PATCH v4 1/4] drm/rockchip: add transfer function for cdn-dp

2018-05-15 Thread Lin Huang
From: Chris Zhong We may support training outside firmware, so we need support dpcd read/write to get the message or do some setting with display. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang Reviewed-by: Sean Paul Reviewed-by: Enric Balletbo --- Changes in v2: - update patch followin

Re: [RFC PATCH 02/10] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

2018-05-15 Thread Chanwoo Choi
Hi, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU > general register files to know the DRAM type, so add a phandle to the > syscon that manages these registers. > > Signed-off-by: Enric Balletbo i Serra > --- > >

[RFC PATCH 04/10] devfreq: rk3399_dmc / rockchip: pm_domains: Register notify to DMC driver.

2018-05-15 Thread Enric Balletbo i Serra
From: Lin Huang The DMC (Dynamic Memory Interface) controller does a SiP call to the Trusted Firmware-A (TF-A) to change the DDR clock frequency. When this happens the TF-A writes to the PMU bus idle request register (PMU_BUS_IDLE_REQ) but at the same time it is possible that the Rockchip power d

[RFC PATCH 09/10] arm64: dts: rk3399: Add dfi and dmc nodes.

2018-05-15 Thread Enric Balletbo i Serra
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. The patch also introduces two new files (rk3399-dram.h and rk3399-dram-default-timing) with default DRAM settings. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra --- .../rockchip/rk3399-dram-default-ti

[PATCH v3 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-15 Thread Lin Huang
DP firmware uses fixed phy config values to do training, but some boards need to adjust these values to fit for their unique hardware design. So if the phy is using custom config values, do software link training instead of relying on firmware, if software training fail, keep firmware training as a

[PATCH v6 4/4] dt-bindings: drm/panel: Document Innolux TV123WAM panel bindings

2018-05-15 Thread Sandeep Panda
Innolux TV123WAM is a 12.3" eDP display panel with 2160x1440 resolution, which can be supported by simple panel driver. Changes in v1: - Make use of simple panel driver instead of creating a new driver for this panel (Sean Paul). - Combine dt-binding and driver changes into one patch as do

[PATCH v6 1/4] drm/bridge: add support for sn65dsi86 bridge driver

2018-05-15 Thread Sandeep Panda
Add support for TI's sn65dsi86 dsi2edp bridge chip. The chip converts DSI transmitted signal to eDP signal, which is fed to the connected eDP panel. This chip can be controlled via either i2c interface or dsi interface. Currently in driver all the control registers are being accessed through i2c i

[PATCH v3 2/4] Documentation: bindings: add phy_config for Rockchip USB Type-C PHY

2018-05-15 Thread Lin Huang
If want to do training outside DP Firmware, need phy voltage swing and pre_emphasis value. Signed-off-by: Lin Huang --- Changes in v2: - rebase Changes in v3: - modify property description and add this property to example .../devicetree/bindings/phy/phy-rockchip-typec.txt | 29 +

[PATCH v4 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-15 Thread Lin Huang
DP firmware uses fixed phy config values to do training, but some boards need to adjust these values to fit for their unique hardware design. So get phy config values from dts and use software link training instead of relying on firmware, if software training fail, keep firmware training as a fallb

[RFC PATCH 07/10] clk: rockchip: set clk-ddr to GET_RATE_NOCACHE.

2018-05-15 Thread Enric Balletbo i Serra
From: Derek Basehore This adds the flag to the clk-ddr in rockchip to not use the cached rate for get_rate. This is to handle timeout error conditions in SMC for the set rate function. Signed-off-by: Derek Basehore Signed-off-by: Enric Balletbo i Serra --- drivers/clk/rockchip/clk-ddr.c | 2

[RFC PATCH 06/10] devfreq: rk3399_dmc / clk: rockchip: Disable DDR clk timeout on suspend.

2018-05-15 Thread Enric Balletbo i Serra
From: Derek Basehore This disables the timeout for the DDR clk when the governor is suspended or stopped. This makes sure that the suspend frequency is set. It also makes sure that the userspace governor will be able to change the frequency without failing. Signed-off-by: Derek Basehore Signed-

[PATCH v6 0/4] Add suppport for sn65dsi86 bridge chip and Innolux 2k edp panel

2018-05-15 Thread Sandeep Panda
Changes in current patchset: - Use PM runtime based ref-counting instead of local ref_count mechanism. - Simplify dp rate calculation. - Add support to configure refclk based on input REFCLK pin or DACP/N pin. - Add compatibility string and display_mode structure to simple panel driver in al

[RFC PATCH 10/10] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2018-05-15 Thread Enric Balletbo i Serra
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru/kevin boards so we can support DDR DVFS. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 21 arch/arm

Re: [PATCH] gpu: host1x: Acquire a reference to the IOVA cache

2018-05-15 Thread Dmitry Osipenko
On 14.05.2018 13:13, Thierry Reding wrote: > From: Thierry Reding > > The IOVA API uses a memory cache to allocate IOVA nodes from. To make > sure that this cache is available, obtain a reference to it and release > the reference when the cache is no longer needed. > > On 64-bit ARM this is hidd

[PATCH v6 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-05-15 Thread Sandeep Panda
Document the bindings used for the sn65dsi86 DSI to eDP bridge. Changes in v1: - Rephrase the dt-binding descriptions to be more inline with existing bindings (Andrzej Hajda). - Add missing dt-binding that are parsed by corresponding driver (Andrzej Hajda). Changes in v2: - Remove edp pa

[RFC PATCH 00/10] Add support for drm/rockchip to dynamically control the DDR frequency.

2018-05-15 Thread Enric Balletbo i Serra
Dear all, The rk3399 platform has a DFI controller that can monitor DDR load and a DMC driver that talks with the TF-A (Trusted Firmware-A) to dynamically set the DDR frequency with following flow. kernel Trusted Firmware-A

[PATCH v3 1/4] drm/rockchip: add transfer function for cdn-dp

2018-05-15 Thread Lin Huang
From: Chris Zhong We may support training outside firmware, so we need support dpcd read/write to get the message or do some setting with display. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang Reviewed-by: Sean Paul Reviewed-by: Enric Balletbo --- Changes in v2: - update patch followin

[RFC PATCH 03/10] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2018-05-15 Thread Enric Balletbo i Serra
Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the on-die termination (ODT) and auto power down parameters from kernel, this patch adds the functionality to do this. Also, if DDR clock frequency is lower than the on-die termination (ODT) disable frequency this driver should disab

[PATCH v4 3/4] phy: rockchip-typec: support variable phy config value

2018-05-15 Thread Lin Huang
the phy config values used to fix in dp firmware, but some boards need change these values to do training and get the better eye diagram result. So support that in phy driver. Signed-off-by: Chris Zhong Signed-off-by: Lin Huang --- Changes in v2: - update patch following Enric suggest Changes in

Re: [RFC PATCH 03/10] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2018-05-15 Thread Chanwoo Choi
Hi, On 2018년 05월 15일 06:16, Enric Balletbo i Serra wrote: > Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the > on-die termination (ODT) and auto power down parameters from kernel, > this patch adds the functionality to do this. Also, if DDR clock > frequency is lower than the

Re: drm SPDX updates

2018-05-15 Thread Dirk Hohndel
On Mon, May 14, 2018 at 07:59:56AM +0200, Thomas Gleixner wrote: > Dirk, > > On Mon, 7 May 2018, Dirk Hohndel (VMware) wrote: > > > License clarifications and SPDX headers for a bunch of files which were > > authored by VMware. > > > > This should address the comments made on the previous series

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Jagan Teki
On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard wrote: > Hi, > > On Mon, Apr 30, 2018 at 05:10:46PM +0530, Jagan Teki wrote: >> + hdmi_phy: hdmi-phy@1ef { >> + compatible = "allwinner,sun50i-a64-hdmi-phy", >> + "allwinner,sun8i-h3-

[Bug 106519] Is it normal that the 4K video on the Vega 56 GPU played with loud turbine noise, 200% load of the desktop Core i7 CPU and at the same time playable with jerks and dropping frames?

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106519 --- Comment #3 from Christian König --- > $ mpv --hwdec=vaapi Downloads/WE\ GOT\ INTEL\'S\ PROTOTYPE\ GRAPHICS\ > CARD.webm > Playing: Downloads/WE GOT INTEL'S PROTOTYPE GRAPHICS CARD.webm > (+) Video --vid=1 (*) (vp9 3840x2160 29.970fps) > Fa

Re: [RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
Hi Hans, Thanks for the extensive review. On 15/05/2018 08:58, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> The Chrome OS Embedded Controller can expose a CEC bus, this patch add the >> driver for such feature of the Embedded Controller. >> >> This driver is part of the

[Bug 199693] System freeze after resuming from suspend (amdgpu)

2018-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199693 Zhang Rui (rui.zh...@intel.com) changed: What|Removed |Added Status|NEW |RESOLVED Compo

Re: [RFC PATCH 2/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:27, Hans Verkuil wrote: > Hi Neil, > > Thanks for this patch series! > > Some comments below: > > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> In non device-tree world, we can need to get the notifier by the driver >> name directly and eventually defer probe if not yet creat

Re: [RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:34, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >> The changes will allow the i915

Re: [RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:29, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >> The changes will allow the i915

[Bug 106522] QA Notice

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106522 Michel Dänzer changed: What|Removed |Added QA Contact|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

Re: [PATCH v2 2/2] drm/bridge: sii902x: add optional power supplies

2018-05-15 Thread Laurent Pinchart
Hi Philippe, On Monday, 14 May 2018 21:58:48 EEST Philippe CORNU wrote: > On 05/14/2018 12:33 PM, Andrzej Hajda wrote: > > On 14.05.2018 11:38, Philippe CORNU wrote: > >> On 04/25/2018 09:53 AM, Philippe Cornu wrote: > >>> Add the optional power supplies using the description found in > >>> "SiI90

Re: [RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Hans Verkuil
On 05/15/18 09:25, Neil Armstrong wrote: > Hi Hans, > > Thanks for the extensive review. > > On 15/05/2018 08:58, Hans Verkuil wrote: >> On 05/15/2018 12:40 AM, Neil Armstrong wrote: >>> The Chrome OS Embedded Controller can expose a CEC bus, this patch add the >>> driver for such feature of the

Re: [RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
On 15/05/2018 10:10, Hans Verkuil wrote: > On 05/15/18 09:25, Neil Armstrong wrote: >> Hi Hans, >> >> Thanks for the extensive review. >> >> On 15/05/2018 08:58, Hans Verkuil wrote: >>> On 05/15/2018 12:40 AM, Neil Armstrong wrote: The Chrome OS Embedded Controller can expose a CEC bus, this p

Re: [RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Hans Verkuil
On 05/15/18 10:28, Neil Armstrong wrote: > + int ret; > + > + cros_ec_cec = devm_kzalloc(&pdev->dev, sizeof(*cros_ec_cec), > +GFP_KERNEL); > + if (!cros_ec_cec) > + return -ENOMEM; > + > + platform_set_drvdata(pdev, cros_ec_cec); >

[PATCH][next] drm/xen-front: fix spelling mistake: "conector" -> "connector"

2018-05-15 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DRM_INFO message. Signed-off-by: Colin Ian King --- drivers/gpu/drm/xen/xen_drm_front.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c index 0

Re: linux-next: Signed-off-by missing for commits in the drm-intel tree

2018-05-15 Thread Jani Nikula
On Tue, 15 May 2018, Stephen Rothwell wrote: > Hi all, > > Commits > > cb8ba171ae6c ("drm/i915/gvt: let force_to_nonpriv cmd handler only valid > for LRI cmd") > 0438a1059877 ("drm/i915/gvt: do not return error on handling > force_to_nonpriv registers") > 3d8b9e258b9d ("drm/i915/gvt: let N

Re: [PATCH rdma-next 01/21] drm/i915: Move u64-to-ptr helpers to general header

2018-05-15 Thread Leon Romanovsky
On Mon, May 14, 2018 at 02:10:54PM -0600, Jason Gunthorpe wrote: > On Thu, May 03, 2018 at 04:36:55PM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > The macro u64_to_ptr() and function ptr_to_u64() are useful enough > > to be part of general header, so move them there and allow RD

Re: [PATCH][next] drm/xen-front: fix spelling mistake: "conector" -> "connector"

2018-05-15 Thread Oleksandr Andrushchenko
On 05/15/2018 11:54 AM, Colin King wrote: From: Colin Ian King Trivial fix to spelling mistake in DRM_INFO message. Signed-off-by: Colin Ian King Thank you, Reviewed-by: Oleksandr Andrushchenko Will apply to drm-misc-next --- drivers/gpu/drm/xen/xen_drm_front.c | 2 +- 1 file changed,

[Bug 199693] System freeze after resuming from suspend (amdgpu)

2018-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199693 Thomas Martitz (ku...@rockbox.org) changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 199693] System freeze after resuming from suspend (amdgpu)

2018-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199693 Thomas Martitz (ku...@rockbox.org) changed: What|Removed |Added Kernel Version|v4.17-rc4 |v4.17-rc5 -- You ar

[Bug 199693] System freeze after resuming from suspend (amdgpu)

2018-05-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199693 Thomas Martitz (ku...@rockbox.org) changed: What|Removed |Added Component|Video(DRI - non Intel) |Hibernation/Suspend

Re: [PATCH v3 5/5] drm/arm/malidp: Added the late system pm functions

2018-05-15 Thread Rafael J. Wysocki
On 5/14/2018 12:01 PM, Ayan Halder wrote: On Wed, Apr 25, 2018 at 01:49:35PM +0200, Daniel Vetter wrote: Hi Daniel, On Wed, Apr 25, 2018 at 1:26 PM, Liviu Dudau wrote: On Wed, Apr 25, 2018 at 09:17:22AM +0200, Daniel Vetter wrote: On Tue, Apr 24, 2018 at 07:12:47PM +0100, Ayan Kumar Halder wr

[PULL] drm-intel-next

2018-05-15 Thread Jani Nikula
Hi Dave - So this one contains the problematic pull from gvt. It's got both a backmerge and a rebase. I spotted the rebase, but intentionally let it slide due to the deadline closing, and then completely missed the backmerge. I don't know what I was thinking. My bad, sorry. We'll need to improve

RE: [PULL] drm-intel-next

2018-05-15 Thread Srinivas, Vidya
> -Original Message- > From: Nikula, Jani > Sent: Tuesday, May 15, 2018 3:26 PM > To: Dave Airlie > Cc: Daniel Vetter ; Jani Nikula > ; Joonas Lahtinen > ; Vivi, Rodrigo ; > Sean Paul ; Gustavo Padovan > ; Maarten Lankhorst > ; dri-devel@lists.freedesktop.org; > intel-...@lists.freedeskt

[PATCH v2] drm: mali-dp: Add debugfs file for reporting internal errors

2018-05-15 Thread Alexandru Gheorghe
Status register contains a lot of bits for reporting internal errors inside Mali DP. Currently, we just silently ignore all of the errors, that doesn't help when we are investigating different bugs, especially on the FPGA models which have a lot of constraints, so we could easily end up in AXI or u

Re: [PATCH 14/18] fbdev: modedb.c: fix a kernel-doc markup

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Monday, May 07, 2018 06:35:50 AM Mauro Carvalho Chehab wrote: > Use code blocks to avoid those warnings and make it look nicer. > > ./drivers/video/fbdev/core/modedb.c:647: WARNING: Inline strong > start-string without end-string. > ./drivers/video/fbdev/core/modedb.c:647: WARNING:

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-15 Thread Daniel Vetter
On Mon, May 14, 2018 at 10:40 PM, Peter Rosin wrote: > On 2018-05-14 18:28, Daniel Vetter wrote: >> On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: >>> On 2018-05-10 10:10, Andrzej Hajda wrote: On 04.05.2018 15:52, Peter Rosin wrote: > If the bridge supplier is unbound, this

Re: [PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday, May 09, 2018 10:18:54 AM Mauro Carvalho Chehab wrote: > The script: > ./scripts/documentation-file-ref-check --fix-rst > > Gives multiple hints for broken references on some files. > Manually use the one that applies for some files. > > Signed-off-by: Mauro Carvalho Chehab A

Re: [PATCH] video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 01, 2018 09:37:42 AM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error messages > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics ___

Re: [PATCH] video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"

2018-05-15 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 08, 2018 11:36:19 PM Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Patch queued for 4.18, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsu

Re: [PATCH 09/21] arm64: dts: allwinner: a64: Add HDMI support

2018-05-15 Thread Maxime Ripard
On Mon, May 14, 2018 at 04:01:15PM +0530, Jagan Teki wrote: > On Mon, May 14, 2018 at 2:10 PM, Maxime Ripard > wrote: > > On Mon, May 14, 2018 at 02:03:36PM +0530, Jagan Teki wrote: > >> On Wed, May 2, 2018 at 5:04 PM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > On Mon, Apr 30, 2018 at 05

Re: [RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-15 Thread Robin Murphy
Hi Enric, On 14/05/18 22:16, Enric Balletbo i Serra wrote: Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra --- drivers/de

[RFC PATCH] drm/vkms: vkms_driver can be static

2018-05-15 Thread kbuild test robot
Fixes: 58d8108f080c ("drm/vkms: Introduce basic VKMS driver") Signed-off-by: Fengguang Wu --- vkms_drv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index b1df08e..35517b09 100644 --- a/drivers/gpu/drm/v

Re: [PATCH] drm/vkms: Introduce basic VKMS driver

2018-05-15 Thread kbuild test robot
-ci/linux/commits/Haneen-Mohammed/drm-vkms-Introduce-basic-VKMS-driver/20180515-165648 base: git://people.freedesktop.org/~airlied/linux.git drm-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones

Re: [PATCH] drm/vkms: Introduce basic VKMS driver

2018-05-15 Thread Daniel Vetter
On Mon, May 14, 2018 at 05:33:46PM +0300, Haneen Mohammed wrote: > This patch introduces Virtual Kernel Mode-Setting (VKMS) driver. It > creates a very basic kms driver with 1 crtc/encoder/connector/plane. > > VKMS driver would be useful for testing, or for running X (or similar) > on headless mac

[Bug 106258] AMD Xorg start failes with non-4K page sizes

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106258 --- Comment #16 from Timothy Pearson --- (In reply to Ben Crocker from comment #15) > Hello Matt, Timothy, Michel, Andrey, and Dan, > > I have been testing some older cards (FirePro 2270, Embedded Radeon > E6465) on a Power8 system with no prob

Re: [PATCH] dma-fence: Make dma_fence_add_callback() fail if signaled with error

2018-05-15 Thread Chris Wilson
Quoting Ezequiel Garcia (2018-05-14 22:28:31) > On Mon, 2018-05-14 at 18:48 +0200, Daniel Vetter wrote: > > On Fri, May 11, 2018 at 08:27:41AM +0100, Chris Wilson wrote: > > > Quoting Ezequiel Garcia (2018-05-09 21:14:49) > > > > Change how dma_fence_add_callback() behaves, when the fence > > > > h

[PATCH 0/5] Add ChromeOS EC CEC Support

2018-05-15 Thread Neil Armstrong
Hi All, The new Google "Fizz" Intel-based ChromeOS device is gaining CEC support throught it's Embedded Controller, to enable the Linux CEC Core to communicate with it and get the CEC Physical Address from the correct HDMI Connector, the following must be added/changed: - Add the CEC sub-device re

[PATCH 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[PATCH 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
In non device-tree world, we can need to get the notifier by the driver name directly and eventually defer probe if not yet created. This patch adds a variant of the get function by using the device name instead and will not create a notifier if not yet created. But the i915 driver exposes at lea

[PATCH 3/5] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-05-15 Thread Neil Armstrong
The EC can expose a CEC bus, this patch adds the CEC related definitions needed by the cros-ec-cec driver. Having a 16 byte mkbp event size makes it possible to send CEC messages from the EC to the AP directly inside the mkbp event instead of first doing a notification and then a read. Signed-off-

[PATCH 4/5] mfd: cros_ec_dev: Add CEC sub-device registration

2018-05-15 Thread Neil Armstrong
The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device when the CEC feature bit is present. Signed-off-by: Neil Armstrong --- drivers/mfd/cros_ec_dev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c index

[PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
The Chrome OS Embedded Controller can expose a CEC bus, this patch add the driver for such feature of the Embedded Controller. This driver is part of the cros-ec MFD and will be add as a sub-device when the feature bit is exposed by the EC. The controller will only handle a single logical address

Re: [PATCH 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Hans Verkuil
On 05/15/18 14:46, Neil Armstrong wrote: > This patchs adds the cec_notifier feature to the intel_hdmi part > of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate > between each HDMI ports. > The changes will allow the i915 HDMI code to notify EDID and HPD changes > to an ev

Re: [PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Hans Verkuil
Some small comments below: On 05/15/18 14:47, Neil Armstrong wrote: > The Chrome OS Embedded Controller can expose a CEC bus, this patch add the > driver for such feature of the Embedded Controller. > > This driver is part of the cros-ec MFD and will be add as a sub-device when > the feature bit

Re: [PATCH 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Hans Verkuil
Hi Neil, Two small comments below: On 05/15/18 14:46, Neil Armstrong wrote: > In non device-tree world, we can need to get the notifier by the driver > name directly and eventually defer probe if not yet created. > > This patch adds a variant of the get function by using the device name > instea

RE: [PULL] drm-intel-next

2018-05-15 Thread Wang, Zhi A
Hi: I am truly sorry for the mess. It's actual my fault of solving a patch dependency by rebasing. Jani was trying to help me to catch the deadline, I am very appreciated for Jani's help and I am quite sorry for letting Jani experience this failure. He tried to help but I fail him. As a new guy

[Bug 105910] Graphical artifacts on unresponsible surfaces on AMD Radeon RX 570

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105910 Ivan Chebykin changed: What|Removed |Added Severity|normal |major -- You are receiving this mail b

Re: [PATCH v4 1/3] drm/panel: Add RGB666 variant of Innolux AT070TN90

2018-05-15 Thread Maxime Ripard
On Mon, May 14, 2018 at 10:40:15PM +0200, Paul Kocialkowski wrote: > Le vendredi 11 mai 2018 à 10:59 +0200, Maxime Ripard a écrit : > > On Wed, May 09, 2018 at 01:31:23PM +0200, Paul Kocialkowski wrote: > > > On Wed, 2018-05-09 at 09:12 +0200, Maxime Ripard wrote: > > > > On Tue, May 08, 2018 at 12

[gabbayo:amdkfd-next 6/28] drivers/gpu//drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:632:3: error: implicit declaration of function 'release_pages'; did you mean 'release_task'?

2018-05-15 Thread kbuild test robot
tree: git://people.freedesktop.org/~gabbayo/linux amdkfd-next head: 8feaccf71dd61f2201493068055e0d1d699014df commit: 5ae0283e831a94c714fce61063e4724baf364ef3 [6/28] drm/amdgpu: Add userptr support for KFD config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debia

[PATCH v3 4/6] drm/rockchip: dw_hdmi: allow including external phys

2018-05-15 Thread Heiko Stuebner
Some variants of the dw-hdmi on Rockchip socs use a separate phy block accessed via the generic phy framework, so allow them to be included if such a phy reference is found. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 10 ++ 1

[PATCH v3 2/6] drm/rockchip: dw_hdmi: Allow outputs that don't need output switching

2018-05-15 Thread Heiko Stuebner
So far we always encountered socs with 2 output crtcs needing the driver to tell the hdmi block which output to connect to. But there also exist socs with only one crtc like the rk3228, rk3328 and rk3368. So adapt the register field to simply carry a negative value to signal that no output-switchi

[PATCH v3 5/6] drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object

2018-05-15 Thread Heiko Stuebner
When using special phy handling operations we'll often need access to the rockchip_hdmi struct. As the chip-data that occupies the phy_data pointer initially gets assigned to the rockchip_hdmi struct, we can now re-use this phy_data pointer to hold the reference to the rockchip_hdmi struct and use

[PATCH v3 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-05-15 Thread Heiko Stuebner
The rk3328 uses a dw-hdmi controller with an external hdmi phy from Innosilicon which uses the generic phy framework for access. Add the necessary data and the compatible for the rk3328 to the rockchip dw-hdmi driver. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy --- changes in v3: - rew

[PATCH v3 0/6] drm/rockchip: hdmi support for rk3328

2018-05-15 Thread Heiko Stuebner
The rk3228/rk3229 and rk3328 socs started using a new type of hdmi-phy from Innosilicon that resides completely separate from the dw-hdmi block and gets accessed via mmio. Additionally the rk3328 dw-hdmi does not report the vendor-phy type but a different one instead, so add the possibility to ove

[PATCH v3 3/6] dt-bindings: allow optional phys in Rockchip dw_hdmi binding

2018-05-15 Thread Heiko Stuebner
Some newer Rockchip SoCs use an Innosilicon hdmiphy accessed via general mmio, so allow these to be referenced via the regular phy interfaces and therefore add optional phy-related properties to the binding. Signed-off-by: Heiko Stuebner Reviewed-by: Rob Herring --- .../devicetree/bindings/disp

  1   2   3   >