Re: [PATCH v7 09/15] drm/i915: Add support for starting FRL training for HDMI2.1 via PCON

2021-02-02 Thread Nautiyal, Ankit K
On 2/2/2021 12:17 PM, Ville Syrjälä wrote: On Tue, Feb 02, 2021 at 12:09:47PM +0530, Nautiyal, Ankit K wrote: Hi Ville, Please find my responses inline. On 2/2/2021 2:08 AM, Ville Syrjälä wrote: On Fri, Dec 18, 2020 at 04:07:17PM +0530, Ankit Nautiyal wrote: This patch adds functions to sta

[PATCH v5 3/8] drm/mediatek: add component RDMA4

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component RDMA4 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gp

Re: [PATCH] drm/lima: Use delayed timer as default in devfreq profile

2021-02-02 Thread Lukasz Luba
Hi Qiang, On 1/30/21 1:51 PM, Qiang Yu wrote: Thanks for the patch. But I can't observe any difference on glmark2 with or without this patch. Maybe you can provide other test which can benefit from it. This is a design problem and has impact on the whole system. There is a few issues. When the

Re: linux-next: Tree for Feb 1 (drivers/gpu/drm/i915/i915_gem.c)

2021-02-02 Thread Randy Dunlap
On 2/1/21 1:14 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20210129: > still seeing this one: on x86_64: ../drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_freeze_late’: ../drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function ‘wbinvd_on_all_cpus’;

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-02 Thread Miroslav Benes
On Mon, 1 Feb 2021, Christoph Hellwig wrote: > On Fri, Jan 29, 2021 at 10:43:36AM +0100, Petr Mladek wrote: > > > --- a/kernel/livepatch/core.c > > > +++ b/kernel/livepatch/core.c > > > @@ -164,12 +164,8 @@ static int klp_find_object_symbol(const char > > > *objname, const char *name, > > >

[PATCH v5 0/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-02 Thread Hsin-Yi Wang
This series are based on kernel/git/chunkuang.hu/linux.git mediatek-drm-next and following patch: ("soc: mediatek: add mtk mutex support for MT8183") https://patchwork.kernel.org/project/linux-mediatek/patch/20210129092209.2584718-8-hsi...@chromium.org/ This series also depends on component suppor

[PATCH] drm/amd/amdgpu/amdgpu_debugfs: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-02-02 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1591:0-23: WARNING: fops_sclk_set should be defined with DEFINE_DEBUGFS_ATTRIBUTE. ./drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1588:0-23: WARNING: fops_ib_preempt should be defined with DEFINE_DEBUGFS_ATTRIBUTE.

Re: [PATCH v2] drm/lima: add governor data with pre-defined thresholds

2021-02-02 Thread Lukasz Luba
On 1/30/21 1:57 PM, Qiang Yu wrote: This patch gets minor improvement on glmark2 (160->162). It has bigger impact when the load is changing and the frequency is stuck to min w/o this patch. Seems there's no way for user to change this value, do we? Or there's work pending to expose it to

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-02 Thread Jason Gunthorpe
On Mon, Feb 01, 2021 at 03:10:00PM +0100, Daniel Vetter wrote: > On Mon, Feb 1, 2021 at 7:16 AM Leon Romanovsky wrote: > > > > On Sun, Jan 31, 2021 at 05:31:16PM +0200, Gal Pressman wrote: > > > On 25/01/2021 21:57, Jianxin Xiong wrote: > > > > Define a new sub-class of 'MR' that uses dma-buf obje

[PATCH v5 4/8] drm/mediatek: separate ccorr module

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu ccorr ctm matrix bits will be different in mt8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 216 drivers/gpu/drm/mediatek/mtk_disp_dr

[PATCH] backlight: pcf50633: pdata may be a null pointer, null pointer dereference cause crash

2021-02-02 Thread Wenjia Zhao
Signed-off-by: Wenjia Zhao --- drivers/video/backlight/pcf50633-backlight.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/backlight/pcf50633-backlight.c b/drivers/video/backlight/pcf50633-backlight.c index 540dd338..43267af 100644 --- a/drivers/video/backlig

[PATCH v5 1/8] drm/mediatek: add component OVL_2L2

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component OVL_2L2 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-02-02 Thread Sai Prakash Ranjan
On 2021-02-01 23:50, Jordan Crouse wrote: On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: On Mon, Feb 1, 2021 at 3:16 AM Will Deacon wrote: > > On Fri, Jan 29, 2021 at 03:12:59PM +0530, Sai Prakash Ranjan wrote: > > On 2021-01-29 14:35, Will Deacon wrote: > > > On Mon, Jan 11, 2021 a

[PATCH v5 5/8] drm/mediatek: Fix ccorr size config

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Fix setting to follow hardware datasheet. The original error setting affects mt8192 display. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/g

[PATCH v2 2/2] drm/panel: Add panel for Samsung Galaxy S5

2021-02-02 Thread Iskren Chernev
The Samsung Galaxy S5 uses the samsung s6e3fa2 AMOLED cmd LCD panel. This driver was generated with [1], with the addition of mipi_dsi_dcs_set_display_on at the end of the on method. [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator Signed-off-by: Iskren Chernev ---

Re: [PATCH 3/5] drm/msm/dsi_pll_10nm: Fix bad VCO rate calculation and prescaler

2021-02-02 Thread AngeloGioacchino Del Regno
Il 31/01/21 20:50, Rob Clark ha scritto: On Sat, Jan 9, 2021 at 5:51 AM AngeloGioacchino Del Regno wrote: The VCO rate was being miscalculated due to a big overlook during the process of porting this driver from downstream to upstream: here we are really recalculating the rate of the VCO by re

[PATCH v6 6/8] drm/mediatek: add matrix_bits private data for ccorr

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Add matrix_bits and coeffs_precision to ccorr private data: - matrix bits of mt8183 is 10 - matrix bits of mt8192 is 11 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 27 ++- 1 file changed, 17 i

[PATCH v5 6/8] drm/mediatek: add matrix_bits private data for ccorr

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Add matrix_bits and coeffs_precision to ccorr private data: - matrix bits of mt8183 is 10 - matrix bits of mt8192 is 11 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 34 --- 1 file changed, 24 i

[PATCH] drm: Fix drm_atomic_get_new_crtc_state call error

2021-02-02 Thread Zhaoge Zhang
This position is to clear the previous mask flags, so drm_atomic_get_crtc_state should be used. Signed-off-by: Zhaoge Zhang --- drivers/gpu/drm/drm_atomic_uapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_uapi.c b/drivers/gpu/drm/drm_atomi

Re: [PATCH 04/13] module: use RCU to synchronize find_module

2021-02-02 Thread Miroslav Benes
On Mon, 1 Feb 2021, Jessica Yu wrote: > +++ Miroslav Benes [29/01/21 16:29 +0100]: > >On Thu, 28 Jan 2021, Christoph Hellwig wrote: > > > >> Allow for a RCU-sched critical section around find_module, following > >> the lower level find_module_all helper, and switch the two callers > >> outside of

Re: [PATCH 2/2] drm/aspeed: Use dt matching for default register values

2021-02-02 Thread Jeremy Kerr
Hi Joel, > There are minor differences in the values for the threshold value and > the scan line size between families of ASPEED SoC. Additionally the > SCU register for the output control differs between families. > > This adds device tree matching to parameterise these values, allowing > us to

[PATCH] drm/kmb: remove unneeded semicolon

2021-02-02 Thread Yang Li
Eliminate the following coccicheck warning: ./drivers/gpu/drm/kmb/kmb_dsi.c:281:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:301:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:318:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:337:3-4: Unneeded semicolon ./drivers/gpu/d

Re: [PATCH v2] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-02-02 Thread Oliver Graute
On 01/02/21, Marco Felsch wrote: > Hi Oliver, > > thanks for the patch :) > > On 21-01-29 20:09, Oliver Graute wrote: > > Add support for the Solomon Goldentek Display Model: GKTW70SDAD1SD > > to panel-simple. > > > > The panel spec from Variscite can be found at: > > https://www.variscite.com/w

Re: [PATCH] drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

2021-02-02 Thread James Park
Hello, Is there something I can do to help move this patch along? Thanks, James Park On Thu, Dec 10, 2020 at 1:13 AM James Park wrote: > Create drm_basic_types.h to define types previously defined by drm.h. > > Use DRM_FOURCC_STANDALONE to include drm_fourcc.h without drm.h. > > This will allo

[PATCH v6 1/8] drm/mediatek: add component OVL_2L2

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component OVL_2L2 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/

Re: [PATCH] drm: bridge: adv7511: Add set_jack handler

2021-02-02 Thread Jun Nie
Jun Nie 于2021年1月19日周二 下午12:42写道: > > With commit 55c5cc63ab, the hdmi_codec_set_jack() will report unsupport > failure if set_jack handler is missing. Add set_jack handler to resolve > this failure. > > Signed-off-by: Jun Nie > --- > .../gpu/drm/bridge/adv7511/adv7511_audio.c| 27 +++

[PATCH v6 8/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu add support for mediatek SOC MT8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 6 drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 20 +++ drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 drivers/gp

Re: [PATCH v12] staging: fbtft: add tearing signal detect

2021-02-02 Thread Carlis
On Mon, 1 Feb 2021 19:40:21 +0200 Andy Shevchenko wrote: > On Sat, Jan 30, 2021 at 8:39 AM carlis wrote: > > On Fri, 29 Jan 2021 16:26:12 +0200 > > Andy Shevchenko wrote: > > > On Fri, Jan 29, 2021 at 3:56 PM carlis > > > wrote: > > > > On Fri, 29 Jan 2021 12:23:08 +0200 > > > > Andy Shevc

[PATCH 2/3] fix the out-of-bounds access of dramsr13

2021-02-02 Thread Wenjia Zhao
Signed-off-by: Wenjia Zhao --- drivers/video/fbdev/sis/sis_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/sis/sis_main.c b/drivers/video/fbdev/sis/sis_main.c index 03c736f..6774252 100644 --- a/drivers/video/fbdev/sis/sis_main.c +++ b/drivers/video

[PATCH v5 2/8] drm/mediatek: add component POSTMASK

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component POSTMASK. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/Makefile| 1 + drivers/gpu/drm/mediatek/mtk_disp_drv.h | 8 + drivers/gpu/drm/mediatek/mtk_disp_postmask.c | 149 ++

[PATCH v2 1/2] dt-bindings: panel: Add Samsung S6E3FA2 panel

2021-02-02 Thread Iskren Chernev
The Samsung S6E3FA2 AMOLED cmd LCD panel is used on the Samsung Galaxy S5 (klte). Signed-off-by: Iskren Chernev --- OK, miraculously the panel turns on and off now, so the simple-panel can graduate into its own driver. v1: https://lkml.org/lkml/2020/12/30/293 Changes in v2: - move bindings to s

Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

2021-02-02 Thread Miroslav Benes
One more thing... > @@ -4379,8 +4379,7 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, > const char *, > unsigned int i; > int ret; > > - module_assert_mutex(); > - > + mutex_lock(&module_mutex); > list_for_each_entry(mod, &modules, list) { > /* W

[PATCH v5 7/8] soc: mediatek: add mtk mutex support for MT8192

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Add mtk mutex support for MT8192 SoC. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: CK Hu --- drivers/soc/mediatek/mtk-mutex.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers/soc/mediatek/mtk-mutex.c b/

[PATCH v5 8/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu add support for mediatek SOC MT8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c| 6 +++ drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 20 ++ drivers/gpu/drm/mediatek/mtk_disp_postmask.c | 1 + driver

[PATCH 3/3] video: fbdev: fix the out-of-bounds access cr_data->bak

2021-02-02 Thread Wenjia Zhao
The size of cr_data->bak is CURSOR_SIZE/4, however the access size in the is CURSOR_SIZE in the loop. It causes the out-of-bounds access. Signed-off-by: Wenjia Zhao --- drivers/video/fbdev/via/viafbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/via/

Re: [PATCH 1/2] drm/aspeed: Look up syscon by phandle

2021-02-02 Thread Jeremy Kerr
Hi Joel, Sounds like a good idea! One comment though: > @@ -111,10 +112,13 @@ static int aspeed_gfx_load(struct drm_device *drm) > if (IS_ERR(priv->base)) > return PTR_ERR(priv->base); >   > -   priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); > + 

[PATCH v3 2/2] drm/panel: Add panel for Samsung Galaxy S5

2021-02-02 Thread Iskren Chernev
The Samsung Galaxy S5 uses the samsung s6e3fa2 AMOLED cmd LCD panel. This driver was generated with [1], with the addition of mipi_dsi_dcs_set_display_on at the end of the on method. [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator Signed-off-by: Iskren Chernev ---

[PATCH v13] staging: fbtft: add tearing signal detect

2021-02-02 Thread Carlis
From: Carlis For st7789v IC, when we need continuous full screen refresh, it is best to wait for the tearing effect line signal to arrive to avoid screen tearing. Signed-off-by: Carlis --- v13: change TE completion to par data struct member and add a new function to deal te gpio request, m

[PATCH v6 3/8] drm/mediatek: add component RDMA4

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component RDMA4 Signed-off-by: Yongqiang Niu Reviewed-by: Chun-Kuang Hu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gp

[PATCH v3 1/2] dt-bindings: panel: Add Samsung S6E3FA2 panel

2021-02-02 Thread Iskren Chernev
The Samsung S6E3FA2 AMOLED cmd LCD panel is used on the Samsung Galaxy S5 (klte). Signed-off-by: Iskren Chernev --- Add a simple generated panel driver that supports on/off and the corresponding binding documentation. Changes in v3: - fix dt_binding_check issue with missing include - fix panel t

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-02-02 Thread Sai Prakash Ranjan
On 2021-02-01 23:50, Jordan Crouse wrote: On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: On Mon, Feb 1, 2021 at 3:16 AM Will Deacon wrote: > > On Fri, Jan 29, 2021 at 03:12:59PM +0530, Sai Prakash Ranjan wrote: > > On 2021-01-29 14:35, Will Deacon wrote: > > > On Mon, Jan 11, 2021 a

[PATCH] drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

2021-02-02 Thread quanyang . wang
From: Quanyang Wang When running xrandr to change resolution of DP, the kmemleak as below can be observed: unreferenced object 0x00080a351000 (size 256): comm "Xorg", pid 248, jiffies 4294899614 (age 19.960s) hex dump (first 32 bytes): 98 a0 bc 01 08 00 ff ff 01 00 00 00 00 00 00 00

[PATCH v6 7/8] soc: mediatek: add mtk mutex support for MT8192

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Add mtk mutex support for MT8192 SoC. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: CK Hu --- drivers/soc/mediatek/mtk-mutex.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers/soc/mediatek/mtk-mutex.c b/

[PATCH v6 2/8] drm/mediatek: add component POSTMASK

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add component POSTMASK. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 102 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 73 insertions(+), 30 deletions(-)

[PATCH v6 5/8] drm/mediatek: Fix ccorr size config

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu Fix setting to follow hardware datasheet. The original error setting affects mt8192 display. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH v6 4/8] drm/mediatek: separate ccorr module

2021-02-02 Thread Hsin-Yi Wang
From: Yongqiang Niu ccorr ctm matrix bits will be different in mt8192 Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 216 drivers/gpu/drm/

[PATCH v6 0/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-02 Thread Hsin-Yi Wang
This series are based on kernel/git/chunkuang.hu/linux.git mediatek-drm-next and following patch: ("soc: mediatek: add mtk mutex support for MT8183") https://patchwork.kernel.org/project/linux-mediatek/patch/20210129092209.2584718-8-hsi...@chromium.org/ This series also depends on component suppor

Re: [PATCH] backlight: pcf50633: pdata may be a null pointer, null pointer dereference cause crash

2021-02-02 Thread Lee Jones
On Mon, 01 Feb 2021, Wenjia Zhao wrote: Please provide a suitable commit messages. Describe the problem. Describe the issue was found. Describe the solution. > Signed-off-by: Wenjia Zhao > --- > drivers/video/backlight/pcf50633-backlight.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deleti

Re: [Linaro-mm-sig] [PATCH 08/29] dma-buf: Avoid comma separated statements

2021-02-02 Thread Christian König
Yeah, known issue. An NTP server which I don't have access to has gone bananas and sometimes spits out invalid time stamps. Only thing I can do is wait for an admin to take care of this. Christian. Am 01.02.21 um 22:54 schrieb Lyude Paul: This is entirely unrelated to this thread, but I not

Re: [PATCH] drm: Fix drm_atomic_get_new_crtc_state call error

2021-02-02 Thread Ville Syrjälä
On Mon, Feb 01, 2021 at 05:33:44PM +0800, Zhaoge Zhang wrote: > This position is to clear the previous mask flags, > so drm_atomic_get_crtc_state should be used. > > Signed-off-by: Zhaoge Zhang > --- > drivers/gpu/drm/drm_atomic_uapi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH] drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

2021-02-02 Thread Simon Ser
On Thursday, December 10th, 2020 at 10:12 AM, James Park wrote: > +#ifndef _DRM_BASIC_TYPES_H_ > +#define _DRM_BASIC_TYPES_H_ Nit: the rest of the kernel doesn't use an underscore prefix for these defines. Note that anything starting with an underscore followed by an upper-case letter is a rese

Re: [PATCH] drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

2021-02-02 Thread Simon Ser
On Tuesday, February 2nd, 2021 at 9:51 AM, Simon Ser wrote: > On Thursday, December 10th, 2020 at 10:12 AM, James Park > jpar...@lagfreegames.com wrote: > > > +#ifndef _DRM_BASIC_TYPES_H > > +#define _DRM_BASIC_TYPES_H > > Nit: the rest of the kernel doesn't use an underscore prefix for these >

Re: [PATCH v6 2/8] drm/mediatek: add component POSTMASK

2021-02-02 Thread CK Hu
Hi, Hsin-Yi: On Tue, 2021-02-02 at 16:12 +0800, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > This patch add component POSTMASK. Reviewed-by: CK Hu > > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 102 ++--

Re: [PATCH v6 6/8] drm/mediatek: add matrix_bits private data for ccorr

2021-02-02 Thread CK Hu
Hi, Hsin-Yi: On Tue, 2021-02-02 at 16:12 +0800, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > Add matrix_bits and coeffs_precision to ccorr private data: > - matrix bits of mt8183 is 10 > - matrix bits of mt8192 is 11 > Reviewed-by: CK Hu > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin

Re: [PATCH v6 8/8] drm/mediatek: add support for mediatek SOC MT8192

2021-02-02 Thread CK Hu
Hi, Hsin-Yi: On Tue, 2021-02-02 at 16:12 +0800, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > add support for mediatek SOC MT8192 Reviewed-by: CK Hu > > Signed-off-by: Yongqiang Niu > Signed-off-by: Hsin-Yi Wang > --- > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 6 > drivers/gpu/dr

Re: [PATCH] backlight: pcf50633: pdata may be a null pointer, null pointer dereference cause crash

2021-02-02 Thread Daniel Thompson
On Mon, Feb 01, 2021 at 08:41:38AM -0600, Wenjia Zhao wrote: > Signed-off-by: Wenjia Zhao There should be a patch description here explaining why the patch is needed and how it works. > --- > drivers/video/backlight/pcf50633-backlight.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] drm/vc4: hvs: Fix buffer overflow with the dlist handling

2021-02-02 Thread Thomas Zimmermann
Am 29.01.21 um 17:06 schrieb Maxime Ripard: Commit 0a038c1c29a7 ("drm/vc4: Move LBM creation out of vc4_plane_mode_set()") changed the LBM allocation logic from first allocating the LBM memory for the plane to running mode_set, adding a gap in the LBM, and then running the dlist allocation fill

Re: [PATCH 1/3] printk: use CONFIG_CONSOLE_LOGLEVEL_* directly

2021-02-02 Thread Sergey Senozhatsky
On (21/02/02 16:02), Masahiro Yamada wrote: > > CONSOLE_LOGLEVEL_DEFAULT is nothing more than a shorthand of > CONFIG_CONSOLE_LOGLEVEL_DEFAULT. > > When you change CONFIG_CONSOLE_LOGLEVEL_DEFAULT from Kconfig, almost > all objects are rebuilt because CONFIG_CONSOLE_LOGLEVEL_DEFAULT is > used in ,

Re: [PATCH 1/3] printk: use CONFIG_CONSOLE_LOGLEVEL_* directly

2021-02-02 Thread Greg Kroah-Hartman
On Tue, Feb 02, 2021 at 04:02:16PM +0900, Masahiro Yamada wrote: > CONSOLE_LOGLEVEL_DEFAULT is nothing more than a shorthand of > CONFIG_CONSOLE_LOGLEVEL_DEFAULT. > > When you change CONFIG_CONSOLE_LOGLEVEL_DEFAULT from Kconfig, almost > all objects are rebuilt because CONFIG_CONSOLE_LOGLEVEL_DEFA

Re: [PATCH v3 0/5] amba: minor fix and various cleanups

2021-02-02 Thread Russell King - ARM Linux admin
On Tue, Jan 26, 2021 at 05:58:30PM +0100, Uwe Kleine-König wrote: > From: Uwe Kleine-König > Hello, > > Changes since v2 sent with Message-Id: > 20201124133139.3072124-1-...@kleine-koenig.org: > > - Rebase to v5.11-rc1 (which resulted in a few conflicts in >drivers/hwtracing). > - Add var

Re: [PATCH 2/4] drm/dp_mst: Don't cache EDIDs for physical ports

2021-02-02 Thread Imre Deak
On Tue, Feb 02, 2021 at 03:38:16AM +, Lin, Wayne wrote: > [AMD Public Use] > > > -Original Message- > > From: Imre Deak > > Sent: Monday, February 1, 2021 8:02 PM > > To: dri-devel@lists.freedesktop.org > > Cc: Lin, Wayne ; Lyude Paul > > Subject: [PATCH 2/4] drm/dp_mst: Don't cache

[Bug 210263] brightness device returns ENXIO (?) on brightness restore at boot, with bootoption "quiet"

2021-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=210263 --- Comment #1 from ninel...@protonmail.com --- Can confirm this with a Ryzen 7 4800H. Any news on this? -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. ___

Re: [Linaro-mm-sig] [PATCH v3] dmabuf: Add the capability to expose DMA-BUF stats in sysfs

2021-02-02 Thread Hridya Valsaraju
On Thu, Jan 28, 2021 at 6:35 AM Sumit Semwal wrote: > > Hi Simon, > > On Thu, 28 Jan 2021 at 20:01, Simon Ser wrote: > > > > On Thursday, January 28th, 2021 at 1:03 PM, Sumit Semwal > > wrote: > > > > > Since he didn't comment over Hridya's last clarification about the > > > tracepoints to trac

Re: [Linaro-mm-sig] [PATCH v3] dmabuf: Add the capability to expose DMA-BUF stats in sysfs

2021-02-02 Thread Hridya Valsaraju
On Mon, Feb 1, 2021 at 10:37 AM Daniel Vetter wrote: > > On Thu, Jan 28, 2021 at 1:03 PM Sumit Semwal wrote: > > > > On Thu, 28 Jan 2021 at 17:23, Christian König > > wrote: > > > > > > Am 28.01.21 um 12:00 schrieb Sumit Semwal: > > > > Hi Hridya, > > > > > > > > On Wed, 27 Jan 2021 at 17:36, Gr

[PULL] drm-misc-fixes

2021-02-02 Thread Thomas Zimmermann
Hi Dave and Daniel, here's this week's PR for drm-misc-fixes. There are 3 patches for the bridge code and one for TTM. Best regards Thomas drm-misc-fixes-2021-02-02: * drm/bridge/lontium-lt9611uxc: EDID fixes; Don't handle hotplug events in IRQ handler * drm/ttm: Use _GFP_NOWARN for huge pa

Re: [PATCH] drm/vc4: hvs: Fix buffer overflow with the dlist handling

2021-02-02 Thread Dave Stevenson
Hi Maxime On Fri, 29 Jan 2021 at 16:07, Maxime Ripard wrote: > > Commit 0a038c1c29a7 ("drm/vc4: Move LBM creation out of > vc4_plane_mode_set()") changed the LBM allocation logic from first > allocating the LBM memory for the plane to running mode_set, > adding a gap in the LBM, and then running

Re: [PATCH 2/3] drm/ttm: move memory accounting into vmwgfx v3

2021-02-02 Thread Christian König
Ping? Especially Roland and Zack do you have any objections to this? Regards, Christian. Am 28.01.21 um 14:16 schrieb Christian König: This is just another feature which is only used by VMWGFX, so move it into the driver instead. I've tried to add the accounting sysfs file to the kobject of t

Re: [PATCH v6 0/5] drm: Move struct drm_device.pdev to legacy

2021-02-02 Thread Jani Nikula
On Thu, 28 Jan 2021, Thomas Zimmermann wrote: > V6 of the patchset fixes i915/selftests to do the assigment of pdev > in a later patch. This was forgotten in v5. > > The pdev field in struct drm_device points to a PCI device structure and > goes back to UMS-only days when all DRM drivers were for

[GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-02 Thread Uwe Kleine-König
Hello, the following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.pengutronix.de/git/ukl/linux tags/amba-make-remove-return-void for you to fetch changes up to f170b59fedd733b92

Re: [RFC][PATCH 2/3] dma-buf: system_heap: Add pagepool support to system heap

2021-02-02 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 05:28:32PM -0800, John Stultz wrote: > On Mon, Dec 21, 2020 at 2:09 PM Daniel Vetter wrote: > > > > On Fri, Dec 18, 2020 at 05:16:56PM -0800, John Stultz wrote: > > > On Fri, Dec 18, 2020 at 6:36 AM Daniel Vetter wrote: > > > > On Thu, Dec 17, 2020 at 11:06:11PM +, Joh

Re: [GIT PULL] immutable branch for amba changes targeting v5.12-rc1

2021-02-02 Thread Greg Kroah-Hartman
On Tue, Feb 02, 2021 at 02:53:50PM +0100, Uwe Kleine-König wrote: > Hello, > > the following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: > > Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) > > are available in the Git repository at: > > https://git.pengutronix.de/git/ukl/linux

[Bug 203905] amdgpu:actual_brightness has unreal/wrong value

2021-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203905 Antony J.R (antonyjr...@gmail.com) changed: What|Removed |Added CC||antonyjr...@gmail.com

Re: [PATCH v4 04/13] drm/shmem-helper: Provide a vmap function for short-term mappings

2021-02-02 Thread Daniel Vetter
On Wed, Jan 27, 2021 at 01:08:05PM +0100, Thomas Zimmermann wrote: > Hi > > Am 11.01.21 um 17:50 schrieb Daniel Vetter: > > On Fri, Jan 08, 2021 at 10:43:31AM +0100, Thomas Zimmermann wrote: > > > Implementations of the vmap/vunmap GEM callbacks may perform pinning > > > of the BO and may acquire

Re: fbcon: remove soft scrollback code (missing Doc. patch)

2021-02-02 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 01:55:04PM -0500, Phillip Susi wrote: > > Geert Uytterhoeven writes: > > Judging from some of the comments in the code, it looks like you were > one of the original authors of fbcon? I haven't been able to find any > of these sczbot crash reports, and am not sure how fuzz

[Bug 207833] Brightness control not working on ASUS TUF FA506IU (AMD Ryzen 7 4800H / Nvidia GTX 1660 Ti)

2021-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207833 Antony J.R (antonyjr...@gmail.com) changed: What|Removed |Added CC||antonyjr...@gmail.com

Re: [PATCH v4 01/14] drm/ttm: Remap all page faults to per process dummy page.

2021-02-02 Thread Daniel Vetter
On Wed, Jan 27, 2021 at 09:29:41AM -0500, Andrey Grodzovsky wrote: > Hey Daniel, just a ping. Was on vacations last week. > Andrey > > On 1/25/21 10:28 AM, Andrey Grodzovsky wrote: > > > > On 1/19/21 8:56 AM, Daniel Vetter wrote: > > > On Mon, Jan 18, 2021 at 04:01:10PM -0500, Andrey Grodzovsky

Re: [PATCH 0/3] Experimental freesync video mode optimization

2021-02-02 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 10:16:45AM -0500, Alex Deucher wrote: > On Fri, Jan 22, 2021 at 4:43 AM Daniel Vetter wrote: > > > > On Fri, Jan 22, 2021 at 10:32:48AM +0200, Pekka Paalanen wrote: > > > On Tue, 19 Jan 2021 10:50:26 -0500 > > > Aurabindo Pillai wrote: > > > > > > > Changes in V5 > > > > =

Re: module loader dead code removal and cleanups v3

2021-02-02 Thread Jessica Yu
+++ Christoph Hellwig [02/02/21 13:13 +0100]: Hi all, this series removes support for long term unused export types and cleans up various loose ends in the module loader. Changes since v2: - clean up klp_find_object_symbol a bit - remove the now unused module_assert_mutex helper Changes since

[PATCH 1/6] drm/rockchip: dsi: add own additional pclk handling

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner In a followup patch, we'll need to access the pclk ourself to enable some functionality, so get and store it in the rockchip dw-dsi variant as well. Clocks are refcounted, so possible cascading enablements are no problem. Signed-off-by: Heiko Stuebner --- drivers/gpu/drm/

[PATCH 4/6] arm64: dts: rockchip: add #phy-cells to mipi-dsi1

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner The dsi controller includes access to the dphy which might be used not only for dsi output but also for csi input on dsi1, so add the necessary #phy-cells to allow it to be used as phy. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + 1 fil

[PATCH 3/6] drm/rockchip: dsi: add ability to work as a phy instead of full dsi

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner SoCs like the rk3288 and rk3399 have 3 mipi dphys on them. One is TX- only, one is RX-only and one can be configured to do either TX or RX. The RX phy is statically connected to the first Image Signal Processor, the TX phy is statically connected to the first DSI controller

[PATCH 2/6] dt-bindings: display: rockchip-dsi: add optional #phy-cells property

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner The Rockchip DSI controller on some SoCs also controls a bidrectional dphy, which would be connected to an Image Signal Processor as a phy in the rx configuration. So allow a #phy-cells property for the dsi controller. Signed-off-by: Heiko Stuebner --- .../bindings/displa

[PATCH 6/6] arm64: dts: rockchip: add isp1 node on rk3399

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner ISP1 is supplied by the tx1rx1 dphy, that is controlled from inside the dsi1 controller, so include the necessary phy-link for it. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 26 1 file changed, 26 insertions(+) di

[PATCH 0/6] Support second Image Signal Processor on rk3399

2021-02-02 Thread Heiko Stuebner
The rk3399 has two ISPs and right now only the first one is usable. The second ISP is connected to the TXRX dphy on the soc. The phy of ISP1 is only accessible through the DSI controller's io-memory, so this series adds support for simply using the dsi controller is a phy if needed. That solution

[PATCH 5/6] arm64: dts: rockchip: add cif clk-control pinctrl for rk3399

2021-02-02 Thread Heiko Stuebner
From: Heiko Stuebner This enables variant a of the clkout signal for camera applications and also the cifclkin pinctrl setting. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockc

[PATCH AUTOSEL 5.10 04/25] drm/nouveau/nvif: fix method count when pushing an array

2021-02-02 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit d502297008142645edf5c791af424ed321e5da84 ] Reported-by: Lyude Paul Signed-off-by: Ben Skeggs Signed-off-by: Sasha Levin --- drivers/gpu/drm/nouveau/include/nvif/push.h | 216 ++-- 1 file changed, 108 insertions(+), 108 deletions(-) diff --g

Re: [PATCH 2/3] drm/ttm: move memory accounting into vmwgfx v3

2021-02-02 Thread Zack Rusin
Looks good. There’s probably not much reason to call it ttm_memory anymore as it only deals with ttm_mem_glob, we’ll likely fold it in after you submit. Thanks. Reviewed-by: Zack Rusin z > On Feb 2, 2021, at 08:04, Christian König wrote: > > Ping? > > Especially Roland and Zack do you have

Re: [PATCH 2/3] drm/ttm: move memory accounting into vmwgfx v3

2021-02-02 Thread Christian König
Hi Zack, can you also give it a quick smoke test? I'm not sure if I wired up all the sysfs magic correctly inside vmwgfx, but I currently don't have a setup where I can test this. Thanks, Christian. Am 02.02.21 um 16:14 schrieb Zack Rusin: Looks good. There’s probably not much reason to cal

Re: [PATCH] drm: replace drm_modeset_lock_all() in drm_client_modeset_dpms_legacy()

2021-02-02 Thread Daniel Vetter
On Mon, Jan 25, 2021 at 08:48:15AM -0600, Joseph Schulte wrote: > This patch helps complete Use DRM_MODESET_LOCK_ALL* helpers instead of > boilerplate todo in Documentation/gpu/todo.rst > > Signed-off-by: Joseph Schulte Applied to drm-misc-next, thanks for your patch. -Daniel > --- > drivers/

Re: fbcon: remove soft scrollback code (missing Doc. patch)

2021-02-02 Thread Daniel Vetter
On Tue, Feb 02, 2021 at 10:13:14AM -0500, Phillip Susi wrote: > > Daniel Vetter writes: > > > Just a quick comment on this: Since most framebuffers are write-combining, > > and reads from that tend to be ~3 orders of magnitude slower than writes > > (at least on the pile of machines I looked at h

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-02 Thread Daniel Vetter
On Mon, Feb 01, 2021 at 05:03:44PM +, Xiong, Jianxin wrote: > > -Original Message- > > From: Jason Gunthorpe > > Sent: Monday, February 01, 2021 7:29 AM > > To: Daniel Vetter > > Cc: Leon Romanovsky ; Gal Pressman ; > > Xiong, Jianxin ; Yishai Hadas > > ; linux-rdma ; Edward > > Sro

Re: [Linaro-mm-sig] [PATCH] RFC: dma-fence: Document recoverable page fault implications

2021-02-02 Thread Daniel Vetter
Back from vacations. On Thu, Jan 28, 2021 at 04:46:55PM +0100, Christian König wrote: > Am 28.01.21 um 16:39 schrieb Felix Kuehling: > > Am 2021-01-28 um 2:39 a.m. schrieb Christian König: > > > Am 27.01.21 um 23:00 schrieb Felix Kuehling: > > > > Am 2021-01-27 um 7:16 a.m. schrieb Christian König

Re: [PATCH] drm/msm/kms: Make a lock_class_key for each crtc mutex

2021-02-02 Thread Daniel Vetter
On Mon, Jan 25, 2021 at 03:49:01PM -0800, Stephen Boyd wrote: > Lockdep complains about an AA deadlock when rebooting the device. > > > WARNING: possible recursive locking detected > 5.4.91 #1 Not tainted > >

Re: [PATCH] amd/display: remove unneeded variable: "pattern"

2021-02-02 Thread Alex Deucher
On Tue, Feb 2, 2021 at 8:31 AM Bernard Zhao wrote: > > Remove unneeded variable: "pattern". > > Signed-off-by: Bernard Zhao Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/gpu/d

[Bug 211425] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 20secs aborting

2021-02-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211425 Andreas (icedragon...@web.de) changed: What|Removed |Added Kernel Version|5.10.11 |5.10.12 --- Comment #2 fr

Re: [PATCH] drm/msm/kms: Make a lock_class_key for each crtc mutex

2021-02-02 Thread Rob Clark
On Tue, Feb 2, 2021 at 7:46 AM Daniel Vetter wrote: > > On Mon, Jan 25, 2021 at 03:49:01PM -0800, Stephen Boyd wrote: > > Lockdep complains about an AA deadlock when rebooting the device. > > > > > > WARNING: possible recursive locking detected > > 5.4.

Re: [PATCH] drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

2021-02-02 Thread Emil Velikov
Hi James, On Tue, 2 Feb 2021 at 08:27, James Park wrote: > > Hello, > > Is there something I can do to help move this patch along? > > Thanks, > James Park > > On Thu, Dec 10, 2020 at 1:13 AM James Park wrote: >> >> Create drm_basic_types.h to define types previously defined by drm.h. >> >> Use

Re: module loader dead code removal and cleanups v3

2021-02-02 Thread Emil Velikov
Hi Jessica, On Tue, 2 Feb 2021 at 14:37, Jessica Yu wrote: > > +++ Christoph Hellwig [02/02/21 13:13 +0100]: > >Hi all, > > > >this series removes support for long term unused export types and > >cleans up various loose ends in the module loader. > > > >Changes since v2: > > - clean up klp_find_o

Re: [PATCH 2/3] drm/ttm: move memory accounting into vmwgfx v3

2021-02-02 Thread Zack Rusin
Ah, yes, sorry, I missed that. I just double checked and it fails with: kobject_add_internal failed for memory_accounting (error: -2 parent: card0) which breaks the probe and the driver won’t load. I won’t have time to look into it until tomorrow though. z > On Feb 2, 2021, at 10:16, Christian

Re: [PATCH v3] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-02-02 Thread Marco Felsch
Hi Oliver, On 21-02-02 18:35, Oliver Graute wrote: > Add support for the Solomon Goldentek Display Model: GKTW70SDAD1SD > to panel-simple. > > The panel spec from Variscite can be found at: > https://www.variscite.com/wp-content/uploads/2017/12/VLCD-CAP-GLD-RGB.pdf > > Signed-off-by: Oliver Grau

  1   2   >