Re: [PATCH] procfs/dmabuf: Add /proc//task//dmabuf_fds

2021-01-27 Thread Christian König
Am 27.01.21 um 11:57 schrieb Michal Hocko: On Wed 27-01-21 11:47:29, Jann Horn wrote: +jeffv from Android On Tue, Jan 26, 2021 at 11:51 PM Kalesh Singh wrote: In order to measure how much memory a process actually consumes, it is necessary to include the DMA buffer sizes for that process in

[Bug 211349] IB test failed on sdma0 ! AMDGPU driver for Raven APU (ryzen 2400G) hangs!

2021-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211349 --- Comment #14 from Michel Dänzer (mic...@daenzer.net) --- > If enable 64bit kernel support,I need to recompile everything on LFS10.0 in > next weeks. You shouldn't. 32-bit user-space works fine with a 64-bit kernel. -- You may reply to this

[Bug 211349] IB test failed on sdma0 ! AMDGPU driver for Raven APU (ryzen 2400G) hangs!

2021-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211349 --- Comment #13 from bola...@163.com --- (In reply to Michel Dänzer from comment #12) > I'd recommend running a 64-bit kernel, even if all user-space is 32-bit. I just have finished LFS-10.0 in several weeks,it's a very hard work. If enable

Re: [PATCH] procfs/dmabuf: Add /proc//task//dmabuf_fds

2021-01-27 Thread Christian König
Am 27.01.21 um 10:05 schrieb Michal Hocko: [Cc linux-api as this is a new user interface] On Tue 26-01-21 22:51:28, Kalesh Singh wrote: In order to measure how much memory a process actually consumes, it is necessary to include the DMA buffer sizes for that process in the memory accounting.

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

2021-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211425 Andreas (icedragon...@web.de) changed: What|Removed |Added Severity|high|normal -- You may reply

Re: [PATCH v6] fbtft: add tearing signal detect

2021-01-27 Thread Geert Uytterhoeven
Hi Carlis, On Wed, Jan 27, 2021 at 9:52 AM Carlis wrote: > From: zhangxuezhi > > For st7789v ic,add tearing signal detect to avoid screen tearing > > Signed-off-by: zhangxuezhi Thanks for your patch! > --- a/drivers/staging/fbtft/fb_st7789v.c > +++ b/drivers/staging/fbtft/fb_st7789v.c > @@

Re: [PATCH v6] fbtft: add tearing signal detect

2021-01-27 Thread Dan Carpenter
On Wed, Jan 27, 2021 at 03:28:22PM +0800, Carlis wrote: > static int init_display(struct fbtft_par *par) > { > + int rc; > + struct device *dev = par->info->device; > + > + par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0, GPIOD_IN); > + if (IS_ERR(par->gpio.te)) { > +

RE: [PATCH v2 3/4] drm/i915/hdcp: read RxInfo once when reading Send_Pairing_Info

2021-01-27 Thread Gupta, Anshuman
Please also send this patch to dri-devel@lists.freedesktop.org as well because this is a drm change. > -Original Message- > From: Gupta, Anshuman > Sent: Wednesday, January 27, 2021 12:55 PM > To: Li, Juston ; intel-...@lists.freedesktop.org > Cc: seanp...@chromium.org; C, Ramalingam >

[Bug 211349] IB test failed on sdma0 ! AMDGPU driver for Raven APU (ryzen 2400G) hangs!

2021-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211349 --- Comment #12 from Michel Dänzer (mic...@daenzer.net) --- I'd recommend running a 64-bit kernel, even if all user-space is 32-bit. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the

Re: [PATCH v5] fbtft: add tearing signal detect

2021-01-27 Thread Geert Uytterhoeven
Hi Dan, Carlis, On Wed, Jan 27, 2021 at 9:32 AM Dan Carpenter wrote: > On Wed, Jan 27, 2021 at 02:19:27PM +0800, carlis wrote: > > hi,i will fix it like below: > > par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0, > > GPIOD_IN); if (IS_ERR(par->gpio.te)) { > > rc =

Re: [PATCH v1 1/2] video: fbdev: acornfb: remove free_unused_pages()

2021-01-27 Thread Geert Uytterhoeven
On Tue, Jan 26, 2021 at 11:54 PM David Hildenbrand wrote: > This function is never used and it is one of the last remaining user of > __free_reserved_page(). Let's just drop it. > > Cc: Andrew Morton > Cc: Thomas Gleixner > Cc: "Peter Zijlstra (Intel)" > Cc: Mike Rapoport > Cc: Oscar Salvador

[PATCH v10 7/9] drm/mediatek: enable dither function

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu for 5 or 6 bpc panel, we need enable dither function to improve the display quality Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff

[PATCH v2] drm/i915/gt: use new tasklet API for execution list

2021-01-27 Thread Emil Renner Berthing
This converts the driver to use the new tasklet API introduced in commit 12cc923f1ccc ("tasklet: Introduce new initialization API") Signed-off-by: Emil Renner Berthing --- v2: Rebased on drm-intel-next Tested on my Dell XPS 13 9300. --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 +--

[PATCH v5] fbtft: add tearing signal detect

2021-01-27 Thread Carlis
From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v5:fix log print --- drivers/staging/fbtft/fb_st7789v.c | 128 - drivers/staging/fbtft/fbtft.h | 1 + 2 files changed, 128

[PATCH v10 1/9] arm64: dts: mt8183: rename rdma fifo size

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu property name must include only lowercase and '-' Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang Reviewed-by: Chun-Kuang Hu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-01-27 Thread Liu Ying
On Mon, 2021-01-25 at 15:13 -0600, Rob Herring wrote: > On Thu, Jan 14, 2021 at 05:22:06PM +0800, Liu Ying wrote: > > This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). > > > > Signed-off-by: Liu Ying > > --- > > v1->v2: > > * Use graph schema. (Laurent) > > > >

