Re: [Intel-gfx] [PATCH v3 13/13] drm/i915: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

2021-10-24 Thread Claudio Suarez
On Fri, Oct 22, 2021 at 03:22:57PM +0300, Ville Syrjälä wrote: > On Fri, Oct 22, 2021 at 03:01:52PM +0300, Ville Syrjälä wrote: > > On Fri, Oct 22, 2021 at 12:25:33PM +0200, Claudio Suarez wrote: > > > On Thu, Oct 21, 2021 at 04:49:59PM +0300, Ville Syrjälä wrote: > > > > On Wed, Oct 20, 2021 at 12

[drm-tip:drm-tip 1291/1307] drivers/dma-buf/st-dma-resv.c:295:7: warning: variable 'i' is used uninitialized whenever 'if' condition is true

2021-10-24 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip head: 6eff63a9b932a4aa1e1f6e521cd919aaf57c058f commit: 1d51775cd3f51899ce85afab686c7f641ff32d4e [1291/1307] dma-buf: add dma_resv selftest v4 config: arm-buildonly-randconfig-r006-20211025 (attached as .config) compiler: clang version 14.

Re: [PATCH v11 09/16] soc: mediatek: add mtk-mmsys support for mt8195 vdosys0

2021-10-24 Thread Jason-JH Lin
Hi Fei, Thanks for the reviews. On Mon, 2021-10-25 at 13:05 +0800, Fei Shao wrote: > On Fri, Oct 22, 2021 at 6:13 PM Jason-JH Lin < > jason-jh@mediatek.com> wrote: > > > > Hi Angelo, > > > > Thanks for the reviews. > > > > > > On Thu, 2021-10-14 at 16:05 +0200, AngeloGioacchino Del Regno

[PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-24 Thread Alistair Popple
MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a source page was already locked during migrate_vma_collect(). If it wasn't then the a second attempt is made to lock the page. However if the first attempt failed it's unlikely a second attempt will succeed, and the retry adds co

Re: [PATCH v8 04/12] iommu/mediatek: Add device_link between the consumer and the larb devices

2021-10-24 Thread Yong Wu
On Mon, 2021-10-18 at 09:13 +0200, Dafna Hirschfeld wrote: > > On 16.10.21 04:23, Yong Wu wrote: > > On Mon, 2021-10-11 at 14:36 +0200, Dafna Hirschfeld wrote: > > > > > > On 29.09.21 03:37, Yong Wu wrote: > > > > MediaTek IOMMU-SMI diagram is like below. all the consumer > > > > connect > > > >

[PATCH] drm: bridge: fix unmet dependency on DRM_KMS_HELPER for DRM_PANEL_BRIDGE

2021-10-24 Thread Julian Braha
When DRM_CHIPONE_ICN6211 is selected, and DRM_KMS_HELPER is not selected, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for DRM_PANEL_BRIDGE Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE [=y] && DRM_KMS_HELPER [=n] Selected by [y]: - DRM_CHIPONE_ICN6211 [=y]

[PATCH v2] mailbox: remove the error message when gce clk is defer

2021-10-24 Thread jason-jh . lin
Remove the error message when gce clk is defer. Signed-off-by: jason-jh.lin --- drivers/mailbox/mtk-cmdq-mailbox.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index c591dab9d5a4..2004bc112ba1

Re: [PATCH] mailbox: remove the error message when gce clk is defer

2021-10-24 Thread Jason-JH Lin
Hi Russell, Thanks for the reviews. On Sun, 2021-10-24 at 21:25 +0100, Russell King (Oracle) wrote: > On Sun, Oct 24, 2021 at 12:48:31AM +0800, jason-jh.lin wrote: > > Remove the error message when gce clk is defer. > > > > Signed-off-by: jason-jh.lin > > --- > > drivers/mailbox/mtk-cmdq-mail

Re: [PATCH v6 14/16] drm/mediatek: add ovl_adaptor support for MT8195

2021-10-24 Thread Nancy . Lin
Hi Angelo, Thanks for the review. On Fri, 2021-10-15 at 09:49 +0200, AngeloGioacchino Del Regno wrote: > > Add ovl_adaptor driver for MT8195. > > Ovl_adaptor is an encapsulated module and designed for simplified > > DRM control flow. This module is composed of 8 RDMAs, 4 MERGEs and > > an ETHDR.

Re: [PATCH v6 13/16] drm/mediatek: add ETHDR support for MT8195

2021-10-24 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Thu, 2021-10-21 at 23:44 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年10月4日 週一 下午2:22寫道: > > > > ETHDR is a part of ovl_adaptor. > > ETHDR is designed for HDR video and graphics conversion in the > > external > > display path. It handle

Re: [PATCH v6 12/16] drm/mediatek: add display merge api support for MT8195

2021-10-24 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Thu, 2021-10-21 at 23:02 +0800, Chun-Kuang Hu wrote: > > > Hi, Nancy: > > Nancy.Lin 於 2021年10月4日 週一 下午2:21寫道: > > > > Add merge new API. > > 1. Vdosys1 merge1~merge4 support HW mute function, so add unmute > > API. > > 2. Add merge new advance config

[PATCH] drm: Fix wrong use of connector in vop_get_edp_connector

2021-10-24 Thread He Ying
>From the comments of drm_for_each_connector_iter(), we know that "connector is only valid within the list body, if you want to use connector after calling drm_connector_list_iter_end() then you need to grab your own reference first using drm_connector_get()". So fix the wrong use of connector acco

Re: [PATCH v6 11/16] drm/mediatek: add display MDP RDMA support for MT8195

2021-10-24 Thread Nancy . Lin
Hi Chun-Kuang, Thanks for the review. On Wed, 2021-10-20 at 00:38 +0800, Chun-Kuang Hu wrote: > Hi, Nancy: > > Nancy.Lin 於 2021年10月4日 週一 下午2:21寫道: > > > > Add MDP_RDMA driver for MT8195. MDP_RDMA is the DMA engine of > > the ovl_adaptor component. > > > > Signed-off-by: Nancy.Lin > > --- > >

Re: [RFC PATCH] drm/aperture: Add param to disable conflicting framebuffers removal

2021-10-24 Thread Neal Gompa
On Sun, Oct 24, 2021 at 4:40 PM Javier Martinez Canillas wrote: > > Hello Thomas, > > Thanks a lot for your feedback. > > On 10/22/21 21:05, Thomas Zimmermann wrote: > > > There's still the question of the semantics of this parameter. It's a > > bit fuzzy. > > > > If you use 'disable_handover' (as

Re: [RFC PATCH] drm/aperture: Add param to disable conflicting framebuffers removal

2021-10-24 Thread Javier Martinez Canillas
Hello Thomas, Thanks a lot for your feedback. On 10/22/21 21:05, Thomas Zimmermann wrote: [snip] >> >> +static bool drm_aperture_remove_fb = true; > > Global variables should default to zero if somehow possible. This way, > they can all be stored in the BSS segment and backed by a single s

Re: [RFC PATCH] drm/aperture: Add param to disable conflicting framebuffers removal

2021-10-24 Thread Javier Martinez Canillas
Hello Ville, On 10/22/21 21:12, Ville Syrjälä wrote: > On Fri, Oct 22, 2021 at 04:40:40PM +0200, Javier Martinez Canillas wrote: >> The simpledrm driver allows to use the frame buffer that was set-up by the >> firmware. This gives early video output before the platform DRM driver is >> probed and

Re: [PATCH] mailbox: remove the error message when gce clk is defer

2021-10-24 Thread Russell King (Oracle)
On Sun, Oct 24, 2021 at 12:48:31AM +0800, jason-jh.lin wrote: > Remove the error message when gce clk is defer. > > Signed-off-by: jason-jh.lin > --- > drivers/mailbox/mtk-cmdq-mailbox.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/mailbox/mtk-cmdq-mail

[PATCH] drm/i915/vlv_dsi: Double pixelclock on read-back for dual-link panels

2021-10-24 Thread Hans de Goede
In intel_dsi_get_config() double the pclk returned by foo_dsi_get_pclk() for dual-link panels. This fixes the following WARN triggering: i915 :00:02.0: [drm] *ERROR* [CRTC:51:pipe A] mismatch in pixel_rate (expected 235710, found 118056) i915 :00:02.0: [drm] *ERROR* [CRTC:51:pipe A] mis

[PATCH] drm/i915: Add NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk

2021-10-24 Thread Hans de Goede
Add a NO_VLV_DISP_PW_DPIO_CMN_BC_INIT quirk to fix i915 not working on the Xiaomi Mi Pad 2 (with CHT x5-Z8500 SoC). The Xiaomi Mi Pad 2 uses quite an unusual hardware-design for a Cherry Trail tablet. It deviates from the typical reference design based tablets in many ways. The Mi Pad 2 does not

Re: [PATCH v5 2/7] dt-bindings: mediatek, dp: Add Display Port binding

2021-10-24 Thread Markus Schneider-Pargmann
On Fri, Oct 22, 2021 at 06:19:13PM -0500, Rob Herring wrote: > On Thu, 21 Oct 2021 11:27:02 +0200, Markus Schneider-Pargmann wrote: > > This controller is present on several mediatek hardware. Currently > > mt8195 and mt8395 have this controller without a functional difference, > > so only one comp

Re: [PATCH 7/9] drm/simpledrm: Enable FB_DAMAGE_CLIPS property

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Enable the FB_DAMAGE_CLIPS property to reduce display-update > overhead. Also fixes a warning in the kernel log. > > simple-framebuffer simple-framebuffer.0: [drm] > drm_plane_enable_fb_damage_clips() not called > > Fix the computation of the

Re: [PATCH 6/9] drm/fb-helper: Allocate shadow buffer of surface height

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Allocating a shadow buffer of the height of the buffer object does > not support fbdev overallocation. Use surface height instead. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Noralf Trønnes

Re: [PATCH 5/9] drm/format-helper: Streamline blit-helper interface

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Move destination-buffer clipping from format-helper blit function into > caller. Rename drm_fb_blit_rect_dstclip() to drm_fb_blit_toio(). Done for > consistency with the rest of the interface. Remove drm_fb_blit_dstclip(), > which isn't required.

amdgpu "Fatal error during GPU init"; Ryzen 5600G integrated GPU + kernel 5.14.13

2021-10-24 Thread PGNet Dev
i've a dual gpu system inxi -GS System:Host: ws05 Kernel: 5.14.13-200.fc34.x86_64 x86_64 bits: 64 Console: tty pts/0 Distro: Fedora release 34 (Thirty Four) (1) Graphics: Device-1: NVIDIA GK208B [GeForce GT 710] driver: nvidia

Re: [PATCH 4/9] drm/format-helper: Rework format-helper conversion functions

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Move destination-buffer clipping from all format-helper conversion > functions into callers. Support destination-buffer pitch. Only > distinguish between system and I/O memory, but use same logic > everywhere. > > Simply harmonize the interface a

Re: [PATCH 3/9] drm/format-helper: Add destination-buffer pitch to drm_fb_swab()

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Add destination-buffer pitch as argument to drm_fb_swab(). Done for > consistency with the rest of the interface. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_format_helper.c | 19 +++ > drivers/gpu/drm/drm_m

Re: [PATCH 2/9] drm/format-helper: Rework format-helper memcpy functions

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Move destination-buffer clipping from all format-helper memcpy > function into callers. Support destination-buffer pitch. Only > distinguish between system and I/O memory, but use same logic > everywhere. > > Signed-off-by: Thomas Zimmermann > -

Re: [PATCH 1/9] drm/format-helper: Export drm_fb_clip_offset()

2021-10-24 Thread Noralf Trønnes
Den 22.10.2021 15.28, skrev Thomas Zimmermann: > Provide a function that computes the offset into a blit destination > buffer. This will allow to move destination-buffer clipping into the > format-helper callers. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/drm_format_helper.c

[Bug 214801] New: polaris11 (rx560) regression

2021-10-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214801 Bug ID: 214801 Summary: polaris11 (rx560) regression Product: Drivers Version: 2.5 Kernel Version: 5.14.14 Hardware: All OS: Linux Tree: Mainline