[PATCH] drm/plane: fix error handling in __drm_universal_plane_init

2023-12-05 Thread Dinghao Liu
__drm_universal_plane_init() frees plane->format_types and plane->modifiers on failure. However, sometimes its callers will free these two pointers again, which may lead to a double-free. One possible call chain is: mdp5_plane_init |-> drm_universal_plane_init | |->

Re: [syzbot] [dri?] KASAN: slab-use-after-free Read in drm_atomic_helper_wait_for_vblanks

2023-12-05 Thread xingwei lee
Hello, I reproduced this bug with repro.c in upstream kernel commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=8182d7a3f1b8982c0136dca82a846ea375a4d6e9 kernel config https://syzkaller.appspot.com/text?tag=KernelConfig=32d0b9b42ceb8b10 the same configuration in

Re: [PATCH 1/3] usb: typec: nb7vpq904m: Only select DRM_AUX_BRIDGE with OF

2023-12-05 Thread Dmitry Baryshkov
On 05/12/2023 22:13, Nathan Chancellor wrote: CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE

[PATCH] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Alexey Makhalov
From: Alexey Makhalov VMware hypercalls use I/O port, VMCALL or VMMCALL instructions. Add __tdx_hypercall path to support TDX guests. No change in high bandwidth hypercalls, as only low bandwidth ones are supported for TDX guests. Co-developed-by: Tim Merrifield Signed-off-by: Tim Merrifield

[linux-next:master] BUILD REGRESSION 0f5f12ac05f36f117e793656c3f560625e927f1b

2023-12-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 0f5f12ac05f36f117e793656c3f560625e927f1b Add linux-next specific files for 20231205 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202312051416.yirwcymp-...@intel.com https

Re: [REGRESSION]: nouveau: Asynchronous wait on fence

2023-12-05 Thread Owen T. Heisler
Hi Thorsten and others, On 12/5/23 06:33, Thorsten Leemhuis wrote: On 29.11.23 01:37, Owen T. Heisler wrote: On 11/21/23 14:23, Owen T. Heisler wrote: On 11/21/23 09:16, Linux regression tracking (Thorsten Leemhuis) wrote: On 15.11.23 07:19, Owen T. Heisler wrote: On 10/31/23 04:18, Linux

Re: [PATCH v3 2/2] drm/msm/dpu: Add mutex lock in control vblank irq

2023-12-05 Thread Bjorn Andersson
On Mon, Dec 04, 2023 at 11:22:24AM -0800, Abhinav Kumar wrote: > > > On 12/3/2023 7:31 PM, Bjorn Andersson wrote: > > On Fri, Dec 01, 2023 at 11:43:36AM -0800, Abhinav Kumar wrote: > > > > > > > > > On 12/1/2023 8:22 AM, Bjorn Andersson wrote: > > > > On Fri, Dec 01, 2023 at 10:34:50AM +0200,

Re: [PATCH] dt-bindings: display: adi, adv75xx: Document #sound-dai-cells

2023-12-05 Thread Adam Ford
On Tue, Dec 5, 2023 at 7:28 PM Fabio Estevam wrote: > > From: Fabio Estevam > > When using audio from ADV7533 or ADV7535 and describing the audio > card via simple-audio-card, the '#sound-dai-cells' needs to be passed. > > Document the '#sound-dai-cells' property to fix the following > dt-schema

Re: [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support

2023-12-05 Thread Shawn Guo
On Mon, Nov 27, 2023 at 05:12:29PM +0100, Roland Hieber wrote: > From: Marco Felsch > > This adds the device tree support for the MIPI-DSI block. The block can > be used as encoder for the parallel signals coming from the lcdif block. > > Signed-off-by: Marco Felsch > Signed-off-by: Roland

[PATCH] dt-bindings: display: adi,adv75xx: Document #sound-dai-cells

2023-12-05 Thread Fabio Estevam
From: Fabio Estevam When using audio from ADV7533 or ADV7535 and describing the audio card via simple-audio-card, the '#sound-dai-cells' needs to be passed. Document the '#sound-dai-cells' property to fix the following dt-schema warning: imx8mn-beacon-kit.dtb: hdmi@3d: '#sound-dai-cells' does

Re: [PATCH 2/2] drm/i915: Use internal class when counting engine resets

2023-12-05 Thread Daniele Ceraolo Spurio
On 12/1/2023 4:21 AM, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Commit 503579448db9 ("drm/i915/gsc: Mark internal GSC engine with reserved uabi class") made the GSC0 engine not have a valid uabi class and so broke the engine reset counting, which in turn was made class based in

Re: [PATCH v2 1/4] fbdev/efifb: Replace references to global screen_info by local pointer

2023-12-05 Thread kernel test robot
Hi Thomas, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v6.7-rc4 next-20231205] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Alexey Makhalov
On 12/5/23 3:03 PM, Dave Hansen wrote: On 12/5/23 13:41, Alexey Makhalov wrote: I don't really like it much.  This does a generic thing (make a TDX hypercall) with a specific name ("vmware_").  If you want to make an argument that a certain chunk of the __tdx_hypercall() space is just for