[PATCH v2] drm/omap: dsi: fix unreachable code in dsi_vc_send_short()

2021-01-27 Thread menglong8 . dong
From: Menglong Dong The 'r' in dsi_vc_send_short() is of type 'unsigned int', so the 'r < 0' can't be true. Fix this by introducing a 'err' of type 'int' insteaded. Fixes: 1ed6253856cb ("drm/omap: dsi: switch dsi_vc_send_long/short to mipi_dsi_msg") Signed-off-by: Menglong Dong Reviewed-by:

[PATCH v10 6/9] drm/mediatek: add has_dither private data for gamma

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu Not all SoC has dither function in gamma module. Add private data to control this function setting. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-)

[PATCH v10 2/9] arm64: dts: mt8183: refine gamma compatible name

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu mt8183 gamma is different with mt8173 remove mt8173 compatible name for mt8183 gamma Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v10 9/9] drm/mediatek: add support for mediatek SOC MT8183

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu 1. add ovl private data 2. add rdma private data 3. add gamma privte data 4. add main and external path module for crtc create Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 1 +

[PATCH v6] fbtft: add tearing signal detect

2021-01-27 Thread Carlis
From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v6: add te gpio request fail deal logic --- drivers/staging/fbtft/fb_st7789v.c | 133 - drivers/staging/fbtft/fbtft.h | 1 + 2 files

Re: [PATCH v5] fbtft: add tearing signal detect

