Re: [RFC PATCH 2/2] RDMA/efa: Add support for dmabuf memory regions

2021-10-09 Thread Gal Pressman
On 07/10/2021 14:40, Jason Gunthorpe wrote: > On Thu, Oct 07, 2021 at 01:43:00PM +0300, Gal Pressman wrote: > >> @@ -1491,26 +1493,29 @@ static int efa_create_pbl(struct efa_dev *dev, >> return 0; >> } >> >> -struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length, >> -

Re: [RFC PATCH 1/2] dma-buf: Fix pin callback comment

2021-10-09 Thread Gal Pressman
On 07/10/2021 13:44, Christian König wrote: > Am 07.10.21 um 12:42 schrieb Gal Pressman: >> The pin callback does not necessarily have to move the memory to system >> memory, remove the sentence from the comment. >> >> Signed-off-by: Gal Pressman >> --- >>   include/linux/dma-buf.h | 4 +--- >>   1

[PATCH 2/2] fbdev: fbmem: Fix double free of 'fb_info->pixmap.addr'

2021-10-09 Thread Zheyu Ma
savagefb and some other drivers call kfree to free 'info->pixmap.addr' even after calling unregister_framebuffer, which may cause double free. Fix this by setting 'fb_info->pixmap.addr' to NULL after kfree in unregister_framebuffer. The following log reveals it: [ 37.318872] BUG: KASAN: double

[PATCH] drm/msm/dp: Use the connector passed to dp_debug_get()

2021-10-09 Thread Bjorn Andersson
The debugfs code is provided an array of a single drm_connector. Then to access the connector, the list of all connectors of the DRM device is traversed and all non-DisplayPort connectors are skipped, to find the one and only DisplayPort connector. But as we move to support multiple DisplayPort co

[PATCH v5 2/2] drm/bridge: lvds-codec: Add support for LVDS data mapping select

2021-10-09 Thread Marek Vasut
Decoder input LVDS format is a property of the decoder chip or even its strapping. Handle data-mapping the same way lvds-panel does. In case data-mapping is not present, do nothing, since there are still legacy bindings which do not specify this property. Reviewed-by: Laurent Pinchart Signed-off-

[PATCH v5 1/2] dt-bindings: display: bridge: lvds-codec: Document LVDS data mapping select

2021-10-09 Thread Marek Vasut
Decoder input LVDS format is a property of the decoder chip or even its strapping. Add DT property data-mapping the same way lvds-panel does, to define the LVDS data mapping. Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring Signed-off-by: Marek Vasut Cc: Laurent Pinchart Cc: Rob Herring

[PATCH v5 1/2] dt-bindings: add bindings for the Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add devicetree bindings for the Sharp LS060T1SX01 6.0" FullHD panel using NT35695 driver. This panel can be found i.e. in the Dragonboard Display Adapter bundle. Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Herring --- .../display/panel/sharp,ls060t1sx01.yaml | 56 +++

