[PATCH v4 2/4] dt-bindings: display: bridge: Add documentation for LT9611

2020-07-08 Thread Vinod Koul
Lontium LT9611 is a DSI to HDMI bridge which supports 2 DSI ports and I2S port as input and one HDMI port as output Reviewed-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- .../display/bridge/lontium,lt9611.yaml| 176 ++ 1 file changed, 176 insertio

[PATCH v4 4/4] drm/msm/dsi: attach external bridge with DRM_BRIDGE_ATTACH_NO_CONNECTOR

2020-07-08 Thread Vinod Koul
Modern bridges do not create the connector and expect the display driver to do so. Hence, create the drm connector in msm display driver and add use flag DRM_BRIDGE_ATTACH_NO_CONNECTOR to attach bridges Tested-by: John Stultz Signed-off-by: Vinod Koul --- drivers/gpu/drm/msm/dsi/dsi.c |

[PATCH v4 1/4] dt-bindings: vendor-prefixes: Add Lontium vendor prefix

2020-07-08 Thread Vinod Koul
Add prefix for Lontium Semiconductor Corporation Acked-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Doc

[PATCH v4 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-07-08 Thread Vinod Koul
Lontium Lt9611 is a DSI to HDMI bridge which supports two DSI ports and I2S port as an input and HDMI port as output Co-developed-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Tested-by: John Stultz Signed-off-by: Vi

Re: [PATCH] drm/of: Consider the state in which the ep is disabled

2020-07-08 Thread Huang Jiachai
Hi heiko 在 2020/7/6 17:47, Heiko Stübner 写道: Hi Sandy, Am Montag, 6. Juli 2020, 09:59:44 CEST schrieb Sandy Huang: don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_of.c | 5 + 1 file changed, 5 insertions(+) diff --git a/driver

[PATCH 11/20] Documentation: leds/ledtrig-transient: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "for". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Jacek Anaszewski Cc: Pavel Machek Cc: Dan Murphy Cc: linux-l...@vger.kernel.org --- Documentation/leds/ledtrig-transient.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 1/9] soc: mediatek: cmdq: add address shift in jump

2020-07-08 Thread Dennis YC Hsieh
Add address shift when compose jump instruction to compatible with 35bit format. Change since v1: - Rename cmdq_mbox_shift() to cmdq_get_shift_pa(). Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH 00/20] Documentation: eliminate duplicated words

2020-07-08 Thread Randy Dunlap
Drop doubled words in various parts of Documentation/. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux...@vger.kernel.org Cc: Mike Rapoport Cc: Jens Axboe Cc: linux-bl...@vger.kernel.org Cc: Jason Wessel Cc: Daniel Thompson Cc: Douglas Anderson Cc: kgdb-bugrep...@lists.sourcefor

[PATCH 05/20] Documentation: fpga: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "this". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Wu Hao Cc: linux-f...@vger.kernel.org --- Documentation/fpga/dfl.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/fpga/dfl.rst

[PATCH 1/4] drm: mipi-dsi: Convert logging to drm_* functions.

2020-07-08 Thread Suraj Upadhyay
Convert logging errors from dev_err() to drm_err(). Signed-off-by: Suraj Upadhyay --- drivers/gpu/drm/drm_mipi_dsi.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index 07102d8da58f..5dd475e8299

[PATCH v3 3/9] soc: mediatek: cmdq: add write_s_mask function

2020-07-08 Thread Dennis YC Hsieh
add write_s_mask function in cmdq helper functions which writes value contains in internal register to address with mask and large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 23 +++ include/linux/mailbox/mtk-cmdq-mailbo

Re: [PATCH v7 2/2] display/drm/bridge: TC358775 DSI/LVDS driver

2020-07-08 Thread Vinay Simha B N
Andrzej, Please suggest. In general it should be in the reverse-order RESX then STBY, But As per the spec Datasheet Power off sequence is this Page 149, Section Power Supply On and Off Sequence regulators STBY RESX https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiBmeWb

[PATCH 14/20] Documentation: misc/xilinx_sdfec: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Derek Kiernan Cc: Dragan Cvetic --- Documentation/misc-devices/xilinx_sdfec.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/m

[PATCH 13/20] Documentation: mips/ingenic-tcu: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "to". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Paul Cercueil Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- Documentation/mips/ingenic-tcu.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20

[PATCH 12/20] Documentation: maintainer-entry-profile: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "have". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Dan Williams --- Documentation/maintainer/maintainer-entry-profile.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/maintaine

[PATCH 10/20] Documentation: kbuild/kconfig-language: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org --- Documentation/kbuild/kconfig-language.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-ne