2021-01-27 Thread carlis
On Wed, 27 Jan 2021 08:45:23 +0300 Dan Carpenter wrote: > On Wed, Jan 27, 2021 at 09:32:20AM +0800, Carlis wrote: > > @@ -82,6 +111,29 @@ enum st7789v_command { > > */ > > static int init_display(struct fbtft_par *par) > > { > > + int rc; > > + struct device *dev = par->info->device; > >

[PATCH v10 5/9] drm/mediatek: separate gamma module

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu mt8183 gamma module will different with mt8173 separate gamma for add private data 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 | 10 ++

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

2021-01-27 Thread Oliver Graute
On 26/01/21, Fabio Estevam wrote: > Hi Oliver, > > On Mon, Jan 25, 2021 at 7:17 PM Oliver Graute wrote: > > > I would prefer mine, because I got a wrong colored penguin on bootup > > with yours :-) The wrong colored Tux is caused by the bus_format: .bus_format = MEDIA_BUS_FMT_RGB888_1X24, So

Re: [PATCH] fbtft: add tearing signal detect

2021-01-27 Thread carlis
On Tue, 26 Jan 2021 10:54:41 +0300 Dan Carpenter wrote: > On Sun, Jan 24, 2021 at 11:35:37PM +0800, Carlis wrote: > > +static irqreturn_t spi_panel_te_handler(int irq, void *data) > > +{ > > + complete(_panel_te); > > + return IRQ_HANDLED; > > +} > > + > > +static void

Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg

2021-01-27 Thread Xin Ji
On Mon, Jan 25, 2021 at 08:51:35AM -0600, Rob Herring wrote: > On Mon, 25 Jan 2021 19:12:21 +0800, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > > flag and DP tx lane0 and lane1 swing register array define. > > > > Signed-off-by: Xin Ji > > --- > >

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-27 Thread Suzuki K Poulose
Hi On 1/26/21 4:58 PM, Uwe Kleine-König wrote: All amba drivers return 0 in their remove callback. Together with the driver core ignoring the return value anyhow, it doesn't make sense to return a value here. Change the remove prototype to return void, which makes it explicit that returning an

Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg

2021-01-27 Thread Xin Ji
Hi Rob, thanks for the comments, I'll fix the issue on the next serial. Thanks, Xin On Mon, Jan 25, 2021 at 09:41:43AM -0600, Rob Herring wrote: > On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > > flag and DP tx

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-27 Thread Guenter Roeck
On Tue, Jan 26, 2021 at 05:58:34PM +0100, Uwe Kleine-König wrote: > All amba drivers return 0 in their remove callback. Together with the > driver core ignoring the return value anyhow, it doesn't make sense to > return a value here. > > Change the remove prototype to return void, which makes it

[PATCH v10 0/9] drm/mediatek: add support for mediatek SOC MT8183

2021-01-27 Thread Hsin-Yi Wang
This series is based on kernel/git/chunkuang.hu/linux.git mediatek-drm-next The series is tested on a mt8183 krane device. Change since v9 - change several function to rebase to mediatek-drm-next Change since v8 - fix some review comment in v8 - separate gamma module for mt8183 has no dither

[PATCH v10 4/9] drm/mediatek: generalize mtk_dither_set() function

2021-01-27 Thread Hsin-Yi Wang
There may be data structure other than mtk_ddp_comp_dev that would call mtk_dither_set(), so use regs as parameter instead of device. Signed-off-by: Hsin-Yi Wang --- drivers/gpu/drm/mediatek/mtk_disp_drv.h | 4 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 25 + 2

Re: [PATCH v4] fbtft: add tearing signal detect

2021-01-27 Thread carlis
On Tue, 26 Jan 2021 20:51:41 +0300 Dan Carpenter wrote: > On Tue, Jan 26, 2021 at 08:40:35PM +0800, Carlis wrote: > > @@ -82,6 +111,29 @@ enum st7789v_command { > > */ > > static int init_display(struct fbtft_par *par) > > { > > + int rc; > > + struct device *dev = par->info->device; > >

[PATCH v10 3/9] drm/mediatek: add RDMA fifo size error handle

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu This patch add RDMA fifo size error handle rdma fifo size will not always bigger than the calculated threshold if that case happened, we need set fifo size as the threshold Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang ---

[PATCH v4] fbtft: add tearing signal detect

2021-01-27 Thread Carlis
From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v4:modify some code style and change te irq set function name --- drivers/staging/fbtft/fb_st7789v.c | 128 - drivers/staging/fbtft/fbtft.h

[PATCH] drm/msm: remove redundant NULL check

2021-01-27 Thread Jiapeng Zhong
Fix below warnings reported by coccicheck: ./drivers/gpu/drm/msm/msm_gem.c:991:3-9: WARNING: NULL check before some freeing functions is not needed. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/gpu/drm/msm/msm_gem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH] drm/omap: dsi: fix unreachable code in dsi_vc_send_short()

2021-01-27 Thread menglong8 . dong
From: Menglong Dong The 'r' in dsi_vc_send_short() is of type 'unsigned int', so the 'r < 0' can't be true. Fix this by introducing a 'err' insteaded. Fixes: 1ed6253856cb ("drm/omap: dsi: switch dsi_vc_send_long/short to mipi_dsi_msg") Signed-off-by: Menglong Dong ---

Re: [PATCH v2] drm/i915/gt: use new tasklet API for execution list

2021-01-27 Thread Emil Renner Berthing
On Tue, 26 Jan 2021 at 16:13, Chris Wilson wrote: > Quoting Emil Renner Berthing (2021-01-26 15:01:55) > > This converts the driver to use the new tasklet API introduced in > > commit 12cc923f1ccc ("tasklet: Introduce new initialization API") > > > > Signed-off-by: Emil Renner Berthing > > > >

Re: [PATCH v2 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-01-27 Thread Liu Ying
On Mon, 2021-01-25 at 15:19 -0600, Rob Herring wrote: > On Thu, Jan 14, 2021 at 05:22:09PM +0800, Liu Ying wrote: > > This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). > > > > Signed-off-by: Liu Ying > > --- > > v1->v2: > > * Use graph schema. (Laurent) > > * Side note i.MX8qxp

[PATCH] drm/gem: remove redundant NULL check

2021-01-27 Thread Jiapeng Zhong
Fix below warnings reported by coccicheck: ./drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c:80:2-8: WARNING: NULL check before some freeing functions is not needed. ./drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:612:2-8: WARNING: NULL check before some freeing functions is not needed. Reported-by:

[PATCH] drm/i915/gt: use new tasklet API in execlist selftest

2021-01-27 Thread Emil Renner Berthing
This converts the execlist selftest to use the new tasklet API in commit 12cc923f1ccc ("tasklet: Introduce new initialization API") Signed-off-by: Emil Renner Berthing --- Hi Chris, I seem to have missed some tasklist manipulation in the execlist selftest. Feel free to squash this into my

[GIT PULL] ib-drm-gpio-pdx86-rtc-wdt-v5.12-1

2021-01-27 Thread Andy Shevchenko
Hi guys, This is first part of Intel MID outdated platforms removal. It's collected into immutable branch with a given tag, please pull to yours subsystems. (All changes are tagged by the respective maintainers) Thanks, With Best Regards, Andy Shevchenko The following changes since commit

Re: [PATCH v2] fbtft: add tearing signal detect

2021-01-27 Thread carlis
On Tue, 26 Jan 2021 11:17:45 +0300 Dan Carpenter wrote: > On Mon, Jan 25, 2021 at 04:44:12PM +0800, Carlis wrote: > > From: "carlis.zhang_cp" > > I was really expecting that you would fix this and Signed-off-by as > well. > > regards, > dan carpenter > I have fix this in patch v3 >

[PATCH v10 8/9] drm/mediatek: add DDP support for MT8183

2021-01-27 Thread Hsin-Yi Wang
From: Yongqiang Niu Add DDP support for MT8183 SoC. Signed-off-by: Yongqiang Niu Signed-off-by: Hsin-Yi Wang --- drivers/soc/mediatek/mtk-mutex.c | 50 1 file changed, 50 insertions(+) diff --git a/drivers/soc/mediatek/mtk-mutex.c

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

2021-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211425 Bug ID: 211425 Summary: [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 20secs aborting Product: Drivers Version: 2.5 Kernel Version: 5.10.10 Hardware:

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-27 Thread Vladimir Zapolskiy
On 1/26/21 6:58 PM, Uwe Kleine-König wrote: All amba drivers return 0 in their remove callback. Together with the driver core ignoring the return value anyhow, it doesn't make sense to return a value here. Change the remove prototype to return void, which makes it explicit that returning an

Re: [PATCH v10 3/9] drm/mediatek: add RDMA fifo size error handle

2021-01-27 Thread CK Hu
Hi, Hsin-Yi: On Wed, 2021-01-27 at 12:54 +0800, Hsin-Yi Wang wrote: > From: Yongqiang Niu > > This patch add RDMA fifo size error handle > rdma fifo size will not always bigger than the calculated threshold > if that case happened, we need set fifo size as the threshold > > Signed-off-by:

Re: [PULL] drm-misc-fixes

2021-01-27 Thread Thomas Zimmermann
Am 27.01.21 um 08:56 schrieb Thomas Zimmermann: Hi Dave and Daniel, here are the 2 fixes from this week's drm-misc-next. drm-misc-fixes Grr! I had this typo last week already. Best regards Thomas drm-misc-fixes-2021-01-27: * drm/vc4: Fix LBM size calculation; Fix high resolutions

<    1   2