[PATCH v5 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add driver to support Sharp LS06T1SX01 FullHD panel. The panel uses nt35695 driver IC. For example this LCD module can be found in the kwaek.ca Dragonboard Display Adapter Bundle. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Mak

[PATCH v5 0/2] Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add driver to support Sharp LS06T1SX01 6.0" FullHD panel found e.g. in the kwaek.ca Dragonboard Display Adapter Bundle. Changes since v4: - Use MIPI_DSI_MODE_NO_EOT_PACKET instead of the old name Changes since v3: - Replaced small msleeps with usleep_range Changes since v2: - Add missing powe

[PATCH v4 1/2] dt-bindings: add bindings for the Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add devicetree bindings for the Sharp LS060T1SX01 6.0" FullHD panel using NT35695 driver. This panel can be found i.e. in the Dragonboard Display Adapter bundle. Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Herring --- .../display/panel/sharp,ls060t1sx01.yaml | 56 +++

[PATCH v4 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add driver to support Sharp LS06T1SX01 FullHD panel. The panel uses nt35695 driver IC. For example this LCD module can be found in the kwaek.ca Dragonboard Display Adapter Bundle. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Mak

[PATCH v4 0/2] Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
Add driver to support Sharp LS06T1SX01 6.0" FullHD panel found e.g. in the kwaek.ca Dragonboard Display Adapter Bundle. Changes since v3: - Replaced small msleeps with usleep_range Changes since v2: - Add missing power supplies used by the panel according to the datasheet Changes since v1:

Re: [PATCH v4] drm/i915/gt: move remaining debugfs interfaces into gt

2021-10-09 Thread Lucas De Marchi
On Fri, Oct 8, 2021 at 4:59 PM Andi Shyti wrote: > > From: Andi Shyti > > The following interfaces: > > i915_wedged > i915_forcewake_user > > are dependent on gt values. Put them inside gt/ and drop the > "i915_" prefix name. This would be the new structure: > > dri/0/gt > | > +-- force

Re: Fix build [Was: [PATCH 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel]

2021-10-09 Thread Sam Ravnborg
On Sat, Oct 09, 2021 at 07:07:46PM +0200, Sam Ravnborg wrote: > Applied this but forgot to commit the build fix: > > commit 1ae669fe083fda99e465ae6ab2c533658bdb846e > Author: Sam Ravnborg > Date: Sat Oct 9 19:02:48 2021 +0200 > > drm/panel: sharp-ls060t1sx01: fix build > > Update

Fix build [Was: [PATCH 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel]

2021-10-09 Thread Sam Ravnborg
Applied this but forgot to commit the build fix: commit 1ae669fe083fda99e465ae6ab2c533658bdb846e Author: Sam Ravnborg Date: Sat Oct 9 19:02:48 2021 +0200 drm/panel: sharp-ls060t1sx01: fix build Update MIPI_DSI_MODE_EOT_PACKET to the new MIPI_DSI_MODE_NO_EOT_PACKET variant.

Re: [PATCH v3 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Dmitry Baryshkov
On Sat, 9 Oct 2021 at 18:39, Sam Ravnborg wrote: > > Hi Dmityry, > > On Sun, Sep 26, 2021 at 03:10:05AM +0300, Dmitry Baryshkov wrote: > > Add driver to support Sharp LS06T1SX01 FullHD panel. The panel uses > > nt35695 driver IC. For example this LCD module can be found in the > > kwaek.ca Dragonb

Re: [PATCH v3 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel

2021-10-09 Thread Sam Ravnborg
Hi Dmityry, On Sun, Sep 26, 2021 at 03:10:05AM +0300, Dmitry Baryshkov wrote: > Add driver to support Sharp LS06T1SX01 FullHD panel. The panel uses > nt35695 driver IC. For example this LCD module can be found in the > kwaek.ca Dragonboard Display Adapter Bundle. > > Signed-off-by: Dmitry Baryshk

Re: [PATCH] dt-bindings: display: simple: hardware can use ddc-i2c-bus

2021-10-09 Thread Sam Ravnborg
Hi David, On Mon, Sep 27, 2021 at 11:45:03PM +0200, David Heidelberg wrote: > Both hardware and driver can communicate DDC over i2c bus. > > Fixes warnings as: > arch/arm/boot/dts/tegra20-paz00.dt.yaml: panel: 'ddc-i2c-bus' does not match > any of the regexes: 'pinctrl-[0-9]+' > From schem

Re: [PATCH v1 3/3] panel-simple: add LOGIC Technologies LTTD800480070-L2RT panel

2021-10-09 Thread Sam Ravnborg
Hi Oleksij, On Thu, Sep 30, 2021 at 12:05:01PM +0200, Oleksij Rempel wrote: > From: Søren Andersen > > Add support for the Logic Technologies LTTD800x480 L2RT 7" 800x480 TFT > Resistive Touch Module. > > Signed-off-by: Søren Andersen > Signed-off-by: Sam Ravnborg > Signed-off-by: Oleksij Rempe

Re: [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel

2021-10-09 Thread Sam Ravnborg
Hi Oleksij, Robin, On Thu, Sep 30, 2021 at 12:05:00PM +0200, Oleksij Rempel wrote: > Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" > WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. > > Co-Developed-by: Robin van der Gracht > Signed-off-by: Robin van

Re: [PATCH] drm/panel-simple: Add Vivax TPC-9150 panel v5

2021-10-09 Thread Sam Ravnborg
Hi Nikola, On Sat, Oct 02, 2021 at 10:30:17PM +0200, Nikola Pavlica wrote: > The model and make of the LCD panel of the Vivax TPC-9150 is unknown, > hence the panel settings that were retrieved with a FEX dump are named > after the device NOT the actual panel. > > The LCD in question is a 50 pin

Patch "fbdev: simplefb: fix Kconfig dependencies" has been added to the 5.14-stable tree

2021-10-09 Thread gregkh
This is a note to let you know that I've just added the patch titled fbdev: simplefb: fix Kconfig dependencies to the 5.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: fbdev-simple

[PATCH] drm/virtio: fix the missed drm_gem_object_put() in virtio_gpu_user_framebuffer_create()

2021-10-09 Thread Jing Xiangfeng
virtio_gpu_user_framebuffer_create() misses to call drm_gem_object_put() in an error path. Add the missed function call to fix it. Signed-off-by: Jing Xiangfeng --- drivers/gpu/drm/virtio/virtgpu_display.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vir