Re: [PATCH v6 21/23] drm: rockchip: Add VOP2 driver

2022-02-23 Thread Sascha Hauer
On Thu, Feb 17, 2022 at 04:24:29PM +0300, Dmitry Osipenko wrote: > 17.02.2022 11:29, Sascha Hauer пишет: > > @@ -28,6 +28,12 @@ config ROCKCHIP_VOP > > This selects support for the VOP driver. You should enable it > > on all older SoCs up to RK3399. > > > > +config ROCKCHIP_VOP2 > >

Re: [RFC v4 02/11] drm/amdgpu: Move scheduler init to after XGMI is ready

2022-02-23 Thread JingWen Chen
Hi Andrey, Will you port this patch into amd-staging-drm-next? on 2/10/22 2:06 AM, Andrey Grodzovsky wrote: > All comments are fixed and code pushed. Thanks for everyone > who helped reviewing. > > Andrey > > On 2022-02-09 02:53, Christian König wrote: >> Am 09.02.22 um 01:23 schrieb Andrey

Re: [PATCH] drm/msm: Avoid dirtyfb stalls on video mode displays

2022-02-23 Thread kernel test robot
Hi Rob, I love your patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-intel/for-linux-next drm-tip/drm-tip v5.17-rc5 next-20220223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v2] arm64: dts: mt8183: jacuzzi: Fix bus properties in anx's DSI endpoint

