Re: [PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-10-14 Thread Sumit Semwal
Hi Sam, On Thu, 15 Oct 2020 at 00:14, Sam Ravnborg wrote: > > Hi Sumit. > On Wed, Sep 02, 2020 at 12:14:06PM +0530, Sumit Semwal wrote: > > Novatek nt36672a is a display driver IC that can drive DSI panel. It > > is also present in the Tianma video mode panel, which is a FHD+ panel > > with a

Re: [git pull] drm next pull for 5.10-rc1

2020-10-14 Thread Dave Airlie
On Thu, 15 Oct 2020 at 11:33, Dave Airlie wrote: > > Hi Linus, > > This is the main drm pull request for 5.10. > > Not a major amount of change, the i915 trees got split into display > and gt trees to better facilitate higher level review, and there's a > major refactoring of i915 GEM locking to

Re: linux-next: build failure after merge of the iommu tree

2020-10-14 Thread Stephen Rothwell
Hi all, On Tue, 13 Oct 2020 18:31:07 +1100 Stephen Rothwell wrote: > > On Mon, 21 Sep 2020 14:09:01 +1000 Stephen Rothwell > wrote: > > > > After merging the iommu tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > drivers/gpu/drm/msm/msm_iommu.c: In

Re: [PATCH] drm/amdgpu: add missing newline at eof

2020-10-14 Thread Alex Deucher
On Wed, Oct 14, 2020 at 5:18 PM wrote: > > From: Tom Rix > > Representative checkpatch.pl warning > > WARNING: adding a line without newline at end of file > 30: FILE: drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h:30: > +#endif > > Signed-off-by: Tom Rix Applied. Thanks! Alex > --- >

Re: [PATCH v4 1/5] RDMA/umem: Support importing dma-buf as user memory region

2020-10-14 Thread kernel test robot
-20201014 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project e7fe3c6dfede8d5781bd000741c3dea7088307a4) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

[PATCH] drm/amdgpu: add missing newline at eof

2020-10-14 Thread trix
From: Tom Rix Representative checkpatch.pl warning WARNING: adding a line without newline at end of file 30: FILE: drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h:30: +#endif Signed-off-by: Tom Rix --- drivers/gpu/drm/amd/include/asic_reg/gc/gc_9_4_1_sh_mask.h | 2 +-

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 --- Comment #9 from Robert M. Muncrief (rmuncr...@humanavance.com) --- The same type of problem also occurred when I had my old R9-390 and GT 710 GPUs, FX-6300 CPU, and Gigabyte GA-990FXA-UD5 motherboard. However if I put the GT 710 in the

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 --- Comment #8 from Alex Deucher (alexdeuc...@gmail.com) --- [ 3399.070651] pcieport :03:02.0: can't change power state from D3hot to D0 (config space inaccessible) [ 3399.073473] amdgpu :05:00.0: can't change power state from D3hot to D0

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 --- Comment #7 from Robert M. Muncrief (rmuncr...@humanavance.com) --- This bug still persists with kernel 5.9.0. I didn't attach new logs because the bug output is identical to the 5.8 kernel series. -- You are receiving this mail because: You

[pull] amdgpu, amdkfd drm-fixes-5.10

2020-10-14 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.10. The following changes since commit 9c27bc97aff8bbe62b5b29ebf528291dd85d9c86: drm/amdgpu: Fix invalid number of character '{' in amdgpu_acpi_init (2020-10-09 15:16:10 -0400) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux

Re: [PATCH v7 2/2] drm: panel: Add novatek nt36672a panel driver

2020-10-14 Thread Sam Ravnborg
Hi Sumit. On Wed, Sep 02, 2020 at 12:14:07PM +0530, Sumit Semwal wrote: > Novatek NT36672a is a generic DSI IC that drives command and video mode > panels. Add the driver for it. > > Right now adding support for some Poco F1 phones that have an LCD panel > from Tianma connected with this IC,

