Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Abhinav Kumar
On 2/4/2023 4:29 PM, Dmitry Baryshkov wrote: On Sun, 5 Feb 2023 at 01:20, Abhinav Kumar wrote: On 2/4/2023 1:08 PM, Dmitry Baryshkov wrote: On 04/02/2023 20:35, Abhinav Kumar wrote: On 2/4/2023 2:43 AM, Dmitry Baryshkov wrote: On 04/02/2023 07:10, Abhinav Kumar wrote: On 2/3/2023

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Dmitry Baryshkov
On Sun, 5 Feb 2023 at 01:20, Abhinav Kumar wrote: > > > > On 2/4/2023 1:08 PM, Dmitry Baryshkov wrote: > > On 04/02/2023 20:35, Abhinav Kumar wrote: > >> > >> > >> On 2/4/2023 2:43 AM, Dmitry Baryshkov wrote: > >>> On 04/02/2023 07:10, Abhinav Kumar wrote: > > > On 2/3/2023 8:10 PM,

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Abhinav Kumar
On 2/4/2023 1:08 PM, Dmitry Baryshkov wrote: On 04/02/2023 20:35, Abhinav Kumar wrote: On 2/4/2023 2:43 AM, Dmitry Baryshkov wrote: On 04/02/2023 07:10, Abhinav Kumar wrote: On 2/3/2023 8:10 PM, Dmitry Baryshkov wrote: On 04/02/2023 04:43, Abhinav Kumar wrote: On 2/3/2023 6:29 PM, D

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Dmitry Baryshkov
On 04/02/2023 20:35, Abhinav Kumar wrote: On 2/4/2023 2:43 AM, Dmitry Baryshkov wrote: On 04/02/2023 07:10, Abhinav Kumar wrote: On 2/3/2023 8:10 PM, Dmitry Baryshkov wrote: On 04/02/2023 04:43, Abhinav Kumar wrote: On 2/3/2023 6:29 PM, Dmitry Baryshkov wrote: On 04/02/2023 01:35, Abhi

[PATCH] drm/nouveau/disp: More DP_RECEIVER_CAP_SIZE array fixes

2023-02-04 Thread Kees Cook
More arrays (and arguments) for dcpd were set to 16, when it looks like DP_RECEIVER_CAP_SIZE (15) should be used. Fix the remaining cases, seen with GCC 13: ../drivers/gpu/drm/nouveau/nvif/outp.c: In function 'nvif_outp_acquire_dp': ../include/linux/fortify-string.h:57:33: warning: array subscript

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Abhinav Kumar
On 2/4/2023 2:43 AM, Dmitry Baryshkov wrote: On 04/02/2023 07:10, Abhinav Kumar wrote: On 2/3/2023 8:10 PM, Dmitry Baryshkov wrote: On 04/02/2023 04:43, Abhinav Kumar wrote: On 2/3/2023 6:29 PM, Dmitry Baryshkov wrote: On 04/02/2023 01:35, Abhinav Kumar wrote: On 2/3/2023 10:21 AM,