Re: [PATCH v4 0/9] drm/vc4: Turn the TXP into a CRTC

2020-07-08 Thread Maxime Ripard
On Mon, Jul 06, 2020 at 05:51:29PM -0700, Eric Anholt wrote: > On Tue, Jun 30, 2020 at 1:25 AM Maxime Ripard wrote: > > > > Hi Eric, > > > > On Thu, Jun 11, 2020 at 03:36:45PM +0200, Maxime Ripard wrote: > > > Hi, > > > > > > This is another part of the rpi4 HDMI series that got promoted to a > >

[PATCH v3 7/9] soc: mediatek: cmdq: add jump function

2020-07-08 Thread Dennis YC Hsieh
Add jump function so that client can jump to any address which contains instruction. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 13 + include/linux/soc/mediatek/mtk-cmdq.h | 11 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/

[PATCH 4/4] drm: fb-helper: Convert logging to drm_* functions.

2020-07-08 Thread Suraj Upadhyay
Change logging information from dev_info() to drm_info(). Signed-off-by: Suraj Upadhyay --- drivers/gpu/drm/drm_fb_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 5609e164805f..88146f7245c5 10064

[PATCH v3 4/9] soc: mediatek: cmdq: add read_s function

2020-07-08 Thread Dennis YC Hsieh
Add read_s function in cmdq helper functions which support read value from register or dma physical address into gce internal register. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 15 +++ include/linux/mailbox/mtk-cmdq-mailbox.h |1 + include/l

Re: [PATCH v2 1/2] drm: drm_fourcc: add NV20 and NV30 YUV formats【请注意,邮件由linux-rockchip-bounces+sandy.huang=rock-chips....@lists.infradead.org代发】

2020-07-08 Thread Huang Jiachai
在 2020/7/7 6:30, Jonas Karlman 写道: DRM_FORMAT_NV20 and DRM_FORMAT_NV30 formats is the 2x1 and non-subsampled variant of NV15, a 10-bit 2-plane YUV format that has no padding between components. Instead, luminance and chrominance samples are grouped into 4s so that each group is packed into an in

[PATCH 04/20] Documentation: kgdb: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "driver". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Jason Wessel Cc: Daniel Thompson Cc: Douglas Anderson Cc: kgdb-bugrep...@lists.sourceforge.net --- Documentation/dev-tools/kgdb.rst |2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH 1/2] drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel

2020-07-08 Thread Paul Cercueil
The FRD350H54004 panel was marked as having active-high VSYNC and HSYNC signals, which sorts-of worked, but resulted in the picture fading out under certain circumstances. Fix this issue by marking VSYNC and HSYNC signals active-low. Fixes: 7b6bd8433609 ("drm/panel: simple: Add support for the Fr

[PATCH 01/20] Documentation: numaperf: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the duplicated word "not". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux...@vger.kernel.org Cc: Mike Rapoport --- Documentation/admin-guide/mm/numaperf.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-5.8-rc3.orig/Documentat

[PATCH v3 6/9] soc: mediatek: cmdq: add write_s_mask value function

2020-07-08 Thread Dennis YC Hsieh
add write_s_mask_value function in cmdq helper functions which writes a constant value to address with mask and large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 21 + include/linux/soc/mediatek/mtk-cmdq.h | 15

[PATCH 2/4] drm: mipi-dbi: Convert logging to drm_* functions.

2020-07-08 Thread Suraj Upadhyay
Convert logging of errors once from dev_err_once() to drm_err_once(). Signed-off-by: Suraj Upadhyay --- drivers/gpu/drm/drm_mipi_dbi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dbi.c b/drivers/gpu/drm/drm_mipi_dbi.c index 79532b9a324a..ccfb6

[PATCH v3 9/9] drm/mediatek: reduce clear event

2020-07-08 Thread Dennis YC Hsieh
No need to clear event again since event always clear before wait. This fix depend on patch: "soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api" Fixes: 2f965be7f9008 ("drm/mediatek: apply CMDQ control flow") Signed-off-by: Dennis YC Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c |

[PATCH 06/20] Documentation: gpu/komeda-kms: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "and". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: James (Qian) Wang Cc: Liviu Dudau Cc: Mihail Atanassov Cc: Mali DP Maintainers --- Documentation/gpu/komeda-kms.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- li

[PATCH 0/4] drm: core: Convert logging to drm_* functions.

2020-07-08 Thread Suraj Upadhyay
This patchset converts logging to drm_* functions in drm core. The following functions have been converted to their respective DRM alternatives : dev_info() --> drm_info() dev_err() --> drm_err() dev_warn() --> drm_warn() dev_err_once() --> drm_err_once(). Suraj Upadhyay (4):

[PATCH v3 8/9] soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api

2020-07-08 Thread Dennis YC Hsieh
Add clear parameter to let client decide if event should be clear to 0 after GCE receive it. Change since v2: - Keep behavior in drm crtc driver and separate bug fix code into another patch. Signed-off-by: Dennis YC Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c |2 +- drivers/soc/med

[PATCH v2] drm/of: Consider the state in which the ep is disabled

2020-07-08 Thread Sandy Huang
don't mask possible_crtcs if remote-point is disabled. Signed-off-by: Sandy Huang --- drivers/gpu/drm/drm_of.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c index fdb05fbf72a0..565f05f5f11b 100644 --- a/drivers/gpu/drm/drm_of.c +++ b/d

Re: [PATCH v2 14/14] phy/rockchip: inno-hdmi: Support more pre-pll configuration

2020-07-08 Thread Johan Jonker
Hi, What's the status for this patch? This is just what I needed for A95X Z2 to get the vop+hdmi and monitor working. ;) Could this become applied to mainline already? The ack is already there. Thanks, Johan Jonker https://lore.kernel.org/lkml/20200620134659.4592-1-jbx6...@gmail.com/ On 1/8

[PATCH v3 5/9] soc: mediatek: cmdq: add write_s value function

2020-07-08 Thread Dennis YC Hsieh
add write_s function in cmdq helper functions which writes a constant value to address with large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 14 ++ include/linux/soc/mediatek/mtk-cmdq.h | 13 + 2 files changed, 27

[PATCH 07/20] Documentation: gpu/drm-uapi: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "when". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- Documentation/gpu/drm-uapi.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-202007

Re: [PATCH 13/20] Documentation: mips/ingenic-tcu: eliminate duplicated word

2020-07-08 Thread Paul Cercueil
Hi, Le mar. 7 juil. 2020 à 11:04, Randy Dunlap a écrit : Drop the doubled word "to". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Paul Cercueil Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org Reviewed-by: Paul Cercueil Cheers, -Paul --- D

[PATCH 2/2] drm/panel-simple: Add 50 Hz mode to the Frida FRD350H54004 panel

2020-07-08 Thread Paul Cercueil
By changing the pixel clock and the length of the back porch, it is possible to obtain a perfect 50 Hz refresh rate. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/panel/panel-simple.c | 43 +++- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/drivers/gp

[PATCH 08/20] Documentation: hid/intel-ish-hid: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: linux-in...@vger.kernel.org --- Documentation/hid/intel-ish-hid.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-2

[PATCH v3 0/9] support cmdq helper function on mt6779 platform

2020-07-08 Thread Dennis YC Hsieh
This patch support more gce helper function on mt6779 platform. depends on patch: support gce on mt6779 platform and depends on following applied patches soc: mediatek: cmdq: add set event function soc: mediatek: cmdq: export finalize function soc: mediatek: cmdq: add assign function Change sinc

Re: [RFC] Host1x/TegraDRM UAPI (sync points)

2020-07-08 Thread Dmitry Osipenko
02.07.2020 15:10, Mikko Perttunen пишет: > Ok, so we would have two kinds of syncpoints for the job; one > for kernel job tracking; and one that userspace can > manipulate as it wants to. > > Could we handle the job tracking syncpoint completely inside the kernel, > i.e. allocate it in kernel duri

[PATCH v3 2/9] soc: mediatek: cmdq: add write_s function

2020-07-08 Thread Dennis YC Hsieh
add write_s function in cmdq helper functions which writes value contains in internal register to address with large dma access support. Signed-off-by: Dennis YC Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 19 +++ include/linux/mailbox/mtk-cmdq-mailbox.h |1 + incl

[PATCH 19/20] Documentation: virt/kvm/api: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the duplicated word "struct". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Paolo Bonzini Cc: k...@vger.kernel.org --- Documentation/virt/kvm/api.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-5.8-rc3.orig/Documentation/virt/kvm

[PATCH 03/20] Documentation: printk-basics: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/core-api/printk-basics.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/core-api/printk-basics.rst +++ linux-next-

Re: [PATCH] drm/vc4: Convert register accessors to FIELD_*

2020-07-08 Thread Maxime Ripard
On Fri, Jul 03, 2020 at 09:57:04AM -0700, Eric Anholt wrote: > On Fri, Jul 3, 2020 at 6:57 AM Maxime Ripard wrote: > > > > The VC4_SET_FIELD and VC4_GET_FIELD are reimplementing most of the logic > > already defined in FIELD_SET and FIELD_GET. Let's convert the vc4 macros to > > use the FIELD_* ma

[PATCH 3/4] drm: edid: Convert logging to drm_* functions.

2020-07-08 Thread Suraj Upadhyay
Change logging of warnings to drm_warn() form dev_warn(). Signed-off-by: Suraj Upadhyay --- drivers/gpu/drm/drm_edid.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 31496b6cfc56..ad7a1f9817ed 100644 --- a/

[PATCH] drm: imx: Fix occasional screen corruption on modeset.

2020-07-08 Thread Martin Fuzzey
When performing a modeset the atomic core calls ipu_crtc_atomic_disable() which switches off the DC and DI. When we immediately restart as in the modeset case this sometimes leads to corruption at the bottom of the screen looking like a mirror image of the top. The exact reason isn't understood b

[PATCH 09/20] Documentation: i2c: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop doubled word "new". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Wolfram Sang Cc: linux-...@vger.kernel.org --- Documentation/i2c/upgrading-clients.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation

[PATCH 17/20] Documentation: scsi/advansys: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "be". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Matthew Wilcox Cc: Hannes Reinecke Cc: linux-s...@vger.kernel.org Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- Documentation/scsi/advansys.rst |2 +- 1 file changed,

[PATCH 02/20] Documentation: block: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Change the doubled word "the" to "to the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Jens Axboe Cc: linux-bl...@vger.kernel.org --- Documentation/block/pr.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Document

[PATCH] drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets

2020-07-08 Thread Kuogee Hsieh
add event thread to execute events serially from event queue. Also timeout mode is supported which allow an event be deferred to be executed at later time. Both link and phy compliant tests had been done successfully. This change depends-on following series: https://lore.kernel.org/dri-d

[PATCH 20/20] Documentation: vm/memory-model: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Andrew Morton Cc: linux...@kvack.org --- Documentation/vm/memory-model.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/vm/memo

[PATCH 16/20] Documentation: s390/vfio-ap: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Tony Krowiak Cc: Pierre Morel Cc: Halil Pasic Cc: linux-s...@vger.kernel.org --- Documentation/s390/vfio-ap.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-n

[PATCH 18/20] Documentation: security/keys: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "in". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: James Bottomley Cc: Jarkko Sakkinen Cc: Mimi Zohar Cc: linux-integr...@vger.kernel.org Cc: keyri...@vger.kernel.org --- Documentation/security/keys/trusted-encrypted.rst |2 +- 1

Re: [PATCH 1/2] drm/vgem: Do not allocate backing shmemfs file for an import dmabuf object

2020-07-08 Thread lepton
On Tue, Jul 7, 2020 at 9:00 AM Chris Wilson wrote: > > If we assign obj->filp, we believe that the create vgem bo is native and > allow direct operations like mmap() assuming it behaves as backed by a > shmemfs inode. When imported from a dmabuf, the obj->pages are > not always meaningful and the

Re: [PATCH v2 2/2] drm: rockchip: add NV15, NV20 and NV30 support【请注意,邮件由linux-rockchip-bounces+sandy.huang=rock-chips....@lists.infradead.org代发】

2020-07-08 Thread Huang Jiachai
在 2020/7/7 6:30, Jonas Karlman 写道: Add support for displaying 10-bit 4:2:0 and 4:2:2 formats produced by the Rockchip Video Decoder on RK322X, RK3288, RK3328, RK3368 and RK3399. Also add support for 10-bit 4:4:4 format while at it. V2: Added NV30 support Signed-off-by: Jonas Karlman --- dri

[PATCH 15/20] Documentation: powerpc/vas-api: eliminate duplicated word

2020-07-08 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- Documentation/powerpc/vas-api.rst |2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 1/2] drm/vgem: Do not allocate backing shmemfs file for an import dmabuf object