Re: [PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-10-14 Thread Sam Ravnborg
Hi Sumit. On Wed, Sep 02, 2020 at 12:14:06PM +0530, Sumit Semwal wrote: > Novatek nt36672a is a display driver IC that can drive DSI panel. It > is also present in the Tianma video mode panel, which is a FHD+ panel > with a resolution of 1080x2246 and 6.18 inches size. It is found in > some of the

[PATCH v4 3/5] RDMA/uverbs: Add uverbs command for dma-buf based MR registration

2020-10-14 Thread Jianxin Xiong
Implement a new uverbs ioctl method for memory registration with file descriptor as an extra parameter. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian Koenig --- drivers/infiniband/core/uverbs_std_types_mr.c | 112 ++

[PATCH v4 2/5] RDMA/core: Add device method for registering dma-buf base memory region

2020-10-14 Thread Jianxin Xiong
Dma-buf based memory region requires one extra parameter and is processed quite differently. Adding a separate method allows clean separation from regular memory regions. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian Koenig ---

[PATCH v4 1/5] RDMA/umem: Support importing dma-buf as user memory region

2020-10-14 Thread Jianxin Xiong
Dma-buf is a standard cross-driver buffer sharing mechanism that can be used to support peer-to-peer access from RDMA devices. Device memory exported via dma-buf is associated with a file descriptor. This is passed to the user space as a property associated with the buffer allocation. When the

[PATCH v4 5/5] dma-buf: Clarify that dma-buf sg lists are page aligned

2020-10-14 Thread Jianxin Xiong
The dma-buf API have been used under the assumption that the sg lists returned from dma_buf_map_attachment() are fully page aligned. Lots of stuff can break otherwise all over the place. Clarify this in the documentation and add a check when DMA API debug is enabled. Signed-off-by: Jianxin Xiong

[PATCH v4 4/5] RDMA/mlx5: Support dma-buf based userspace memory region

2020-10-14 Thread Jianxin Xiong
Implement the new driver method 'reg_user_mr_dmabuf'. Utilize the core functions to import dma-buf based memory region and update the mappings. Add code to handle dma-buf related page fault. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian

[PATCH v4 0/5] RDMA: Add dma-buf support

2020-10-14 Thread Jianxin Xiong
This is the fourth version of the patch set. Changelog: v4: * Add a new ib_device method reg_user_mr_dmabuf() instead of expanding the existing method reg_user_mr() * Use a separate code flow for dma-buf instead of adding special cases to the ODP memory region code path * In invalidation

Re: [v1] drm/msm: Fix race condition in msm driver with async layer updates

2020-10-14 Thread Rob Clark
On Wed, Oct 14, 2020 at 5:58 AM Krishna Manikandan wrote: > > When there are back to back commits with async cursor update, > there is a case where second commit can program the DPU hw > blocks while first didn't complete flushing config to HW. > > Synchronize the compositions such that second

[PATCH] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-10-14 Thread Tejas Upadhyay
JSL has update in vswing table for eDP. BSpec: 21257 Cc: Souza Jose Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 87 +++- 1 file changed, 85 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c

Re: [PATCH 1/2] arm64: dts: qcom: sc7180: Add gpu cooling support

2020-10-14 Thread Akhil P Oommen
On 10/9/2020 10:27 PM, Matthias Kaehlcke wrote: On Fri, Oct 09, 2020 at 08:05:10AM -0700, Doug Anderson wrote: Hi, On Thu, Oct 8, 2020 at 10:10 AM Akhil P Oommen wrote: Add cooling-cells property and the cooling maps for the gpu tzones to support GPU cooling. Signed-off-by: Akhil P Oommen

Re: [PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Chun-Kuang Hu
Hi, Fabien: Fabien Parent 於 2020年10月14日 週三 上午2:19寫道: > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 I think you should drop this series. According to Mediatek HDMI binding document [1], the second parameter

Re: [PATCH drm/hisilicon 2/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_drv

2020-10-14 Thread Thomas Zimmermann
Hi On Wed, 30 Sep 2020 15:13:08 +0800 Tian Tao wrote: > Consistently Use the same style of variable type in hibmc_drm_de.c and > hibmc_drm_de.h. > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 13 ++--- >

Re: [PATCH drm/hisilicon 1/2] drm/hisilicon: Use the same style of variable type in hibmc_drm_de

2020-10-14 Thread Thomas Zimmermann
Hi, reviews take a while as I'm very busy ATM. On Wed, 30 Sep 2020 15:13:07 +0800 Tian Tao wrote: > Consistently Use the same style of variable type in hibmc_drm_de.c. > > Signed-off-by: Tian Tao > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 59 > +- 1 file

Re: [PATCH v2 1/3] backlight: pwm_bl: Fix interpolation

2020-10-14 Thread Daniel Thompson
On Tue, Oct 13, 2020 at 01:01:01AM -0700, Alexandru Stan wrote: > Whenever num-interpolated-steps was larger than the distance > between 2 consecutive brightness levels the table would get really > discontinuous. The slope of the interpolation would stick with > integers only and if it was 0 the

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

2020-10-14 Thread Ilpo Järvinen
On Thu, 17 Sep 2020, Thomas Zimmermann wrote: > Hi > > Am 17.09.20 um 13:17 schrieb Ilpo Järvinen: > > Hi, > > > > Yes, I can build custom kernels and test but I won't have time for that > > before the end of September so I'll do it only then. > > No problem, that's still fine. > > Best

[Bug 208981] trace with B550I AORUS PRO AX and AMD Ryzen 5 PRO 4650G

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208981 Anton Repko (an...@a-repko.sk) changed: What|Removed |Added CC||an...@a-repko.sk ---

[Bug 209673] divide_error in amdgpu freezes screen

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209673 --- Comment #1 from cornelius.riemenschnei...@googlemail.com --- Xorg.0.log.old (the log that should contain the output of the crashed X server) is unfortunately empty. -- You are receiving this mail because: You are watching the assignee of

[Bug 209673] New: divide_error in amdgpu freezes screen

2020-10-14 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209673 Bug ID: 209673 Summary: divide_error in amdgpu freezes screen Product: Drivers Version: 2.5 Kernel Version: 5.8.14-arch1-1 Hardware: x86-64 OS: Linux Tree:

Re: [PATCH v2] drm/virtio: Use UUID API for importing the UUID

2020-10-14 Thread Gerd Hoffmann
On Tue, Oct 13, 2020 at 04:27:14PM +0300, Andy Shevchenko wrote: > There is import_uuid() function which imports u8 array to the uuid_t. > Use it instead of open coding variant. > > This allows to hide the uuid_t internals. > > Reviewed-by: David Stevens > Signed-off-by: Andy Shevchenko

Re: [Intel-gfx] [PATCH V2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-14 Thread Maarten Lankhorst
Op 13-10-2020 om 23:08 schreef Matt Roper: > On Wed, Oct 14, 2020 at 12:59:48AM +0530, Tejas Upadhyay wrote: >> Recently we came across requirement to identify EHL and JSL >> platform to program them differently. Thus Split the basic >> platform definition, macros, and PCI IDs to differentiate >>

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

2020-10-14 Thread Thomas Zimmermann
Hi On Wed, 14 Oct 2020 09:58:37 +0300 (EEST) "Ilpo Järvinen" wrote: > On Thu, 17 Sep 2020, Thomas Zimmermann wrote: > > > Hi > > > > Am 17.09.20 um 13:17 schrieb Ilpo Järvinen: > > > Hi, > > > > > > Yes, I can build custom kernels and test but I won't have time for that > > > before the end

[PATCH v2 3/8] dt-bindings: phy: convert phy-mtk-ufs.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert phy-mtk-ufs.txt to YAML schema mediatek,ufs-phy.yaml Signed-off-by: Chunfeng Yun --- v2: fix binding check warning of reg in example --- .../bindings/phy/mediatek,ufs-phy.yaml| 64 +++ .../devicetree/bindings/phy/phy-mtk-ufs.txt | 38 --- 2 files

[PATCH v2 8/8] MAINTAINERS: update MediaTek PHY/USB entry

2020-10-14 Thread Chunfeng Yun
Due to the phy/usb bindings are converted into YAML schema and also renamed, update entries. Meanwhile add drivers/usb/host/mtk-xhci* files. Signed-off-by: Chunfeng Yun --- v2: new patch --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS

[PATCH v2 6/8] dt-bindings: usb: convert mediatek, mtk-xhci.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert mediatek,mtk-xhci.txt to YAML schema mediatek,mtk-xhci.yaml Signed-off-by: Chunfeng Yun --- v2: new patch --- .../bindings/usb/mediatek,mtk-xhci.txt| 121 .../bindings/usb/mediatek,mtk-xhci.yaml | 180 ++ 2 files changed, 180 insertions(+), 121

[PATCH v2] drm/nouveau/kms: Fix NULL pointer dereference in nouveau_connector_detect_depth

2020-10-14 Thread Alexander Kapshuk
This oops manifests itself on the following hardware: 01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M] (rev a1) Oct 09 14:17:46 lp-sasha kernel: BUG: kernel NULL pointer dereference, address: Oct 09 14:17:46 lp-sasha kernel: #PF: supervisor read

Re: [PATCH RFC PKS/PMEM 33/58] fs/cramfs: Utilize new kmap_thread()

2020-10-14 Thread Matthew Wilcox
On Tue, Oct 13, 2020 at 11:44:29AM -0700, Dan Williams wrote: > On Fri, Oct 9, 2020 at 12:52 PM wrote: > > > > From: Ira Weiny > > > > The kmap() calls in this FS are localized to a single thread. To avoid > > the over head of global PKRS updates use the new kmap_thread() call. > > > > Cc:

Re: [PATCH 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Fabien Parent
On Tue, Oct 13, 2020 at 7:28 PM Fabien Parent wrote: > > Add support for HDMI on MT8167. HDMI on MT8167 is similar to > MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 > > Signed-off-by: Fabien Parent > --- > drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 +++ >

[PATCH v2 5/8] dt-bindings: usb: convert mediatek, musb.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert mediatek,musb.txt to YAML schema mediatek,musb.yaml Cc: Min Guo Signed-off-by: Chunfeng Yun --- v2: new patch --- .../devicetree/bindings/usb/mediatek,musb.txt | 57 - .../bindings/usb/mediatek,musb.yaml | 113 ++ 2 files changed, 113 insertions(+),

[PATCH v4] drm/msm/dp: return correct connection status after suspend

2020-10-14 Thread Kuogee Hsieh
During suspend, dp host controller and hpd block are disabled due to both ahb and aux clock are disabled. Therefore hpd plug/unplug interrupts will not be generated. At dp_pm_resume(), reinitialize both dp host controller and hpd block so that hpd plug/unplug interrupts will be generated and

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

2020-10-14 Thread Kever Yang
Hi Maintainers,     Does this patch ready to merge? On 2020/7/7 下午7:25, Sandy Huang wrote: 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

Re: linux-next: build failure after merge of the drm-misc tree

2020-10-14 Thread Paul Cercueil
Hi Stephen, Le lun. 12 oct. 2020 à 15:24, Stephen Rothwell a écrit : Hi all, On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell wrote: On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell wrote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig)

Re: [PATCH v3] drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-10-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2020-10-13 16:35:44) > Connection state is not set correctly happen when either failure of link > train due to cable unplugged in the middle of aux channel reading or > cable plugged in while in suspended state. This patch fixes these problems. > This patch also replace

[PATCH v2 0/3] PWM backlight interpolation adjustments

2020-10-14 Thread Alexandru Stan
I was trying to adjust the brightness-levels for the trogdor boards: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2291209 Like on a lot of panels, trogdor's low end needs to be cropped, and now that we have the interpolation stuff I wanted to make use of it and bake

Re: [PATCH] MAINTAINERS: Add myself as a maintainer for vc4

2020-10-14 Thread Maxime Ripard
On Fri, Oct 09, 2020 at 09:54:28AM -0700, Eric Anholt wrote: > Reviewed-by: Eric Anholt Thanks! I applied it to drm-misc-next > I'd be fine with retiring from being maintainer, too. I'm definitely > not active. Ultimately that's up to you, but I guess it would be nice to still stick around

Re: [PATCH v2 3/7] dt-bindings: display: mxsfb: Add a bus-width endpoint property

2020-10-14 Thread Marek Vasut
On 10/13/20 4:06 AM, Laurent Pinchart wrote: > Hi Marek, > > On Sat, Oct 10, 2020 at 10:47:05AM +0200, Marek Vasut wrote: >> On 10/10/20 1:58 AM, Laurent Pinchart wrote: >>> Hi Marek, >> >> Hi, >> >>> On Wed, Oct 07, 2020 at 10:40:26AM +0200, Marek Vasut wrote: On 10/7/20 3:24 AM, Laurent

[PATCH v2 1/2] drm/mediatek: mtk_hdmi: move 2 registers address into of_data

2020-10-14 Thread Fabien Parent
On MT8167, the two registers SYS_CFG1C and SYS_CFG20 don't have the same address as on MT8173. Add OF data in order to store the address of these two registers. Signed-off-by: Fabien Parent --- Changelog: v2: no changes drivers/gpu/drm/mediatek/mtk_hdmi.c | 45 ++--- 1

[PATCH] drm/mediatek: Optimize functions which do not need to return

2020-10-14 Thread Bernard Zhao
Function mtk_hdmi_aud_set_input always return 0, no need to keep the return value. Functions mtk_hdmi_aud_enable_packet & mtk_hdmi_aud_on_off_hw_ncts are the same, these two functions just call next functions. Maybe it`s a bit better to just call the inner function. Signed-off-by: Bernard Zhao

[PATCH v2 1/3] backlight: pwm_bl: Fix interpolation

2020-10-14 Thread Alexandru Stan
Whenever num-interpolated-steps was larger than the distance between 2 consecutive brightness levels the table would get really discontinuous. The slope of the interpolation would stick with integers only and if it was 0 the whole line segment would get skipped. Example settings:

[PATCH v2 1/8] dt-bindings: phy: convert phy-mtk-xsphy.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert phy-mtk-xsphy.txt to YAML schema mediatek,xsphy.yaml Signed-off-by: Chunfeng Yun --- v2: modify description and compatible definition suggested by Rob --- .../bindings/phy/mediatek,xsphy.yaml | 200 ++ .../devicetree/bindings/phy/phy-mtk-xsphy.txt | 109

[PATCH v2 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Fabien Parent
Add support for HDMI on MT8167. HDMI on MT8167 is similar to MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 Signed-off-by: Fabien Parent --- Changelog: v2: fix name of pdata structure drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 +++

[PATCH v2 4/8] dt-bindings: phy: convert HDMI PHY binding to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert HDMI PHY binding to YAML schema mediatek,ufs-phy.yaml Signed-off-by: Chunfeng Yun --- v2: fix binding check warning of reg in example --- .../display/mediatek/mediatek,hdmi.txt| 17 +--- .../bindings/phy/mediatek,hdmi-phy.yaml | 90 +++ 2 files changed, 91

Re: Nouveau DRM failure on 5120x1440 screen with 5.8/5.9 kernel

2020-10-14 Thread Byron Stanoszek
On Tue, 13 Oct 2020, Byron Stanoszek wrote: I'm having a problem with both the 5.8 and 5.9 kernels using the nouveau DRM driver. I have a laptop with a VGA card (specs below) connected to a 5120x1440 screen. At boot time, the card correctly detects the screen, tries to allocate fbdev fb0, then

Nouveau DRM failure on 5120x1440 screen with 5.8/5.9 kernel

2020-10-14 Thread Byron Stanoszek
I'm having a problem with both the 5.8 and 5.9 kernels using the nouveau DRM driver. I have a laptop with a VGA card (specs below) connected to a 5120x1440 screen. At boot time, the card correctly detects the screen, tries to allocate fbdev fb0, then the video hangs completely for 15-30 seconds

[PATCH 2/2] drm/mediatek: mtk_hdmi: add MT8167 support for HDMI

2020-10-14 Thread Fabien Parent
Add support for HDMI on MT8167. HDMI on MT8167 is similar to MT8173/MT2701 execpt for the two registers: SYS_CFG1C and SYS_CFG20 Signed-off-by: Fabien Parent --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 7 +++ drivers/gpu/drm/mediatek/mtk_hdmi_regs.h | 2 ++ 2 files changed, 9

Re: [PATCH RFC PKS/PMEM 33/58] fs/cramfs: Utilize new kmap_thread()

2020-10-14 Thread Al Viro
On Tue, Oct 13, 2020 at 08:36:43PM +0100, Matthew Wilcox wrote: > static inline void copy_to_highpage(struct page *to, void *vfrom, unsigned > int size) > { > char *vto = kmap_atomic(to); > > memcpy(vto, vfrom, size); > kunmap_atomic(vto); > } > > in linux/highmem.h ? You

[PATCH v3] drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-10-14 Thread Kuogee Hsieh
Connection state is not set correctly happen when either failure of link train due to cable unplugged in the middle of aux channel reading or cable plugged in while in suspended state. This patch fixes these problems. This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. Changes in V2:

[PATCH v2 7/8] dt-bindings: usb: convert mediatek, mtu3.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert mediatek,mtu3.txt to YAML schema mediatek,mtu3.yaml Signed-off-by: Chunfeng Yun --- v2: new patch --- .../devicetree/bindings/usb/mediatek,mtu3.txt | 108 - .../bindings/usb/mediatek,mtu3.yaml | 227 ++ 2 files changed, 227 insertions(+), 108

Re: [PATCH RFC PKS/PMEM 33/58] fs/cramfs: Utilize new kmap_thread()

2020-10-14 Thread Nicolas Pitre
On Fri, 9 Oct 2020, ira.we...@intel.com wrote: > From: Ira Weiny > > The kmap() calls in this FS are localized to a single thread. To avoid > the over head of global PKRS updates use the new kmap_thread() call. > > Cc: Nicolas Pitre > Signed-off-by: Ira Weiny Acked-by: Nicolas Pitre >

[PATCH 1/2] drm/mediatek: mtk_hdmi: move 2 registers address into of_data

2020-10-14 Thread Fabien Parent
On MT8167, the two registers SYS_CFG1C and SYS_CFG20 don't have the same address as on MT8173. Add OF data in order to store the address of these two registers. Signed-off-by: Fabien Parent --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 45 ++--- 1 file changed, 34

[PATCH v2] drm/virtio: Use UUID API for importing the UUID

2020-10-14 Thread Andy Shevchenko
There is import_uuid() function which imports u8 array to the uuid_t. Use it instead of open coding variant. This allows to hide the uuid_t internals. Reviewed-by: David Stevens Signed-off-by: Andy Shevchenko --- v2: rebased on top of drm-misc-next (Gerd), added Rb tag (David)

Re: [PATCH v4] drm/msm/dp: return correct connection status after suspend

2020-10-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2020-10-13 16:35:22) > During suspend, dp host controller and hpd block are disabled due to > both ahb and aux clock are disabled. Therefore hpd plug/unplug interrupts > will not be generated. At dp_pm_resume(), reinitialize both dp host > controller and hpd block so that hpd

[PATCH v2 2/8] dt-bindings: phy: convert phy-mtk-tphy.txt to YAML schema

2020-10-14 Thread Chunfeng Yun
Convert phy-mtk-tphy.txt to YAML schema mediatek,tphy.yaml Signed-off-by: Chunfeng Yun --- v2: modify description and compatible --- .../bindings/phy/mediatek,tphy.yaml | 263 ++ .../devicetree/bindings/phy/phy-mtk-tphy.txt | 162 --- 2 files changed, 263