Re: [PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-04 Thread Bjorn Helgaas
On Sat, Feb 04, 2023 at 09:50:18AM +0100, Lukas Wunner wrote: > On Fri, Feb 03, 2023 at 05:09:09PM -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. > > > > Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting

Re: [PATCH 3/3] drm/connector: Deprecate split for BT.2020 in drm_colorspace enum

2023-02-04 Thread kernel test robot
Hi Joshua, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.2-rc6 next-20230203] [If your patch is applied to the wrong git t

Re: [PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-04 Thread Helge Deller
On 2/4/23 09:50, Lukas Wunner wrote: On Fri, Feb 03, 2023 at 05:09:09PM -0600, Bjorn Helgaas wrote: From: Bjorn Helgaas This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting devices on PCI bus") caused a console hang.

[PATCH v11 9/9] drm/bridge: it6505: Register Type C mode switches

2023-02-04 Thread Pin-yen Lin
Register USB Type-C mode switches when the "mode-switch" property and relevant port are available in Device Tree. Configure the "lane_swap" state based on the entered alternate mode for a specific Type-C connector, which ends up updating the lane swap registers of the it6505 chip. Signed-off-by: P

[PATCH v11 8/9] drm/bridge: it6505: Fix Kconfig indentation

2023-02-04 Thread Pin-yen Lin
Replace the spaces with tab characters in the Kconfig file. Signed-off-by: Pin-yen Lin Reviewed-by: AngeloGioacchino Del Regno --- (no changes since v10) Changes in v10: - Collected Reviewed-by tag Changes in v7: - New in v7 drivers/gpu/drm/bridge/Kconfig | 20 ++-- 1 file

[PATCH v11 7/9] dt-bindings: display: bridge: it6505: Add mode-switch support

2023-02-04 Thread Pin-yen Lin
ITE IT6505 can be used in systems to switch the DP traffic between two downstreams, which can be USB Type-C DisplayPort alternate mode lane or regular DisplayPort output ports. Update the binding to accommodate this usage by introducing a data-lanes and a mode-switch property on endpoints. Signed

Re: [PATCHv2] fbcon: Check font dimension limits

2023-02-04 Thread Helge Deller
On 1/31/23 15:51, Greg KH wrote: On Sun, Jan 29, 2023 at 04:17:40PM +0100, Samuel Thibault wrote: blit_x and blit_y are u32, so fbcon currently cannot support fonts larger than 32x32. The 32x32 case also needs shifting an unsigned int, to properly set bit 31, otherwise we get "UBSAN: shift-out-

[PATCH v11 6/9] drm/bridge: anx7625: Register Type C mode switches

2023-02-04 Thread Pin-yen Lin
Register USB Type-C mode switches when the "mode-switch" property and relevant ports are available in Device Tree. Configure the crosspoint switch based on the entered alternate mode for a specific Type-C connector. Crosspoint switch can also be used for switching the output signal for different o

[PATCH v11 5/9] drm/bridge: anx7625: Check for Type-C during panel registration

2023-02-04 Thread Pin-yen Lin
The output port endpoints can be connected to USB-C connectors. Running drm_of_find_panel_or_bridge() with such endpoints leads to a continuous return value of -EPROBE_DEFER, even though there is no panel present. To avoid this, check for the existence of a "mode-switch" property in the port endpo

[PATCH v11 4/9] dt-bindings: display: bridge: anx7625: Add mode-switch support

2023-02-04 Thread Pin-yen Lin
Analogix 7625 can be used in systems to switch the DP traffic between two downstreams, which can be USB Type-C DisplayPort alternate mode lane or regular DisplayPort output ports. Update the binding to accommodate this usage by introducing a data-lanes and a mode-switch property on endpoints. Als

[PATCH v11 3/9] drm/display: Add Type-C switch helpers

2023-02-04 Thread Pin-yen Lin
Add helpers to register and unregister Type-C "switches" for bridges capable of switching their output between two downstream devices. The helper registers USB Type-C mode switches when the "mode-switch" and the "reg" properties are available in Device Tree. Signed-off-by: Pin-yen Lin --- Chan

[PATCH v11 2/9] platform/chrome: cros_ec_typec: Purge blocking switch devlinks

2023-02-04 Thread Pin-yen Lin
From: Prashant Malani When using OF graph, the fw_devlink code will create links between the individual port driver (cros-ec-typec here) and the parent device for a Type-C switch (like mode-switch). Since the mode-switch will in turn have the usb-c-connector (i.e the child of the port driver) as

[PATCH v11 1/9] device property: Add remote endpoint to devcon matcher

2023-02-04 Thread Pin-yen Lin
From: Prashant Malani When searching the device graph for device matches, check the remote-endpoint itself for a match. Some drivers register devices for individual endpoints. This allows the matcher code to evaluate those for a match too, instead of only looking at the remote parent devices. Th

[PATCH v11 0/9] Register Type-C mode-switch in DP bridge endpoints

2023-02-04 Thread Pin-yen Lin
This series introduces bindings for anx7625/it6505 to register Type-C mode-switch in their output endpoints, and use data-lanes property to describe the pin connections. This series is not directly related to the built-in mux in anx7625, which automatically switches between the two orientations

Re: [PATCH v3 18/27] drm/msm/dpu: populate SmartDMA features in hw catalog

2023-02-04 Thread Dmitry Baryshkov
On 04/02/2023 07:10, Abhinav Kumar wrote: On 2/3/2023 8:10 PM, Dmitry Baryshkov wrote: On 04/02/2023 04:43, Abhinav Kumar wrote: On 2/3/2023 6:29 PM, Dmitry Baryshkov wrote: On 04/02/2023 01:35, Abhinav Kumar wrote: On 2/3/2023 10:21 AM, Dmitry Baryshkov wrote: Downstream driver uses d

Re: [PATCH 1/3] drm/connector: Convert DRM_MODE_COLORIMETRY to enum

2023-02-04 Thread kernel test robot
ci/archive/20230204/202302041801.feskjrem-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/

Re: [PATCH 1/3] drm/connector: Convert DRM_MODE_COLORIMETRY to enum

2023-02-04 Thread kernel test robot
00927 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230203020744.30745-1-joshua%40froggi.es patch subject: [PATCH 1/3] drm/connector: Convert DRM_MODE_COLORIMETRY to enum config: arc-randconfig-r034-20230204 (https://download.01.org/0day-

Re: [PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-04 Thread Lukas Wunner
On Fri, Feb 03, 2023 at 05:09:09PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. > > Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting devices > on PCI bus") caused a console hang. The machine was actually st

Re: [Intel-gfx] [PATCH 3/6] drm/i915/guc: More debug print updates - GuC reg capture

2023-02-04 Thread Teres Alexis, Alan Previn
So i do have one request - but its a nit - for the following case, should it be a guc_warn instead of a guc_dbg? (last hunk in this patch) "No register capture node found for 0x%04X / 0x%08X\n", ce->guc_id.id, ce->lrc.lrca);" Otherwise LGTM, Reviewed-by: Alan Previn On Thu, 2023