2020-07-08 Thread lepton
On Tue, Jul 7, 2020 at 10:20 AM Chris Wilson wrote: > > Quoting lepton (2020-07-07 18:05:21) > > On Tue, Jul 7, 2020 at 9:00 AM Chris Wilson > > wrote: > > > > > > If we assign obj->filp, we believe that the create vgem bo is native and > > > allow direct operations like mmap() assuming it behav

[PATCH] drm/vc4: dsi: Only register our component once a DSI device is attached

2020-07-08 Thread Maxime Ripard
If the DSI driver is the last to probe, component_add will try to run all the bind callbacks straight away and return the error code. However, since we depend on a power domain, we're pretty much guaranteed to be in that case on the BCM2711, and are just lucky on the previous SoCs since the v3d al

Re: [PATCH 00/20] Documentation: eliminate duplicated words

2020-07-08 Thread Martin K. Petersen
On Tue, 7 Jul 2020 11:03:54 -0700, Randy Dunlap wrote: > Drop doubled words in various parts of Documentation/. > > [...] Applied to 5.9/scsi-queue, thanks! [17/20] scsi: advansys: docs: Eliminate duplicated word https://git.kernel.org/mkp/scsi/c/3010dfb0b77c -- Martin K. Petersen

Re: [PATCH 1/2] drm/vgem: Do not allocate backing shmemfs file for an import dmabuf object