2022-02-23 Thread Chen-Yu Tsai
Hi, (CC-ed DRM bridge maintainers and the dri-devel ML) On Wed, Feb 2, 2022 at 1:47 AM Nícolas F. R. A. Prado wrote: > > mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of > its DSI host. However, after commit fd0310b6fe7d ("drm/bridge: anx7625: > add MIPI DPI input

Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed

2022-02-23 Thread Ceraolo Spurio, Daniele
On 2/23/2022 12:23 PM, John Harrison wrote: On 2/22/2022 17:12, Ceraolo Spurio, Daniele wrote: On 2/17/2022 3:52 PM, john.c.harri...@intel.com wrote: From: John Harrison The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined

Re: [PATCH] drm/exynos: fimd: add BGR support for exynos4/5

2022-02-23 Thread Inki Dae
Hi Martin. I found that exynos4 and 5 data sheet include documented same register. RGB_ORDER_E field of VIDCONx registers will do same thing. I'm not sure whether the use of undocumented register is safe or not - maybe some HW bug exists. Anyway, I'd like to recommend you to use documented

[PATCH -next] drm: mediatek: mtk_dsi: Remove unnecessary print function dev_err()

2022-02-23 Thread Yang Li
The print function dev_err() is redundant because platform_get_irq() already prints an error. Eliminate the follow coccicheck warning: ./drivers/gpu/drm/mediatek/mtk_dsi.c:1092:2-9: line 1092 is redundant because platform_get_irq() already prints an error Reported-by: Abaci Robot Signed-off-by:

Re: Report 2 in ext4 and journal based on v5.17-rc1

2022-02-23 Thread Byungchul Park
On Wed, Feb 23, 2022 at 03:48:59PM +0100, Jan Kara wrote: > On Wed 23-02-22 09:35:34, Byungchul Park wrote: > > On Mon, Feb 21, 2022 at 08:02:04PM +0100, Jan Kara wrote: > > > On Thu 17-02-22 20:10:04, Byungchul Park wrote: > > > > [9.008161] ===

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Kuogee Hsieh
On 2/23/2022 1:33 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-02-23 10:27:26) On 2/23/2022 10:22 AM, Dmitry Baryshkov wrote: On 23/02/2022 20:21, Kuogee Hsieh wrote: In the panel device node. Can you please share it too? {     edp_power_supply: edp_power {    

Re: [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-23 Thread Abhinav Kumar
Hi Laurent Thanks for responding. On 2/21/2022 11:34 PM, Laurent Pinchart wrote: Hi Dmitry, On Tue, Feb 22, 2022 at 06:32:50AM +0300, Dmitry Baryshkov wrote: On Thu, 10 Feb 2022 at 07:59, Laurent Pinchart wrote: On Wed, Feb 09, 2022 at 05:40:29PM -0800, Abhinav Kumar wrote: Hi Laurent

[PULL] drm-intel-next

2022-02-23 Thread Rodrigo Vivi
Hi Dave and Daniel, Please notice that this pull request includes the drm-intel-gt-next (drm-intel-gt-next-2022-02-17) that didn't applied cleanly for you due to many conflicts generated by a big divergence from our drm-intel branches. So, please apply this one and ignore the one that Joonas had

[PATCH v2] drm/amd/display: move FPU-related code from dcn20 to dml folder

2022-02-23 Thread Melissa Wen
Move parts of dcn20 code that uses FPU to dml folder. It aims to isolate FPU operations as described by series: drm/amd/display: Introduce FPU directory inside DC https://patchwork.freedesktop.org/series/93042/ This patch moves the following functions from dcn20_resource to dml/dcn20_fpu and

[CI 0/2] drm/mm: Add an iterator to optimally walk over holes suitable for an allocation

2022-02-23 Thread Vivek Kasireddy
The first patch is a drm core patch that replaces the for loop in drm_mm_insert_node_in_range() with the iterator and would not cause any functional changes. The second patch is a i915 driver specific patch that also uses the iterator but solves a different problem. v2: - Added a new patch to

[CI 2/2] drm/i915/gem: Don't try to map and fence large scanout buffers (v9)

2022-02-23 Thread Vivek Kasireddy
On platforms capable of allowing 8K (7680 x 4320) modes, pinning 2 or more framebuffers/scanout buffers results in only one that is mappable/ fenceable. Therefore, pageflipping between these 2 FBs where only one is mappable/fenceable creates latencies large enough to miss alternate vblanks thereby

[CI 1/2] drm/mm: Add an iterator to optimally walk over holes for an allocation (v4)

2022-02-23 Thread Vivek Kasireddy
This iterator relies on drm_mm_first_hole() and drm_mm_next_hole() functions to identify suitable holes for an allocation of a given size by efficiently traversing the rbtree associated with the given allocator. It replaces the for loop in drm_mm_insert_node_in_range() and can also be used by drm

Re: [PATCH v2] workqueue: Warn flush attempt using system-wide workqueues

2022-02-23 Thread Tetsuo Handa
On 2022/02/24 6:35, Tejun Heo wrote: > Tetsuo, can you please revert the patch? The patch is incorrect in that it's > triggering also on work item flushes, not just workqueue flushes. OK. I removed these patches from my tree.

[pull] amdgpu drm-fixes-5.17

2022-02-23 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.17. The following changes since commit cfb92440ee71adcc2105b0890bb01ac3cddb8507: Linux 5.17-rc5 (2022-02-20 13:07:20 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-5.17-2022-02-23 for you to

Re: [PATCH v2] workqueue: Warn flush attempt using system-wide workqueues

2022-02-23 Thread Tejun Heo
On Wed, Feb 23, 2022 at 10:20:47PM +0100, Marek Szyprowski wrote: > Hi All, > > On 17.02.2022 12:22, Tetsuo Handa wrote: > > syzbot found a circular locking dependency which is caused by flushing > > system_long_wq WQ [1]. Tejun Heo commented that it makes no sense at all > > to call

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-02-23 10:27:26) > > On 2/23/2022 10:22 AM, Dmitry Baryshkov wrote: > > On 23/02/2022 20:21, Kuogee Hsieh wrote: > > > > In the panel device node. > > > > Can you please share it too? > > > { >     edp_power_supply: edp_power { >     compatible =

Re: [PATCH v2] workqueue: Warn flush attempt using system-wide workqueues

2022-02-23 Thread Marek Szyprowski
Hi All, On 17.02.2022 12:22, Tetsuo Handa wrote: > syzbot found a circular locking dependency which is caused by flushing > system_long_wq WQ [1]. Tejun Heo commented that it makes no sense at all > to call flush_workqueue() on the shared workqueues as the caller has no > idea what it's gonna end

Re: [PATCH] drm/amd/display: move FPU-related code from dcn20 to dml folder

2022-02-23 Thread Melissa Wen
On 02/23, Rodrigo Siqueira Jordao wrote: > > > On 2022-02-21 06:31, Melissa Wen wrote: > > Move parts of dcn20 code that uses FPU to dml folder. It aims to isolate > > FPU operations as described by series: > > > > drm/amd/display: Introduce FPU directory inside DC > >

Re: [PULL] drm-intel-gt-next

2022-02-23 Thread Vivi, Rodrigo
On Tue, 2022-02-22 at 11:44 -0800, Lucas De Marchi wrote: > On Mon, Feb 21, 2022 at 11:21:35AM +0200, Jani Nikula wrote: > > On Mon, 21 Feb 2022, Dave Airlie wrote: > > > On Thu, 17 Feb 2022 at 20:26, Joonas Lahtinen > > > wrote: > > > > > > > > Hi Dave & Daniel, > > > > > > > > Here is the

Re: [PATCH v3 5/5] drm: Add TODO item for optimizing format helpers

2022-02-23 Thread Sam Ravnborg
On Wed, Feb 23, 2022 at 08:38:04PM +0100, Thomas Zimmermann wrote: > Add a TODO item for optimizing blitting and format-conversion helpers > in DRM and fbdev. There's always demand for faster graphics output. > > Signed-off-by: Thomas Zimmermann > --- > Documentation/gpu/todo.rst | 22

Re: [PATCH v3 4/5] fbdev: Improve performance of cfb_imageblit()

2022-02-23 Thread Sam Ravnborg
On Wed, Feb 23, 2022 at 08:38:03PM +0100, Thomas Zimmermann wrote: > Improve the performance of cfb_imageblit() by manually unrolling > the inner blitting loop and moving some invariants out. The compiler > failed to do this automatically. This change keeps cfb_imageblit() > in sync with

Re: [PATCH v3 3/5] fbdev: Remove trailing whitespaces from cfbimgblt.c

2022-02-23 Thread Sam Ravnborg
On Wed, Feb 23, 2022 at 08:38:02PM +0100, Thomas Zimmermann wrote: > Fix coding style. No functional changes. > > Signed-off-by: Thomas Zimmermann Acked-by: Sam Ravnborg

Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed

2022-02-23 Thread John Harrison
On 2/22/2022 17:12, Ceraolo Spurio, Daniele wrote: On 2/17/2022 3:52 PM, john.c.harri...@intel.com wrote: From: John Harrison The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed

Re: [PATCH 2/5] drm/msm/adreno: Generate name from chipid for 7c3

2022-02-23 Thread Akhil P Oommen
On 2/23/2022 6:28 AM, Rob Clark wrote: On Mon, Feb 21, 2022 at 6:41 AM Akhil P Oommen wrote: Use a gpu name which is sprintf'ed from the chipid for 7c3 gpu instead of hardcoding one. This helps to avoid code churn in case of a gpu rename. Signed-off-by: Akhil P Oommen ---

Re: [Intel-gfx] [PATCH 2/3] drm/i915/gt: Make the heartbeat play nice with long pre-emption timeouts

2022-02-23 Thread John Harrison
On 2/23/2022 05:58, Tvrtko Ursulin wrote: On 23/02/2022 02:45, John Harrison wrote: On 2/22/2022 03:19, Tvrtko Ursulin wrote: On 18/02/2022 21:33, john.c.harri...@intel.com wrote: From: John Harrison Compute workloads are inherantly not pre-emptible for long periods on current hardware. As

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Michal Suchánek
On Wed, Feb 23, 2022 at 07:34:54PM +0100, Javier Martinez Canillas wrote: > On 2/23/22 19:23, Michal Suchánek wrote: > > [snip] > > >> My point about the subject line remains thought, I would use something > >> like: > >> > >> firmware: sysfb: Enable boot time VESA graphic mode selection for

[PATCH 2/2] hda/i915: split the wait for the component binding

2022-02-23 Thread Ramalingam C
Split the wait for component binding from i915 in multiples of sysctl_hung_task_timeout_secs. This helps to avoid the possible kworker thread hung detection given below. <3>[ 60.946316] INFO: task kworker/11:1:104 blocked for more than 30 seconds. <3>[ 60.946479] Tainted: GW

[PATCH 0/2] hda/i915: split wait for component binding

2022-02-23 Thread Ramalingam C
To avoid the intended wait being reported as kworker hung, split the wait for i915 component bind, in multiples of sysctl_hung_task_timeout_secs. To facilitate this we are exporting sysctl_hung_task_timeout_secs from kernel/hung_task.c for the kernel modules' use. Ramalingam C (2):

[PATCH 1/2] kernel/hung_task: Exporting sysctl_hung_task_timeout_secs

2022-02-23 Thread Ramalingam C
Exporting sysctl_hung_task_timeout_secs, to make it available for other kernel modules. Signed-off-by: Ramalingam C cc: Lucas De Marchi --- kernel/hung_task.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/hung_task.c b/kernel/hung_task.c index db59b6d4f0e7..01120265395d 100644 ---

Re: [PATCH] drm/repaper: Use format helper for xrgb8888 to monochrome conversion

2022-02-23 Thread Thomas Zimmermann
Hi Am 23.02.22 um 20:37 schrieb Javier Martinez Canillas: There is now a drm_fb_xrgb_to_mono_reversed() helper function to do format conversion from XRGB to reversed monochrome. Use that helper and remove the open coded version in the repaper driver. Signed-off-by: Javier Martinez

[PATCH v3 4/5] fbdev: Improve performance of cfb_imageblit()

2022-02-23 Thread Thomas Zimmermann
Improve the performance of cfb_imageblit() by manually unrolling the inner blitting loop and moving some invariants out. The compiler failed to do this automatically. This change keeps cfb_imageblit() in sync with sys_imagebit(). A microbenchmark measures the average number of CPU cycles for

[PATCH v3 3/5] fbdev: Remove trailing whitespaces from cfbimgblt.c

2022-02-23 Thread Thomas Zimmermann
Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/video/fbdev/core/cfbimgblt.c | 60 ++-- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/video/fbdev/core/cfbimgblt.c b/drivers/video/fbdev/core/cfbimgblt.c

[PATCH v3 1/5] fbdev: Improve performance of sys_fillrect()

2022-02-23 Thread Thomas Zimmermann
Improve the performance of sys_fillrect() by using word-aligned 32/64-bit mov instructions. While the code tried to implement this, the compiler failed to create fast instructions. The resulting binary instructions were even slower than cfb_fillrect(), which uses the same algorithm, but operates

[PATCH v3 5/5] drm: Add TODO item for optimizing format helpers

2022-02-23 Thread Thomas Zimmermann
Add a TODO item for optimizing blitting and format-conversion helpers in DRM and fbdev. There's always demand for faster graphics output. Signed-off-by: Thomas Zimmermann --- Documentation/gpu/todo.rst | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH v3 0/5] fbdev: Improve performance of fbdev console

2022-02-23 Thread Thomas Zimmermann
Optimize performance of the fbdev console for the common case of software-based clearing and image blitting. The commit descripton of each patch contains resuls os a simple microbenchmark. I also tested the full patchset's effect on the console output by printing directory listings (i7-4790,

[PATCH v3 2/5] fbdev: Improve performance of sys_imageblit()

2022-02-23 Thread Thomas Zimmermann
Improve the performance of sys_imageblit() by manually unrolling the inner blitting loop and moving some invariants out. The compiler failed to do this automatically. The resulting binary code was even slower than the cfb_imageblit() helper, which uses the same algorithm, but operates on I/O

[PATCH] drm/repaper: Use format helper for xrgb8888 to monochrome conversion

2022-02-23 Thread Javier Martinez Canillas
There is now a drm_fb_xrgb_to_mono_reversed() helper function to do format conversion from XRGB to reversed monochrome. Use that helper and remove the open coded version in the repaper driver. Signed-off-by: Javier Martinez Canillas --- This was only built tested because I don't have

[PULL] drm-misc-fixes

2022-02-23 Thread Thomas Zimmermann
Hi Dave and Daniel, here's drm-misc-fixes for this week. Best regards Thomas drm-misc-fixes-2022-02-23: * edid: Always set RGB444 * imx/dcss: Select GEM CMA helpers * radeon: Fix some variables's type * vc4: Fix codec cleanup; Fix PM reference counting The following changes since commit

[PATCH] drm/msm: Avoid dirtyfb stalls on video mode displays (v2)

2022-02-23 Thread Rob Clark
From: Rob Clark Someone on IRC once asked an innocent enough sounding question: Why with xf86-video-modesetting is es2gears limited at 120fps. So I broke out the perfetto tracing mesa MR and took a look. It turns out the problem was drm_atomic_helper_dirtyfb(), which would end up waiting for

Re: [PATCH v2] drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP

2022-02-23 Thread Thomas Zimmermann
Hi Am 23.02.22 um 17:11 schrieb Doug Anderson: Hi, On Tue, Feb 22, 2022 at 1:31 AM Geert Uytterhoeven wrote: On Tue, Feb 8, 2022 at 10:39 AM Geert Uytterhoeven wrote: On Mon, Feb 7, 2022 at 12:31 PM Thomas Zimmermann wrote: As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER.

Re: [Intel-gfx] [PATCH 1/3] drm/i915/guc: Limit scheduling properties to avoid overflow

2022-02-23 Thread John Harrison
On 2/23/2022 04:13, Tvrtko Ursulin wrote: On 23/02/2022 02:11, John Harrison wrote: On 2/22/2022 01:52, Tvrtko Ursulin wrote: On 18/02/2022 21:33, john.c.harri...@intel.com wrote: From: John Harrison GuC converts the pre-emption timeout and timeslice quantum values into clock ticks

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Dmitry Baryshkov
On Wed, 23 Feb 2022 at 21:27, Kuogee Hsieh wrote: > > > On 2/23/2022 10:22 AM, Dmitry Baryshkov wrote: > > On 23/02/2022 20:21, Kuogee Hsieh wrote: > >> > >> On 2/18/2022 6:22 PM, Dmitry Baryshkov wrote: > >>> On Sat, 19 Feb 2022 at 03:55, Stephen Boyd wrote: > Quoting Dmitry Baryshkov

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Javier Martinez Canillas
On 2/23/22 19:23, Michal Suchánek wrote: [snip] >> My point about the subject line remains thought, I would use something like: >> >> firmware: sysfb: Enable boot time VESA graphic mode selection for simplefb > > I see where the confusion comes from. > Yeah. And just to clarify, the "simplefb"

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Kuogee Hsieh
On 2/23/2022 10:22 AM, Dmitry Baryshkov wrote: On 23/02/2022 20:21, Kuogee Hsieh wrote: On 2/18/2022 6:22 PM, Dmitry Baryshkov wrote: On Sat, 19 Feb 2022 at 03:55, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-02-18 14:32:53) On 19/02/2022 00:31, Kuogee Hsieh wrote: On 2/11/2022

Re: [RFC PATCH 11/11] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-02-23 Thread Doug Anderson
Hi, On Wed, Feb 23, 2022 at 9:43 AM Kieran Bingham wrote: > > Hi All, > > I'm working to respin the remainder of these patches, now that I have > IRQ based HPD working on the SN65DSI86, and the (non-eDP) mode is used > for Renesas R-Car boards. > > Quoting Doug Anderson (2021-06-24 00:51:12) > >

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Michal Suchánek
On Wed, Feb 23, 2022 at 07:13:07PM +0100, Javier Martinez Canillas wrote: > On 2/23/22 18:12, Michal Suchánek wrote: > > On Wed, Feb 23, 2022 at 05:54:54PM +0100, Javier Martinez Canillas wrote: > > [snip] > > >> > >> Yes, that's what I tried to say. But your commit message says "To enable > >>

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Dmitry Baryshkov
On 23/02/2022 20:21, Kuogee Hsieh wrote: On 2/18/2022 6:22 PM, Dmitry Baryshkov wrote: On Sat, 19 Feb 2022 at 03:55, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-02-18 14:32:53) On 19/02/2022 00:31, Kuogee Hsieh wrote: On 2/11/2022 2:40 PM, Dmitry Baryshkov wrote: There is little

Re: [RFC PATCH 10/11] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-02-23 Thread Doug Anderson
Hi, On Wed, Feb 23, 2022 at 10:05 AM Kieran Bingham wrote: > > > > > + /* For DisplayPort, disable scrambling mode. */ > > > > + if (pdata->bridge.type == DRM_MODE_CONNECTOR_DisplayPort) > > > > + regmap_update_bits(pdata->regmap, > > > > SN_TRAINING_SETTING_REG, > > >

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Javier Martinez Canillas
On 2/23/22 18:12, Michal Suchánek wrote: > On Wed, Feb 23, 2022 at 05:54:54PM +0100, Javier Martinez Canillas wrote: [snip] >> >> Yes, that's what I tried to say. But your commit message says "To enable >> use of VESA modes with simplefb in legacy BIOS boot mode" and that isn't >> accurate AFAIU

Re: [RFC PATCH 10/11] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-02-23 Thread Kieran Bingham
Hi Doug, Laurent, Quoting Laurent Pinchart (2021-06-23 14:59:00) > Hi Doug, > > On Wed, Mar 24, 2021 at 03:47:07PM -0700, Doug Anderson wrote: > > On Sun, Mar 21, 2021 at 8:02 PM Laurent Pinchart wrote: > > > > > > Despite the SN65DSI86 being an eDP bridge, on some systems its output is > > >

Re: [RFC PATCH v2 2/5] drm/msm/dp: support attaching bridges to the DP encoder

2022-02-23 Thread Kuogee Hsieh
On 2/11/2022 2:40 PM, Dmitry Baryshkov wrote: Currently DP driver will allocate panel bridge for eDP panels. This supports only the following topology: - eDP encoder ⇒ eDP panel (wrapped using panel-bridge) Simplify this code to just check if there is any next bridge in the chain (be it a

Re: [PATCH v11 1/6] drm: Add arch arm64 for drm_clflush_virt_range

2022-02-23 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Michael-Cheng/Use-drm_clflush-instead-of-clflush/20220223-140110 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: arm64-defconfig

Re: [RFC PATCH 11/11] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-02-23 Thread Kieran Bingham
Hi All, I'm working to respin the remainder of these patches, now that I have IRQ based HPD working on the SN65DSI86, and the (non-eDP) mode is used for Renesas R-Car boards. Quoting Doug Anderson (2021-06-24 00:51:12) > Hi, > > On Wed, Jun 23, 2021 at 4:26 PM Laurent Pinchart > wrote: > > > >

Re: [RFC PATCH v2 4/5] drm/msm/dp: replace dp_connector with drm_bridge_connector

2022-02-23 Thread Kuogee Hsieh
On 2/18/2022 6:22 PM, Dmitry Baryshkov wrote: On Sat, 19 Feb 2022 at 03:55, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2022-02-18 14:32:53) On 19/02/2022 00:31, Kuogee Hsieh wrote: On 2/11/2022 2:40 PM, Dmitry Baryshkov wrote: There is little point in having both connector and root

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Michal Suchánek
On Wed, Feb 23, 2022 at 05:54:54PM +0100, Javier Martinez Canillas wrote: > On 2/23/22 17:45, Michal Suchánek wrote: > > [snip] > > >>> > >>> To enable use of VESA modes with simplefb in legacy BIOS boot mode drop > >> > >> I think you meant "VESA modes with the sysfb driver" ? or something like >

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Javier Martinez Canillas
On 2/23/22 17:54, Javier Martinez Canillas wrote: > On 2/23/22 17:45, Michal Suchánek wrote: > > [snip] > To enable use of VESA modes with simplefb in legacy BIOS boot mode drop >>> >>> I think you meant "VESA modes with the sysfb driver" ? or something like >>> that since otherwise it

Re: [PATCH] drm/bridge_connector: enable HPD by default if supported

2022-02-23 Thread Kieran Bingham
Quoting Laurent Pinchart (2022-02-23 16:25:28) > Hello, > > On Wed, Feb 23, 2022 at 04:17:22PM +, Kieran Bingham wrote: > > Quoting Laurent Pinchart (2021-12-29 23:44:29) > > > On Sat, Dec 25, 2021 at 09:31:51AM +0300, Nikita Yushchenko wrote: > > > > Hotplug events reported by bridge drivers

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Marek Vasut
On 2/23/22 17:39, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 03:38:20PM +0100, Marek Vasut wrote: On 2/23/22 15:37, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 03:09:08PM +0100, Marek Vasut wrote: On 2/23/22 14:47, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 02:45:30PM +0100, Marek Vasut

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Javier Martinez Canillas
On 2/23/22 17:45, Michal Suchánek wrote: [snip] >>> >>> To enable use of VESA modes with simplefb in legacy BIOS boot mode drop >> >> I think you meant "VESA modes with the sysfb driver" ? or something like >> that since otherwise it seems that you meant to use it with the simplefb >>

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Michal Suchánek
On Wed, Feb 23, 2022 at 05:34:50PM +0100, Javier Martinez Canillas wrote: > Hello Michal, > > On 2/18/22 17:04, Michal Suchanek wrote: > > Since switch to simplefb/simpledrm VESA graphic modes are no longer > > available with legacy BIOS. > > Maybe you can mention that is the "vga=" kernel

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Maxime Ripard
On Wed, Feb 23, 2022 at 03:38:20PM +0100, Marek Vasut wrote: > On 2/23/22 15:37, Maxime Ripard wrote: > > On Wed, Feb 23, 2022 at 03:09:08PM +0100, Marek Vasut wrote: > > > On 2/23/22 14:47, Maxime Ripard wrote: > > > > On Wed, Feb 23, 2022 at 02:45:30PM +0100, Marek Vasut wrote: > > > > > On

Re: [PATCH] drm/bridge: ti-sn65dsi86: Properly undo autosuspend

2022-02-23 Thread Doug Anderson
Hi, On Wed, Feb 23, 2022 at 7:55 AM Laurent Pinchart wrote: > > > How about a middle ground, though: we could add a devm function that > > does all the magic. Somewhat recently devm_pm_runtime_enable() was > > added. What if we add a variant for those that use autosuspend, like: > > > >

Re: [PATCH v3] simplefb: Enable boot time VESA graphic mode selection.

2022-02-23 Thread Javier Martinez Canillas
Hello Michal, On 2/18/22 17:04, Michal Suchanek wrote: > Since switch to simplefb/simpledrm VESA graphic modes are no longer > available with legacy BIOS. > Maybe you can mention that is the "vga=" kernel command line parameter since that may be more evident to people reading the commit message

Re: [PATCH] drm/bridge_connector: enable HPD by default if supported

2022-02-23 Thread Laurent Pinchart
Hello, On Wed, Feb 23, 2022 at 04:17:22PM +, Kieran Bingham wrote: > Quoting Laurent Pinchart (2021-12-29 23:44:29) > > On Sat, Dec 25, 2021 at 09:31:51AM +0300, Nikita Yushchenko wrote: > > > Hotplug events reported by bridge drivers over drm_bridge_hpd_notify() > > > get ignored unless

[GIT PULL] drm/tegra: Fixes for v5.17-rc6

2022-02-23 Thread Thierry Reding
Hi Dave, Daniel, The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07: Linux 5.17-rc1 (2022-01-23 10:12:53 +0200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/tegra.git tags/drm/tegra/for-5.17-rc6 for you to fetch changes up to

Re: [PATCH] drm/msm: Avoid dirtyfb stalls on video mode displays

2022-02-23 Thread Rob Clark
On Wed, Feb 23, 2022 at 2:00 AM Dmitry Baryshkov wrote: > > On 19/02/2022 22:39, Rob Clark wrote: > > From: Rob Clark > > > > Someone on IRC once asked an innocent enough sounding question: Why > > with xf86-video-modesetting is es2gears limited at 120fps. > > > > So I broke out the perfetto

Re: [PATCH] drm/bridge_connector: enable HPD by default if supported

2022-02-23 Thread Kieran Bingham
Hi Laurent, Nikita, Quoting Laurent Pinchart (2021-12-29 23:44:29) > Hi Nikita, > > Thank you for the patch. > > On Sat, Dec 25, 2021 at 09:31:51AM +0300, Nikita Yushchenko wrote: > > Hotplug events reported by bridge drivers over drm_bridge_hpd_notify() > > get ignored unless somebody calls

Re: [PATCH v2] drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP

2022-02-23 Thread Doug Anderson
Hi, On Tue, Feb 22, 2022 at 1:31 AM Geert Uytterhoeven wrote: > > On Tue, Feb 8, 2022 at 10:39 AM Geert Uytterhoeven > wrote: > > On Mon, Feb 7, 2022 at 12:31 PM Thomas Zimmermann > > wrote: > > > As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select > > > the option to fix the

Re: [PATCH] drm/bridge: ti-sn65dsi86: Properly undo autosuspend

2022-02-23 Thread Laurent Pinchart
Hi Doug, On Wed, Feb 23, 2022 at 07:43:27AM -0800, Doug Anderson wrote: > On Tue, Feb 22, 2022 at 9:08 PM Laurent Pinchart wrote: > > On Tue, Feb 22, 2022 at 11:44:54PM +0100, Linus Walleij wrote: > > > On Tue, Feb 22, 2022 at 11:19 PM Douglas Anderson wrote: > > > > > > > > The PM Runtime docs

Re: [PATCH v6 23/23] dt-bindings: display: rockchip: dw-hdmi: fix ports description

2022-02-23 Thread Rob Herring
On Thu, 17 Feb 2022 09:29:54 +0100, Sascha Hauer wrote: > Current port description doesn't cover all possible cases. It currently > expects one single port with two endpoints. > > When the HDMI connector is described in the device tree there can be two > ports, first one going to the VOP and the

Re: [PATCH] drm/msm/gpu: Fix crash on devices without devfreq support

2022-02-23 Thread Rob Clark
On Tue, Feb 22, 2022 at 7:11 PM Dmitry Baryshkov wrote: > > On 19/02/2022 21:33, Rob Clark wrote: > > From: Rob Clark > > > > Avoid going down devfreq paths on devices where devfreq is not > > initialized. > > > > Reported-by: Linux Kernel Functional Testing > > Reported-by: Anders Roxell > >

Re: [PATCH v10 3/4] drm/lsdc: add drm driver for loongson display controller

2022-02-23 Thread Sui Jingfeng
On 2022/2/23 22:39, Maxime Ripard wrote: On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote: On 2022/2/22 16:27, Maxime Ripard wrote: + if (!of_device_is_available(output)) { + of_node_put(output); + drm_info(ddev, "connector%d is not available\n",

Re: [PATCH v10 2/4] Documentation/dt: Add descriptions for loongson display controller

2022-02-23 Thread Krzysztof Kozlowski
On 23/02/2022 16:35, Sui Jingfeng wrote: > > On 2022/2/23 21:56, 隋景峰 wrote: >> Something like this: >> >> dt-bindings: display: Add Loongson display controller > > Hi, Thanks for resending in a proper format. I already replied to your original post, so let me paste it here as well. > > We

Re: [PATCH] drm/bridge: ti-sn65dsi86: Properly undo autosuspend

2022-02-23 Thread Doug Anderson
Hi, On Tue, Feb 22, 2022 at 9:08 PM Laurent Pinchart wrote: > > On Tue, Feb 22, 2022 at 11:44:54PM +0100, Linus Walleij wrote: > > On Tue, Feb 22, 2022 at 11:19 PM Douglas Anderson > > wrote: > > > > > > The PM Runtime docs say: > > > Drivers in ->remove() callback should undo the runtime PM

Re: [PATCH v10 3/4] drm/lsdc: add drm driver for loongson display controller

2022-02-23 Thread Maxime Ripard
On Wed, Feb 23, 2022 at 11:14:12PM +0800, Sui Jingfeng wrote: > > On 2022/2/23 22:39, Maxime Ripard wrote: > > On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote: > > > On 2022/2/22 16:27, Maxime Ripard wrote: > > > > > + if (!of_device_is_available(output)) { > > > > > +

Re: [PATCH v10 2/4] Documentation/dt: Add descriptions for loongson display controller

2022-02-23 Thread Krzysztof Kozlowski
On 23/02/2022 14:56, 隋景峰 wrote: > > > > -Original Messages- > From: "Rob Herring" > Sent Time: 2022-02-23 07:02:34 (Wednesday) > To: "Sui Jingfeng" 15330273...@189.cn > Cc: "Maxime Ripard" , "Thomas Zimmermann" > , "Roland Scheidegger" , "Zack > Rusin" , "Christian Gmeiner" , >

Re: [PATCH v10 2/4] Documentation/dt: Add descriptions for loongson display controller

2022-02-23 Thread Sui Jingfeng
On 2022/2/23 21:56, 隋景峰 wrote: Something like this: dt-bindings: display: Add Loongson display controller Hi, We are not a platform device driver, there is no of_device_id defined in my driver. In other word, my driver will not bind against devices whose compatible is

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Max Krummenacher
The goal here is to set the element bus_format in the struct panel_desc. This is an enum with the possible values defined in include/uapi/linux/media-bus-format.h. The enum values are not constructed in a way that you could calculate the value from color channel width/shift/mapping/whatever. You

Re: [PATCH v10 3/4] drm/lsdc: add drm driver for loongson display controller

2022-02-23 Thread Sui Jingfeng
On 2022/2/23 22:39, Maxime Ripard wrote: On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote: On 2022/2/22 16:27, Maxime Ripard wrote: + if (!of_device_is_available(output)) { + of_node_put(output); + drm_info(ddev, "connector%d is not available\n",

Re: [PATCH 0/3] drm/helpers: Make the suballocation manager drm generic.

2022-02-23 Thread Christian König
Am 23.02.22 um 14:51 schrieb Maarten Lankhorst: Second version of the patch. I didn't fix the copyright (which ame up in the previous version), as I feel the original author should send a patch for that. I've made the suballocator into its own module, and did a cleanup pass on it. The

Re: [PATCH libdrm v2 00/25] Update Tegra support

2022-02-23 Thread Thierry Reding
On Tue, Feb 22, 2022 at 10:41:05AM +0200, Mikko Perttunen wrote: > On 2/21/22 22:29, Dmitry Osipenko wrote: > > 18.02.2022 12:31, Mikko Perttunen пишет: > > > On 2/17/22 21:16, Thierry Reding wrote: > > > > ... > > > > > > Reviewed-by: Mikko Perttunen > > > > > > Left one cosmetic comment in

Re: [PATCH libdrm v2 20/25] tests: tegra: Add VIC 4.0 support

2022-02-23 Thread Thierry Reding
On Wed, Feb 23, 2022 at 03:46:01PM +0100, Thierry Reding wrote: > On Fri, Feb 18, 2022 at 11:29:34AM +0200, Mikko Perttunen wrote: > > On 2/17/22 21:19, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > The Video Image Composer (VIC) 4.0 can be found on NVIDIA Tegra210 SoCs. > > > It

Re: Report 2 in ext4 and journal based on v5.17-rc1

2022-02-23 Thread Jan Kara
On Wed 23-02-22 09:35:34, Byungchul Park wrote: > On Mon, Feb 21, 2022 at 08:02:04PM +0100, Jan Kara wrote: > > On Thu 17-02-22 20:10:04, Byungchul Park wrote: > > > [9.008161] === > > > [9.008163] DEPT: Circular dependency has been detected.

linux-next: manual merge of the drm-intel tree with the drm-intel-fixes tree

2022-02-23 Thread broonie
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/display/intel_bw.c between commit: ec663bca9128f ("drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV") from the drm-intel-fixes tree and commit: 6d8ebef53c2cc ("drm/i915:

Re: [PATCH libdrm v2 20/25] tests: tegra: Add VIC 4.0 support

2022-02-23 Thread Thierry Reding
On Fri, Feb 18, 2022 at 11:29:34AM +0200, Mikko Perttunen wrote: > On 2/17/22 21:19, Thierry Reding wrote: > > From: Thierry Reding > > > > The Video Image Composer (VIC) 4.0 can be found on NVIDIA Tegra210 SoCs. > > It uses a different class (B0B6) that is slightly incompatible with the > >

Re: [PATCH] drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels

2022-02-23 Thread Peter Robinson
On Wed, Feb 23, 2022 at 11:25 AM Hans de Goede wrote: > > Hi, > > On 2/22/22 20:14, Thomas Zimmermann wrote: > > Hi > > > > Am 21.02.22 um 23:00 schrieb Hans de Goede: > >> Some devices use e.g. a portrait panel in a standard laptop casing made > >> for landscape panels. efifb calls

Re: [PATCH v10 3/4] drm/lsdc: add drm driver for loongson display controller

2022-02-23 Thread Maxime Ripard
On Tue, Feb 22, 2022 at 10:46:35PM +0800, Sui Jingfeng wrote: > > On 2022/2/22 16:27, Maxime Ripard wrote: > > > + if (!of_device_is_available(output)) { > > > + of_node_put(output); > > > + drm_info(ddev, "connector%d is not available\n", index); > > > + return NULL; > >

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Marek Vasut
On 2/23/22 15:37, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 03:09:08PM +0100, Marek Vasut wrote: On 2/23/22 14:47, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 02:45:30PM +0100, Marek Vasut wrote: On 2/23/22 14:41, Maxime Ripard wrote: Hi, On Tue, Feb 22, 2022 at 09:47:23AM +0100, Max

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Maxime Ripard
On Wed, Feb 23, 2022 at 03:09:08PM +0100, Marek Vasut wrote: > On 2/23/22 14:47, Maxime Ripard wrote: > > On Wed, Feb 23, 2022 at 02:45:30PM +0100, Marek Vasut wrote: > > > On 2/23/22 14:41, Maxime Ripard wrote: > > > > Hi, > > > > > > > > On Tue, Feb 22, 2022 at 09:47:23AM +0100, Max

Re: [PATCH] drm/sched: Add device pointer to drm_gpu_scheduler

2022-02-23 Thread Alex Deucher
On Wed, Feb 23, 2022 at 2:42 AM Christian König wrote: > > Well that's bad. This should not be pushed to amd-staging-drm-next at all. > > This patch is touching multiple drivers and therefore needs to go > upstream through drm-misc-next. > > Alex can you drop that one before you send out a pull

Re: [RFC PATCH] drm/panel: simple: panel-dpi: use bus-format to set bpc and bus_format

2022-02-23 Thread Marek Vasut
On 2/23/22 14:47, Maxime Ripard wrote: On Wed, Feb 23, 2022 at 02:45:30PM +0100, Marek Vasut wrote: On 2/23/22 14:41, Maxime Ripard wrote: Hi, On Tue, Feb 22, 2022 at 09:47:23AM +0100, Max Krummenacher wrote: Use the new property bus-format to set the enum bus_format and bpc. Completes:

Re: [PATCH v2 1/3] drm/mm: Ensure that the entry is not NULL before extracting rb_node

2022-02-23 Thread Tvrtko Ursulin
On 23/02/2022 04:35, Kasireddy, Vivek wrote: Hi Tvrtko, On 18/02/2022 03:47, Kasireddy, Vivek wrote: Hi Tvrtko, On 17/02/2022 07:50, Vivek Kasireddy wrote: While looking for next holes suitable for an allocation, although, it is highly unlikely, make sure that the

Re: [PATCH] drm/amd/display: move FPU-related code from dcn20 to dml folder

2022-02-23 Thread Rodrigo Siqueira Jordao
On 2022-02-21 06:31, Melissa Wen wrote: Move parts of dcn20 code that uses FPU to dml folder. It aims to isolate FPU operations as described by series: drm/amd/display: Introduce FPU directory inside DC https://patchwork.freedesktop.org/series/93042/ This patch moves the following functions

Re: [Intel-gfx] [PATCH 2/3] drm/i915/gt: Make the heartbeat play nice with long pre-emption timeouts

2022-02-23 Thread Tvrtko Ursulin
On 23/02/2022 02:45, John Harrison wrote: On 2/22/2022 03:19, Tvrtko Ursulin wrote: On 18/02/2022 21:33, john.c.harri...@intel.com wrote: From: John Harrison Compute workloads are inherantly not pre-emptible for long periods on current hardware. As a workaround for this, the pre-emption

[PATCH] dt-bindings: display/ti: remove ti,hwmods property

2022-02-23 Thread Angelo Dureghello
Remove ti,hwmods from required properties, since the target-module approach is actually used. Signed-off-by: Angelo Dureghello --- Documentation/devicetree/bindings/display/ti/ti,dra7-dss.txt | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] drm/vmwgfx: make vmw_pt_sys_placement static

2022-02-23 Thread Wambui Karuga
Converts the variable vmw_pt_sys_placement to static to fix the following Sparse warning: warning: symbol 'vmw_pt_sys_placement' was not declared. Should it be static? Signed-off-by: Wambui Karuga --- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [Intel-gfx] [PATCH 0/7] drm/i915: Use the memcpy_from_wc function from drm

2022-02-23 Thread Das, Nirmoy
On 23/02/2022 12:08, Balasubramani Vivekanandan wrote: On 23.02.2022 10:02, Das, Nirmoy wrote: On 22/02/2022 15:51, Balasubramani Vivekanandan wrote: drm_memcpy_from_wc() performs fast copy from WC memory type using non-temporal instructions. Now there are two similar implementations of this

  1   2   >