[PATCH] fbdev: hgafb: fix kernel-doc comments

2023-12-05 Thread Randy Dunlap
Fix kernel-doc warnings found when using "W=1". hgafb.c:370: warning: No description found for return value of 'hgafb_open' hgafb.c:384: warning: No description found for return value of 'hgafb_release' hgafb.c:406: warning: No description found for return value of 'hgafb_setcolreg' hgafb.c:425:

[Bug 218221] Nouveau GSP fail on command cli:0xc1d0000

2023-12-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218221 --- Comment #5 from airl...@gmail.com --- Yes I'd file that against mesa, I don't think we are quite there with zink support yet, trying to push on it a bit. On Tue, 5 Dec 2023 at 21:42, wrote: > >

Re: [Bug 218221] Nouveau GSP fail on command cli:0xc1d0000

2023-12-05 Thread Dave Airlie
Yes I'd file that against mesa, I don't think we are quite there with zink support yet, trying to push on it a bit. On Tue, 5 Dec 2023 at 21:42, wrote: > > https://bugzilla.kernel.org/show_bug.cgi?id=218221 > > --- Comment #3 from marc barbier (mmarc...@gmail.com) --- > (In reply to airlied from

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Dave Hansen
On 12/5/23 13:41, Alexey Makhalov wrote: >> I don't really like it much.  This does a generic thing (make a TDX >> hypercall) with a specific name ("vmware_").  If you want to make an >> argument that a certain chunk of the __tdx_hypercall() space is just for >> VMWare and you also add a

[PATCH] backlight: ili922x: fix W=1 kernel-doc warnings

2023-12-05 Thread Randy Dunlap
Fix kernel-doc warnings found when using "W=1". ili922x.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst ili922x.c:85: warning: missing initial short description on line: * START_BYTE(id, rs, rw) ili922x.c:91: warning:

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Tim Merrifield
Hi Dave and Alexey, Regarding VMware-specific checks, it may be beneficial to add some additional checks such as ensuring that the hypervisor vendor is VMware, r12==VMWARE_HYPERVISOR_MAGIC, r10==VMWARE_TDX_VENDOR_LEAF, r11==VMWARE_TDX_HCALL_FUNC and r13 (command) is restricted to those few

[PATCH 5/5] drm/msm/adreno: Move CP_PROTECT settings to hw catalog

2023-12-05 Thread Rob Clark
From: Rob Clark Move the CP_PROTECT settings into the hw catalog. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 246 - drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 255 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 +

[PATCH 4/5] drm/msm/adreno: Move hwcg table into a6xx specific info

2023-12-05 Thread Rob Clark
From: Rob Clark Introduce a6xx_info where we can stash gen specific stuff without polluting the toplevel adreno_info struct. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 55 +-- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 4 +-

[PATCH 3/5] drm/msm/adreno: Move hwcg regs to a6xx hw catalog

2023-12-05 Thread Rob Clark
From: Rob Clark Move the hwcg tables into the hw catalog. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 560 ++ drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 558 - drivers/gpu/drm/msm/adreno/adreno_gpu.h | 3 - 3 files

[PATCH 2/5] drm/msm/adreno: Split catalog into separate files

2023-12-05 Thread Rob Clark
From: Rob Clark Split each gen's gpu table into it's own file. Only code-motion, no functional change. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/Makefile | 5 + drivers/gpu/drm/msm/adreno/a2xx_catalog.c | 53 ++ drivers/gpu/drm/msm/adreno/a3xx_catalog.c | 75 +++

[PATCH 1/5] drm/msm/adreno: Split up giant device table

2023-12-05 Thread Rob Clark
From: Rob Clark Split into a separate table per generation, in preparation to move each gen's device table to it's own file. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 59 +++--- 1 file changed, 51 insertions(+), 8 deletions(-) diff --git

[PATCH 0/5] drm/msm/adreno: Introduce/rework device hw catalog

2023-12-05 Thread Rob Clark
From: Rob Clark Split the single flat gpulist table into per-gen tables that exist in their own per-gen files, and start moving more info into the device table. This at least gets all the big tables of register settings out of the heart of the a6xx_gpu code. Probably more could be moved, to

Re: [PATCH 3/3] drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub

2023-12-05 Thread Bryan O'Donoghue
On 05/12/2023 21:13, Nathan Chancellor wrote: sparse complains: drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file: include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as NULL pointer Return NULL to clear up the warning. Reported-by: kernel

Re: [PATCH 2/3] usb: typec: qcom-pmic-typec: Only select DRM_AUX_HPD_BRIDGE with OF