2020-07-08 Thread lepton
On Tue, Jul 7, 2020 at 9:00 AM Chris Wilson wrote: > > If we assign obj->filp, we believe that the create vgem bo is native and > allow direct operations like mmap() assuming it behaves as backed by a > shmemfs inode. When imported from a dmabuf, the obj->pages are > not always meaningful and the

Re: [PATCH 06/20] Documentation: gpu/komeda-kms: eliminate duplicated word

2020-07-08 Thread james qian wang (Arm Technology China)
On Tue, Jul 07, 2020 at 11:04:00AM -0700, Randy Dunlap wrote: > Drop the doubled word "and". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: James (Qian) Wang > Cc: Liviu Dudau > Cc: Mihail Atanassov > Cc: Mali DP Maintainers > --- > Documentation

Re: [RFC PATCH 0/4] DSI/DBI and TinyDRM driver

2020-07-08 Thread Daniel Vetter
On Tue, Jul 07, 2020 at 04:32:25PM +0200, Noralf Trønnes wrote: > (cc Dillon) > > Den 03.07.2020 19.26, skrev Sam Ravnborg: > > Hi Noralf/Paul. > > > > Trying to stir up this discussion again. > > > > On Sun, Jun 14, 2020 at 06:36:22PM +0200, Noralf Trønnes wrote: > >> > >> > >> Den 07.06.2020 1

Re: [PATCH v3 1/9] soc: mediatek: cmdq: add address shift in jump

2020-07-08 Thread Bibby Hsieh
Reviewed-by: Bibby Hsieh On Tue, 2020-07-07 at 23:45 +0800, Dennis YC Hsieh wrote: > Add address shift when compose jump instruction > to compatible with 35bit format. > > Change since v1: > - Rename cmdq_mbox_shift() to cmdq_get_shift_pa(). > > Signed-off-by: Dennis YC Hsieh > --- > drivers

RE: [PATCH 2/2] drm/amdgpu: stop allocating dummy GTT nodes

2020-07-08 Thread Chauhan, Madhav
[AMD Public Use] -Original Message- From: amd-gfx On Behalf Of Christian König Sent: Monday, July 6, 2020 11:18 PM To: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/amdgpu: stop allocating dummy GTT nodes Now that TTM is fixed up we can finally

[PATCH 0/6] drm/ast: Managed MM

2020-07-08 Thread Thomas Zimmermann
This is the second patchset for converting ast to managed DRM interfaces. This one addresses memory management. There will be another, final round of patches for converting DRM device structures as well. Patch #1 introduces managed initialization for VRAM MM. Other drivers using the VRAM helpers s

[PATCH 4/6] drm/ast: Move VRAM size detection to ast_mm.c

2020-07-08 Thread Thomas Zimmermann
VRAM size detection is only relevant to the memory management. Move the code into ast_mm.c. While at it, rename the function to ast_get_vram_size(). The function argument's type is now struct ast_private. The result is stored in a local variable and not in struct ast_private any longer. Signed-of

[PATCH 5/6] drm/ast: Initialize DRAM type before posting GPU