2023-12-05 Thread Bryan O'Donoghue
On 05/12/2023 21:13, Nathan Chancellor wrote: CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for

Re: [DO NOT MERGE v5 11/37] pci: pci-sh7751: Add SH7751 PCI driver

2023-12-05 Thread Linus Walleij
On Tue, Dec 5, 2023 at 2:26 PM Arnd Bergmann wrote: > On Tue, Dec 5, 2023, at 10:45, Yoshinori Sato wrote: > > + if (of_property_read_u32_array(pdev->dev.of_node, > > +"renesas,memory", memory, 2) < 0) { > > + /* > > + * If no

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Alexey Makhalov
On 12/5/23 1:24 PM, Dave Hansen wrote: On 12/4/23 02:31, Borislav Petkov wrote: On Fri, Dec 01, 2023 at 03:24:52PM -0800, Alexey Makhalov wrote: +#ifdef CONFIG_INTEL_TDX_GUEST +/* __tdx_hypercall() is not exported. So, export the wrapper */ +void vmware_tdx_hypercall_args(struct

Re: [PATCH v2] drm/msm/dpu: correct clk bit for WB2 block

2023-12-05 Thread Paloma Arellano
On 12/5/2023 12:30 PM, Abhinav Kumar wrote: On 12/2/2023 4:24 PM, Dmitry Baryshkov wrote: On sc7280 there are two clk bits for WB2: vbif_cli and clk_ctrl. While programming the VBIF params of WB, the driver should be toggling the former bit, while the sc7180_mdp, sc7280_mdp and sm8250_mdp

Re: [PATCH v2] dt-bindings: lcdif: Properly describe the i.MX23 interrupts

2023-12-05 Thread Marek Vasut
On 12/5/23 19:47, Fabio Estevam wrote: From: Fabio Estevam i.MX23 has two LCDIF interrupts instead of a single one like other i.MX devices. Take this into account for properly describing the i.MX23 LCDIF interrupts. This fixes the following dt-schema warning: imx23-olinuxino.dtb:

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread Dave Hansen
On 12/4/23 02:31, Borislav Petkov wrote: > On Fri, Dec 01, 2023 at 03:24:52PM -0800, Alexey Makhalov wrote: >> +#ifdef CONFIG_INTEL_TDX_GUEST >> +/* __tdx_hypercall() is not exported. So, export the wrapper */ >> +void vmware_tdx_hypercall_args(struct tdx_module_args *args) >> +{ >> +

Re: [PATCH v2 5/6] drm/vmwgfx: Use vmware_hypercall API

2023-12-05 Thread Alexey Makhalov
On 12/5/23 12:27 PM, Borislav Petkov wrote: On Fri, Dec 01, 2023 at 03:24:51PM -0800, Alexey Makhalov wrote: Switch from VMWARE_HYPERCALL macro to vmware_hypercall API. Eliminate arch specific code. drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h: implement arm64 variant of vmware_hypercall here

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread kernel test robot
Hi Alexey, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on dtor-input/next dtor-input/for-linus linus/master v6.7-rc4 next-20231205] [cannot apply to tip/x86/vmware] [If your patch is applied to the wrong git tree

Re: [DO NOT MERGE v5 19/37] dt-bindings: interrupt-controller: renesas,sh7751-irl-ext: Add json-schema

2023-12-05 Thread Rob Herring
On Tue, Dec 05, 2023 at 06:45:38PM +0900, Yoshinori Sato wrote: > Renesas SH7751 external interrupt encoder json-schema. > > Signed-off-by: Yoshinori Sato > --- > .../renesas,sh7751-irl-ext.yaml | 83 +++ > 1 file changed, 83 insertions(+) > create mode 100644 >

Re: [PATCH 3/3] drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub

2023-12-05 Thread Guenter Roeck
On 12/5/23 12:13, Nathan Chancellor wrote: sparse complains: drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file: include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as NULL pointer Return NULL to clear up the warning. Reported-by: kernel test

Re: [PATCH 2/3] usb: typec: qcom-pmic-typec: Only select DRM_AUX_HPD_BRIDGE with OF

2023-12-05 Thread Guenter Roeck
On 12/5/23 12:13, Nathan Chancellor wrote: CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE

Re: [PATCH 1/3] usb: typec: nb7vpq904m: Only select DRM_AUX_BRIDGE with OF

2023-12-05 Thread Guenter Roeck
On 12/5/23 12:13, Nathan Chancellor wrote: CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE

Re: [PATCH v3 13/14] dt-bindings: gpu: mali-valhall-csf: Add support for Arm Mali CSF GPUs

2023-12-05 Thread Rob Herring
On Mon, Dec 04, 2023 at 06:33:06PM +0100, Boris Brezillon wrote: > From: Liviu Dudau > > Arm has introduced a new v10 GPU architecture that replaces the Job Manager > interface with a new Command Stream Frontend. It adds firmware driven > command stream queues that can be used by kernel and user

Re: [RFT PATCH v2 04/12] drm/nouveau: Call drm_atomic_helper_shutdown() or equiv at shutdown time

2023-12-05 Thread Doug Anderson
Hi, On Fri, Nov 17, 2023 at 3:00 PM Doug Anderson wrote: > > Hi, > > On Fri, Sep 22, 2023 at 2:06 PM Lyude Paul wrote: > > > > actually very glad to see this because I think I've seen one bug in the wild > > as a result of things not getting shut down :) > > > > Reviewed-by: Lyude Paul > >

Re: [PATCH v2] drm/msm/dpu: correct clk bit for WB2 block

2023-12-05 Thread Abhinav Kumar
On 12/2/2023 4:24 PM, Dmitry Baryshkov wrote: On sc7280 there are two clk bits for WB2: vbif_cli and clk_ctrl. While programming the VBIF params of WB, the driver should be toggling the former bit, while the sc7180_mdp, sc7280_mdp and sm8250_mdp structs list the latter one. Correct that to

Re: [PATCH v2 5/6] drm/vmwgfx: Use vmware_hypercall API

2023-12-05 Thread Borislav Petkov
On Fri, Dec 01, 2023 at 03:24:51PM -0800, Alexey Makhalov wrote: > Switch from VMWARE_HYPERCALL macro to vmware_hypercall API. > Eliminate arch specific code. > > drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h: implement arm64 variant > of vmware_hypercall here for now. The move of these functions to

Re: [PATCH v2 09/10] drm/bridge: tc358775: Add support for tc358765

2023-12-05 Thread kernel test robot
Hi Tony, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.7-rc4 next-20231205] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

[PATCH 3/3] drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub

2023-12-05 Thread Nathan Chancellor
sparse complains: drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file: include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as NULL pointer Return NULL to clear up the warning. Reported-by: kernel test robot Closes:

[PATCH 2/3] usb: typec: qcom-pmic-typec: Only select DRM_AUX_HPD_BRIDGE with OF

2023-12-05 Thread Nathan Chancellor
CONFIG_DRM_AUX_HPD_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_QCOM_PMIC selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE Depends on [n]: HAS_IOMEM [=y] &&

[PATCH 0/3] A few fixes for transparent bridge support

2023-12-05 Thread Nathan Chancellor
changed, 3 insertions(+), 3 deletions(-) --- base-commit: 4900e0396e59be233cfa636369d4eec6b40dbeca change-id: 20231205-drm_aux_bridge-fixes-162780ed704a Best regards, -- Nathan Chancellor

[PATCH 1/3] usb: typec: nb7vpq904m: Only select DRM_AUX_BRIDGE with OF

2023-12-05 Thread Nathan Chancellor
CONFIG_DRM_AUX_BRIDGE depends on CONFIG_OF but that dependency is not included when CONFIG_TYPEC_MUX_NB7VPQ904M selects it, resulting in a Kconfig warning when CONFIG_OF is disabled: WARNING: unmet direct dependencies detected for DRM_AUX_BRIDGE Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE

Re: [PATCH v2 6/6] x86/vmware: Add TDX hypercall support

2023-12-05 Thread kernel test robot
Hi Alexey, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on dtor-input/next dtor-input/for-linus linus/master v6.7-rc4 next-20231205] [cannot apply to tip/x86/vmware] [If your patch is applied to the wrong git tree

Re: [PATCH v2] drm/i915/gt: Convert reset prepare failure log to trace

2023-12-05 Thread John Harrison
On 12/5/2023 02:39, Nirmoy Das wrote: Hi John, On 12/5/2023 10:10 AM, John Harrison wrote: On 12/5/2023 00:52, Nirmoy Das wrote: gen8_engine_reset_prepare() can fail when HW fails to set RESET_CTL_READY_TO_RESET bit. In some cases this is not fatal error as driver will retry. Convert the log

[PATCH] drm/msm: Expose syncobj timeline support

2023-12-05 Thread Rob Clark
From: Rob Clark This does unfortunately require a mesa fix to avoid turnip hanging, but we don't have a good way to know the userspace version. Fortunately that fix is now in mesa-23.3.0-rc3 and later[1]. [1]

[PATCH] drm/scheduler: Unwrap job dependencies

2023-12-05 Thread Rob Clark
From: Rob Clark Container fences have burner contexts, which makes the trick to store at most one fence per context somewhat useless if we don't unwrap array or chain fences. Signed-off-by: Rob Clark --- drivers/gpu/drm/scheduler/sched_main.c | 47 ++ 1 file changed,

Re: [RFT PATCH v2 2/4] drm/msm/dpu: enable writeback on SC8108X

2023-12-05 Thread kernel test robot
Hi Dmitry, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v6.7-rc4 next-20231205] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH v2] dt-bindings: lcdif: Properly describe the i.MX23 interrupts

2023-12-05 Thread Fabio Estevam
From: Fabio Estevam i.MX23 has two LCDIF interrupts instead of a single one like other i.MX devices. Take this into account for properly describing the i.MX23 LCDIF interrupts. This fixes the following dt-schema warning: imx23-olinuxino.dtb: lcdif@8003: interrupts: [[46], [45]] is too

Re: [PATCH 4/4] drm/panel-edp: Add some panels with conservative timings

2023-12-05 Thread Doug Anderson
Hi, On Tue, Dec 5, 2023 at 4:37 AM Pin-yen Lin wrote: > > These panels are used by Mediatek MT8173 Chromebooks but we can't find > the corresponding data sheets, and these panels used to work on v4.19 > kernel without any specified delays. > > Therefore, instead of having them use the default

Re: [PATCH 3/4] drm/edp-panel: Add panels delay entries

2023-12-05 Thread Doug Anderson
Hi, On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote: > > @@ -1999,10 +2031,17 @@ static const struct edp_panel_entry edp_panels[] = { > EDP_PANEL_ENTRY('I', 'V', 'O', 0x854b, _200_500_p2e100, > "R133NW4K-R0"), > EDP_PANEL_ENTRY('I', 'V', 'O', 0x8c4d, _200_150_e200, "R140NWFM >

Re: [PATCH 1/4] drm/panel-edp: Add powered_on_to_enable delay

2023-12-05 Thread Doug Anderson
Hi, On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote: > > Add the support of powered_on_to_enable delay as the minimum time that > needs to have passed between the panel powered on and enable may begin. > > This delay is seen in BOE panels as the minimum delay of T3+T4+T5+T6+T8 > in the eDP

Re: [PATCH 2/4] drm/edp-panel: Sort the panel entries

2023-12-05 Thread Doug Anderson
Hi, On Tue, Dec 5, 2023 at 4:36 AM Pin-yen Lin wrote: > > Move the order of CMN 0x14e5 to make the list sorted. > > Signed-off-by: Pin-yen Lin > --- > > drivers/gpu/drm/panel/panel-edp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Pushed to drm-misc-next: 4900e0396e59

Re: [PATCH v2] drm/panel-edp: Add SDC ATNA45AF01

2023-12-05 Thread Doug Anderson
Hi, On Mon, Dec 4, 2023 at 8:46 AM Doug Anderson wrote: > > Hi, > > On Mon, Dec 4, 2023 at 12:54 AM Abel Vesa wrote: > > > > Add support for the SDC ATNA45AF01 panel. > > > > Signed-off-by: Abel Vesa > > --- > > Changes in v2: > > - moved the panel entry in the proper place, as suggested by

Re: [PATCH RFC 01/10] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs

2023-12-05 Thread H. Nikolaus Schaller
> Am 05.12.2023 um 18:33 schrieb Andrew Davis : > > On 12/5/23 2:17 AM, H. Nikolaus Schaller wrote: >>> + - enum: >>> + - ti,omap3430-gpu # Rev 121 >>> + - ti,omap3630-gpu # Rev 125 >> Is the "Rev 121" and "Rev 125" a property of the SoC integration >>

Re: [PATCH v6 09/10] drm/doc: ci: Add IGT version details for flaky tests

2023-12-05 Thread Helen Koike
On 29/11/2023 09:18, Vignesh Raman wrote: Document the IGT version in the flaky tests reporting template. Nice! Signed-off-by: Vignesh Raman Acked-by: Helen Koike Thanks Helen --- v6: - Added a new patch in the series to update drm ci documentation ---

Re: [PATCH v6 08/10] drm: ci: uprev IGT

2023-12-05 Thread Helen Koike
On 29/11/2023 09:18, Vignesh Raman wrote: virtio-gpu kernel driver reports 16 for count_crtcs which exceeds IGT_MAX_PIPES set to 8 in igt-gpu-tools. This results in below memory corruption,  malloc(): corrupted top size  Received signal SIGABRT.  Stack trace:   #0

Re: [PATCH v6 07/10] drm: ci: virtio: Make artifacts available

2023-12-05 Thread Helen Koike
On 29/11/2023 09:18, Vignesh Raman wrote: There were no artifacts available for virtio job. So make the artifacts available in the pipeline job. Signed-off-by: Vignesh Raman Acked-by: Helen Koike Thanks Helen --- v5: - Added a new patch in the series to make artifacts available

Re: [PATCH v6 06/10] drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173

2023-12-05 Thread Helen Koike
Hi, Thanks for your patch. On 29/11/2023 09:18, Vignesh Raman wrote: Expected driver for mt8173 is "mediatek" and for mt8183 it is "panfrost". Set IGT_FORCE_DRIVER to 'mediatek' as the expected driver for mt8173. Signed-off-by: Vignesh Raman --- v5: - Added a new patch in the series to

Re: [PATCH] drm/ci: remove rebase-merge directory

2023-12-05 Thread Helen Koike
On 02/12/2023 19:13, Dmitry Baryshkov wrote: Gitlab runner can cache git repository, including the unfinished rebase merge status. New CI job will come as a fresh checkout, however this will not destroy the unfinished rebase, failing our build script. Destroy the unfinished rebase state.

[PATCH] dt-bindings: lcdif: Properly describe the i.MX23 interrupts

2023-12-05 Thread Fabio Estevam
From: Fabio Estevam i.MX23 has two i.MX23 interrupts instead of a single one like other i.MX devices. Take this into account for properly describing the i.MX23 LCDIF interrupts. This fixes the following dt-schema warning: imx23-olinuxino.dtb: lcdif@8003: interrupts: [[46], [45]] is too

Re: [PATCH] drm: renesas: shmobile: Call drm_helper_force_disable_all() at shutdown time

2023-12-05 Thread Doug Anderson
Hi, On Tue, Dec 5, 2023 at 5:40 AM Laurent Pinchart wrote: > > On Tue, Dec 05, 2023 at 02:31:24PM +0100, Geert Uytterhoeven wrote: > > On Tue, Dec 5, 2023 at 1:16 PM Laurent Pinchart wrote: > > > On Tue, Dec 05, 2023 at 12:30:02PM +0100, Geert Uytterhoeven wrote: > > > > From: Douglas Anderson

Re: Kunit drm_test_check_plane_state: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_plane_helper_test.c:123

2023-12-05 Thread Abhinav Kumar
- drm_test_check_plane_state_upscaling I found the source of failure to be f1e75da5364e ("drm/atomic: Loosen FB atomic checks"). Fortunately for us, it's already been reverted yesterday for some unrelated reason, so it should be fixed in next-20231205 onward. Sorry, that's a bummer that these patches wer

Re: [PATCH RFC 01/10] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs

2023-12-05 Thread Andrew Davis
On 12/5/23 2:17 AM, H. Nikolaus Schaller wrote: Hi Andrew, Am 04.12.2023 um 19:22 schrieb Andrew Davis : The Imagination PowerVR Series5 "SGX" GPU is part of several SoCs from multiple vendors. Great and thanks for the new attempt to get at least the Device Tree side upstream. Really

Re: [RFC] drm/scheduler: Unwrap job dependencies

2023-12-05 Thread Rob Clark
On Tue, Dec 5, 2023 at 8:56 AM Rob Clark wrote: > > On Tue, Dec 5, 2023 at 7:58 AM Christian König > wrote: > > > > Am 05.12.23 um 16:41 schrieb Rob Clark: > > > On Mon, Dec 4, 2023 at 10:46 PM Christian König > > > wrote: > > >> Am 04.12.23 um 22:54 schrieb Rob Clark: > > >>> On Thu, Mar 23,

Re: [RFC] drm/scheduler: Unwrap job dependencies

2023-12-05 Thread Rob Clark
On Tue, Dec 5, 2023 at 7:58 AM Christian König wrote: > > Am 05.12.23 um 16:41 schrieb Rob Clark: > > On Mon, Dec 4, 2023 at 10:46 PM Christian König > > wrote: > >> Am 04.12.23 um 22:54 schrieb Rob Clark: > >>> On Thu, Mar 23, 2023 at 2:30 PM Rob Clark wrote: > [SNIP] > >>> So, this patch

Re: [PATCH v1 1/3] dt-bindings: drm: rockchip: convert inno_hdmi-rockchip.txt to yaml

2023-12-05 Thread Conor Dooley
On Mon, Dec 04, 2023 at 09:47:15PM +0100, Johan Jonker wrote: > On 12/4/23 19:56, Alex Bee wrote: > > Am 04.12.23 um 18:39 schrieb Johan Jonker: > >> diff --git > >> a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml > >> > >>

Re: [RFC PATCH 2/2] vc4: introduce DMA-BUF heap

2023-12-05 Thread Simon Ser
On Wednesday, November 29th, 2023 at 13:45, Maxime Ripard wrote: > > > Hi, > > Thanks for writing this down > > On Thu, Nov 16, 2023 at 03:53:20PM +, Simon Ser wrote: > > > On Thursday, November 9th, 2023 at 08:45, Simon Ser cont...@emersion.fr > > wrote: > > > > > User-space

[DO NOT MERGE v5 25/37] dt-bindings: vendor-prefixes: Add iodata

2023-12-05 Thread Yoshinori Sato
Add IO DATA DEVICE INC. https://www.iodata.com/ Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[DO NOT MERGE v5 17/37] dt-bindings: interrupt-controller: renesas, sh7751-intc: Add json-schema

2023-12-05 Thread Yoshinori Sato
Renesas SH7751 INTC json-schema. Signed-off-by: Yoshinori Sato --- .../renesas,sh7751-intc.yaml | 105 ++ 1 file changed, 105 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml diff --git

[DO NOT MERGE v5 11/37] pci: pci-sh7751: Add SH7751 PCI driver

2023-12-05 Thread Yoshinori Sato
Renesas SH7751 CPU Internal PCI Controller driver. Signed-off-by: Yoshinori Sato --- drivers/pci/controller/Kconfig | 9 + drivers/pci/controller/Makefile | 1 + drivers/pci/controller/pci-sh7751.c | 302 drivers/pci/controller/pci-sh7751.h | 76

[DO NOT MERGE v5 28/37] dt-bindings: soc: renesas: sh: Add SH7751 based target

2023-12-05 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/soc/renesas/sh.yaml | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml diff --git a/Documentation/devicetree/bindings/soc/renesas/sh.yaml

[DO NOT MERGE v5 05/37] sh: GENERIC_IRQ_CHIP support for CONFIG_OF=y

2023-12-05 Thread Yoshinori Sato
Remove unused function prototype. Add helper update_sr_imask. use for SH7751 irq driver. Add stub intc_finalize. Signed-off-by: Yoshinori Sato --- arch/sh/include/asm/irq.h | 10 -- arch/sh/kernel/cpu/Makefile| 5 + arch/sh/kernel/cpu/irq/imask.c | 17 +

[DO NOT MERGE v5 10/37] sh: Common PCI Framework driver support.

2023-12-05 Thread Yoshinori Sato
Add New OF based PCI Host driver. This driver conflicts some point in legacy PCI driver. To resolve the conflict, I made some changes to the legacy driver. Signed-off-by: Yoshinori Sato --- arch/sh/drivers/pci/pci.c | 6 -- arch/sh/include/asm/io.h | 6 ++ arch/sh/include/asm/pci.h |

[DO NOT MERGE v5 16/37] irqchip: Add SH7751 INTC driver

2023-12-05 Thread Yoshinori Sato
Renesas SH7751 Internal interrupt controller driver. Signed-off-by: Yoshinori Sato --- drivers/irqchip/Kconfig | 8 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-renesas-sh7751.c | 290 +++ 3 files changed, 299 insertions(+) create

[DO NOT MERGE v5 20/37] serial: sh-sci: fix SH4 OF support.

2023-12-05 Thread Yoshinori Sato
- fix earlycon name. - fix earlyprintk hung (NULL pointer reference). Signed-off-by: Yoshinori Sato --- drivers/tty/serial/Kconfig | 2 +- drivers/tty/serial/sh-sci.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/Kconfig

[DO NOT MERGE v5 23/37] mfd: sm501: Convert platform_data to OF property

2023-12-05 Thread Yoshinori Sato
Various parameters of SM501 can be set using platform_data, so parameters cannot be passed in the DeviceTree target. Expands the parameters set in platform_data so that they can be specified using DeviceTree properties. Signed-off-by: Yoshinori Sato --- drivers/mfd/sm501.c | 99

[DO NOT MERGE v5 21/37] dt-bindings: serial: renesas, scif: Add scif-sh7751.

2023-12-05 Thread Yoshinori Sato
Add Renesas SH7751 SCIF. Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/serial/renesas,scif.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml

[DO NOT MERGE v5 34/37] sh: Add dtbs target support.

2023-12-05 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/Makefile | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile index 4a6dec9714a9..e6b93360c213 100644 --- a/arch/sh/boot/dts/Makefile +++ b/arch/sh/boot/dts/Makefile @@ -1,2 +1,7 @@ #

[DO NOT MERGE v5 31/37] sh: Add IO DATA LANDISK dts

2023-12-05 Thread Yoshinori Sato
IO DATA DEVICE Inc. LANDISK HDL-U devicetree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/landisk.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/sh/boot/dts/landisk.dts diff --git a/arch/sh/boot/dts/landisk.dts

[DO NOT MERGE v5 02/37] sh: Kconfig unified OF supported targets.

2023-12-05 Thread Yoshinori Sato
Targets that support OF should be treated as one board. Signed-off-by: Yoshinori Sato --- arch/sh/boards/Kconfig | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 109bec4dad94..e7e52779ef62 100644

[DO NOT MERGE v5 09/37] dt-bindings: timer: renesas, tmu: add renesas, tmu-sh7750

2023-12-05 Thread Yoshinori Sato
Add SH7750 TMU entry. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/timer/renesas,tmu.yaml| 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml

[DO NOT MERGE v5 24/37] dt-binding: sh: cpus: Add SH CPUs json-schema

2023-12-05 Thread Yoshinori Sato
Renesas SH series and compatible ISA CPUs. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/sh/cpus.yaml | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml diff --git

[DO NOT MERGE v5 32/37] sh: Add IO DATA USL-5P dts

2023-12-05 Thread Yoshinori Sato
IO DATA DEVICE Inc. USL-5P devicetree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/usl-5p.dts | 84 + 1 file changed, 84 insertions(+) create mode 100644 arch/sh/boot/dts/usl-5p.dts diff --git a/arch/sh/boot/dts/usl-5p.dts

[DO NOT MERGE v5 26/37] dt-bindings: vendor-prefixes: Add smi

2023-12-05 Thread Yoshinori Sato
Add Silicon Mortion Technology Corporation https://www.siliconmotion.com/ Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[DO NOT MERGE v5 03/37] sh: Enable OF support for build and configuration.

2023-12-05 Thread Yoshinori Sato
IRQ, CLK and PCI will be migrated to a common driver framework. So if OF, disable the SH specific drivers. Signed-off-by: Yoshinori Sato --- arch/sh/Kconfig | 11 ++- arch/sh/drivers/Makefile| 2 ++ arch/sh/kernel/cpu/Makefile | 9 +++--

[DO NOT MERGE v5 00/37] Device Tree support for SH7751 based board

2023-12-05 Thread Yoshinori Sato
This is an updated version of something I wrote about 7 years ago. Minimum support for R2D-plus and LANDISK. I think R2D-1 will work if you add AX88796 to dts. And board-specific functions and SCI's SPI functions are not supported. You can get it working with qemu found here.

[DO NOT MERGE v5 22/37] dt-bindings: display: smi, sm501: SMI SM501 binding json-schema

2023-12-05 Thread Yoshinori Sato
Define SM501 functions and modes. Signed-off-by: Yoshinori Sato --- .../bindings/display/smi,sm501.yaml | 134 ++ include/dt-bindings/display/sm501.h | 25 2 files changed, 159 insertions(+) create mode 100644

[DO NOT MERGE v5 29/37] sh: SH7751R SoC Internal peripheral definition dtsi.

2023-12-05 Thread Yoshinori Sato
SH7751R internal peripherals device tree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/sh7751r.dtsi | 150 ++ 1 file changed, 150 insertions(+) create mode 100644 arch/sh/boot/dts/sh7751r.dtsi diff --git a/arch/sh/boot/dts/sh7751r.dtsi

[DO NOT MERGE v5 07/37] sh: Fix COMMON_CLK support in CONFIG_OF=y.

2023-12-05 Thread Yoshinori Sato
Initialize the clock and timer using the COMMON_CLK procedure. sh's earlytimer mechanism doesn't work properly in OF, so timer initialization is delayed. If CONFIG_OF=y, perform the general timer initialization procedure. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 28

[DO NOT MERGE v5 14/37] clk: Compatible with narrow registers

2023-12-05 Thread Yoshinori Sato
divider and gate only support 32-bit registers. Older hardware uses narrower registers, so I want to be able to handle 8-bit and 16-bit wide registers. Signed-off-by: Yoshinori Sato --- drivers/clk/clk-divider.c| 56 drivers/clk/clk-gate.c | 56

[DO NOT MERGE v5 15/37] clk: renesas: Add SH7750/7751 CPG Driver

2023-12-05 Thread Yoshinori Sato
Renesas SH7750 and SH7751 series CPG driver. This driver supported frequency control and clock gating. Signed-off-by: Yoshinori Sato --- drivers/clk/renesas/Kconfig | 16 +- drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/clk-sh7750.c | 498 +++ 3

[DO NOT MERGE v5 04/37] dt-bindings: interrupt-controller: Add header for Renesas SH3/4 INTC.

2023-12-05 Thread Yoshinori Sato
Renesas SH7751 Interrupt controller priority register define. Signed-off-by: Yoshinori Sato --- .../interrupt-controller/sh7751-intc.h| 21 +++ 1 file changed, 21 insertions(+) create mode 100644 include/dt-bindings/interrupt-controller/sh7751-intc.h diff --git

[DO NOT MERGE v5 12/37] dt-bindings: pci: pci-sh7751: Add SH7751 PCI

2023-12-05 Thread Yoshinori Sato
Renesas SH7751 PCI Controller json-schema. Signed-off-by: Yoshinori Sato --- .../bindings/pci/renesas,sh7751-pci.yaml | 128 ++ 1 file changed, 128 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/renesas,sh7751-pci.yaml diff --git

[DO NOT MERGE v5 30/37] sh: add RTS7751R2D Plus DTS

2023-12-05 Thread Yoshinori Sato
Renesas RTS7751R2D Plus devicetree. Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/rts7751r2dplus.dts | 157 1 file changed, 157 insertions(+) create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts diff --git a/arch/sh/boot/dts/rts7751r2dplus.dts

[DO NOT MERGE v5 27/37] dt-bindings: ata: ata-generic: Add new targets

2023-12-05 Thread Yoshinori Sato
Added new ata-generic target. - iodata,usl-5p-ata - renesas,rts7751r2d-ata Each boards have simple IDE Interface. Use ATA generic driver. Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/ata/ata-generic.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

  1   2   3   >