2020-07-08 Thread Thomas Zimmermann
Posting the GPU requires the correct DRAM type to be stored in struct ast_private. Therefore first initialize the DRAM info and then post the GPU. This restores the original order of instructions in this function. Signed-off-by: Thomas Zimmermann Fixes: bad09da6deab ("drm/ast: Fixed vram size inc

[PATCH 2/6] drm/ast: Rename ast_ttm.c to ast_mm.c

2020-07-08 Thread Thomas Zimmermann
Although built upon TTM, the ast driver's VRAM MM helper does not expose TTM to its users. Rename the related ast file to ast_mm.c. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/Makefile| 2 +- drivers/gpu/drm/ast/{ast_ttm.c => ast_mm.c} | 0 2 files changed, 1 inserti

[PATCH 6/6] drm/ast: Use managed MM initialization

2020-07-08 Thread Thomas Zimmermann
Cleaning up ast's MM code with ast_mm_fini() resets the write-combine flags on the VRAM I/O memory. Drop ast_mm_fini() in favor of an auto- release callback. Releasing the device also executes the callback. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_drv.h | 1 - drivers/gpu/d

[PATCH 3/6] drm/ast: Use managed VRAM-helper initialization

2020-07-08 Thread Thomas Zimmermann
As a first step to managed MM code in ast, switch over VRAM MM helpers. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mm.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mm.c b/drivers/gpu/drm/ast/ast_mm.c index 9c3788a4c1c5..c0b

[PATCH 1/6] drm/vram-helper: Managed vram helpers

2020-07-08 Thread Thomas Zimmermann
Calling drmm_vram_helper_alloc_mm() sets up a managed instance of VRAM MM. Releasing the DRM device also frees the memory manager. The patch also updates the DRM documentation for VRAM helpers. The tutorial now only describes the new managed interface. The older interfaces are deprecated and shoul

Re: [PATCH] drm: imx: Fix occasional screen corruption on modeset.

2020-07-08 Thread Philipp Zabel
Hi Martin, On Tue, 2020-07-07 at 17:56 +0200, Martin Fuzzey wrote: > When performing a modeset the atomic core calls > ipu_crtc_atomic_disable() which switches off the DC and DI. > > When we immediately restart as in the modeset case this sometimes > leads to corruption at the bottom of the scree

Re: [PATCH 5/6] drm/ast: Initialize DRAM type before posting GPU

2020-07-08 Thread Benjamin Herrenschmidt
On Wed, 2020-07-08 at 09:49 +0200, Thomas Zimmermann wrote: > Posting the GPU requires the correct DRAM type to be stored in > struct ast_private. Therefore first initialize the DRAM info and > then post the GPU. This restores the original order of instructions > in this function. I no longer have

Re: [PATCH 1/2] drm/vgem: Do not allocate backing shmemfs file for an import dmabuf object

2020-07-08 Thread Christian König
Am 07.07.20 um 20:35 schrieb Chris Wilson: Quoting lepton (2020-07-07 19:17:51) On Tue, Jul 7, 2020 at 10:20 AM Chris Wilson wrote: Quoting lepton (2020-07-07 18:05:21) On Tue, Jul 7, 2020 at 9:00 AM Chris Wilson wrote: If we assign obj->filp, we believe that the create vgem bo is native an

Re: [PATCH 15/25] drm/tilcdc: Use standard drm_atomic_helper_commit

2020-07-08 Thread Daniel Vetter
On Wed, Jul 8, 2020 at 11:17 AM Jyri Sarha wrote: > > On 07/07/2020 23:12, Daniel Vetter wrote: > > Gives us proper nonblocking support for free, and a pile of other > > things. The tilcdc code is simply old enough that it was never > > converted over, but was stuck forever with the copypasta from

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-08 Thread Christian König
Am 07.07.20 um 23:58 schrieb Xiong, Jianxin: -Original Message- From: Christian König Am 03.07.20 um 15:14 schrieb Jason Gunthorpe: On Fri, Jul 03, 2020 at 02:52:03PM +0200, Daniel Vetter wrote: So maybe I'm just totally confused about the rdma model. I thought: - you bind a pile of m

Re: [PATCH 1/2] drm/ttm: further cleanup ttm_mem_reg handling

2020-07-08 Thread Christian König
Am 07.07.20 um 21:16 schrieb Chauhan, Madhav: [AMD Public Use] -Original Message- From: amd-gfx On Behalf Of Christian König Sent: Monday, July 6, 2020 11:18 PM To: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/ttm: further cleanup ttm_mem_reg

[PATCH] drm/tilcdc: Use standard drm_atomic_helper_commit

2020-07-08 Thread Daniel Vetter
Gives us proper nonblocking support for free, and a pile of other things. The tilcdc code is simply old enough that it was never converted over, but was stuck forever with the copypasta from when it was initially merged. The riskiest thing with this conversion is maybe that there's an issue with t

Re: [PATCH 2/2] drm/amdgpu: stop allocating dummy GTT nodes

2020-07-08 Thread Christian König
Am 08.07.20 um 09:35 schrieb Chauhan, Madhav: [AMD Public Use] -Original Message- From: amd-gfx On Behalf Of Christian König Sent: Monday, July 6, 2020 11:18 PM To: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/amdgpu: stop allocating dummy GTT

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-08 Thread Daniel Vetter
On Wed, Jul 08, 2020 at 11:38:31AM +0200, Christian König wrote: > Am 07.07.20 um 23:58 schrieb Xiong, Jianxin: > > > -Original Message- > > > From: Christian König > > > Am 03.07.20 um 15:14 schrieb Jason Gunthorpe: > > > > On Fri, Jul 03, 2020 at 02:52:03PM +0200, Daniel Vetter wrote: >

Re: [PATCH] drm/stm: repair runtime power management

2020-07-08 Thread Benjamin Gaignard
Le jeu. 2 juil. 2020 à 14:31, Philippe CORNU a écrit : > > > > On 2/29/20 11:16 PM, Marek Vasut wrote: > > Add missing pm_runtime_get_sync() into ltdc_crtc_atomic_enable() to > > match pm_runtime_put_sync() in ltdc_crtc_atomic_disable(), otherwise > > the LTDC might suspend via runtime PM, disable

Re: [PATCH] drm/stm: ltdc: remove call of pm-runtime functions

2020-07-08 Thread Benjamin Gaignard
Le jeu. 2 juil. 2020 à 14:18, Philippe CORNU a écrit : > > > > On 7/1/20 2:04 PM, Yannick Fertre wrote: > > It is not necessary to suspend or stop the ltdc clocks > > to modify the pixel clock. > > > > Signed-off-by: Yannick Fertre > > --- > > drivers/gpu/drm/stm/ltdc.c | 16 >

Re: [PATCH 1/2] drm/vgem: Do not allocate backing shmemfs file for an import dmabuf object

2020-07-08 Thread Daniel Vetter
On Wed, Jul 08, 2020 at 11:22:00AM +0200, Christian König wrote: > Am 07.07.20 um 20:35 schrieb Chris Wilson: > > Quoting lepton (2020-07-07 19:17:51) > > > On Tue, Jul 7, 2020 at 10:20 AM Chris Wilson > > > wrote: > > > > Quoting lepton (2020-07-07 18:05:21) > > > > > On Tue, Jul 7, 2020 at 9:00

Re: [PATCH 2/2] drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()

2020-07-08 Thread Daniel Vetter
On Tue, Jul 07, 2020 at 05:00:12PM +0100, Chris Wilson wrote: > drm_gem_dumb_map_offset() now exists and does everything > vgem_gem_dump_map does and *ought* to do. > > Signed-off-by: Chris Wilson > --- > drivers/gpu/drm/vgem/vgem_drv.c | 28 +--- > 1 file changed, 1 inse

Re: [RFC] Host1x/TegraDRM UAPI (sync points)

2020-07-08 Thread Mikko Perttunen
On 7/7/20 2:06 PM, Dmitry Osipenko wrote: 02.07.2020 15:10, Mikko Perttunen пишет: Ok, so we would have two kinds of syncpoints for the job; one for kernel job tracking; and one that userspace can manipulate as it wants to. Could we handle the job tracking syncpoint completely inside the kernel

Re: [PATCH v4 05/20] backlight: improve backlight_device documentation

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:31PM +0200, Sam Ravnborg wrote: > Improve the documentation for backlight_device and > adapt it to kernel-doc style. > > The updated documentation is more strict on how locking is used. > With the update neither update_lock nor ops_lock may be used > outside the backl

Re: [PATCH v4 12/20] backlight: introduce backlight_get_brightness()

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:38PM +0200, Sam Ravnborg wrote: > Based on an idea from Emil Velikov > add a helper that checks backlight_is_blank() and return 0 as brightness > if display is blank or the property value if not. > > This allows us to simplify the update_status() implementation > in

[PATCH v5 2/4] dt-bindings: display: bridge: Add documentation for LT9611

2020-07-08 Thread Vinod Koul
Lontium LT9611 is a DSI to HDMI bridge which supports 2 DSI ports and I2S port as input and one HDMI port as output Reviewed-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- .../display/bridge/lontium,lt9611.yaml| 176 ++ 1 file changed, 176 insertio

[PATCH v5 1/4] dt-bindings: vendor-prefixes: Add Lontium vendor prefix

2020-07-08 Thread Vinod Koul
Add prefix for Lontium Semiconductor Corporation Acked-by: Rob Herring Tested-by: John Stultz Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Doc

[PATCH v5 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-07-08 Thread Vinod Koul
Lontium Lt9611 is a DSI to HDMI bridge which supports two DSI ports and I2S port as an input and HDMI port as output Co-developed-by: Bjorn Andersson Signed-off-by: Bjorn Andersson Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Tested-by: John Stultz Signed-off-by: Vi

[PATCH v5 4/4] drm/msm/dsi: attach external bridge with DRM_BRIDGE_ATTACH_NO_CONNECTOR

2020-07-08 Thread Vinod Koul
Modern bridges do not create the connector and expect the display driver to do so. Hence, create the drm connector in msm display driver and add use flag DRM_BRIDGE_ATTACH_NO_CONNECTOR to attach bridges Tested-by: John Stultz Signed-off-by: Vinod Koul --- drivers/gpu/drm/msm/dsi/dsi.c |

[PATCH v5 0/4] Add LT9611 DSI to HDMI bridge

2020-07-08 Thread Vinod Koul
Hi, This series adds driver and bindings for Lontium LT9611 bridge chip which takes MIPI DSI as input and HDMI as output. This chip can be found in 96boards RB3 platform [1] commonly called DB845c. [1]: https://www.96boards.org/product/rb3-platform/ Changes in v5: - make symbol static, reporte

Re: [PATCH v4 14/20] backlight: cr_bllcd: introduce backlight_is_blank()

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:40PM +0200, Sam Ravnborg wrote: > The cr_bllcd uses the FB_BLANK states as brightness. > This results in brightness value equals 0 that turn on > the display and 4 that turn off the display. max_brightness is 0 which makes it impossible to set the brightness to 4. >

Re: [PATCH v4 15/20] backlight: gpio_backlight: simplify update_status()

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:41PM +0200, Sam Ravnborg wrote: > Introduce the use of backlight_get_brightness() to simplify > the update_status() operation. > With the simpler implementation drop the gpio_backlight_get_next_brightness() > helper as it was now a one-liner. > > Signed-off-by: Sam Ra

Re: [PATCH v4 16/20] backlight: jornada720_bl: introduce backlight_is_blank()

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:42PM +0200, Sam Ravnborg wrote: > Use the backlight_is_blank() helper to simplify the code a bit. > This add support for fb_blank as a side-effect. > > Signed-off-by: Sam Ravnborg > Cc: Lee Jones > Cc: Daniel Thompson > Cc: Jingoo Han This driver exhibits the "ho

Re: [PATCH v4 17/20] backlight: use backligt_get_brightness()

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:43PM +0200, Sam Ravnborg wrote: > Introduce the backlight_get_brightness() helper in all > video/backlight/* drivers. > This simplifies the code and align the implementation of the > update_status() operation across the different backlight drivers. > > Some of the dri

Re: [PATCH v4 19/20] backlight: make of_find_backlight static

2020-07-08 Thread Daniel Thompson
On Fri, Jul 03, 2020 at 08:45:45PM +0200, Sam Ravnborg wrote: > There are no external users of of_find_backlight, > as they have all changed to use the managed version. > Make of_find_backlight static to prevent new external users. > > v3: > - Move doc for devm_of_find_backlight out of this patc

[Bug 208413] amdgpu driver crash

2020-07-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208413 --- Comment #3 from ghutzr...@gmail.com --- I can't say with certainty, because the crashes were quite irregular, but I have more than 10 hours of continuous usage without any gpu driver crashes on 5.8.rc4. -- You are receiving this mail because

Re: drm/ast something ate high-res modes (5.3->5.6 regression)

2020-07-08 Thread Thomas Zimmermann
Hi Am 08.07.20 um 12:05 schrieb Ilpo Järvinen: > Hi, > > After upgrading kernel from 5.3 series to 5.6.16 something seems to > prevent me from achieving high resolutions with the ast driver. Thanks for reporting. It's not a bug, but a side effect of atomic modesetting. During pageflips, the ol

[PULL] drm-misc-fixes

2020-07-08 Thread Thomas Zimmermann
Hi Dave and Daniel, here's the PR for the current drm-misc-fixes. Only two patches this week. drm-misc-fixes-2020-07-08: * meson: OSD burst-length fixes * hibmc: fix runtime warning by setting up generic fbdev after registering device The following changes since commit bda8eaa6dee7525f4dac95

[PATCH 1/1] video: backlight: sky81452-backlight: Fix some kerneldoc issues

2020-07-08 Thread Lee Jones
Firstly, all lines must begin with a '*'. Secondly, arg descriptions must be spelt correctly, so fix misspelling of 'gpioD_enable' and 'short_detecTion_threshold' Fixes the following W=1 kernel build warning(s): drivers/video/backlight/sky81452-backlight.c:46: warning: bad line:

  1   2   >