Re: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support
Hi Akhil, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.10-rc5] [cannot apply to next-20240627] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Akhil-P-Oommen/dt-bindings-display-msm-gmu-Add-Adreno-X185-GMU/20240626-06 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240623110753.141400-4-quic_akhilpo%40quicinc.com patch subject: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support config: arm64-randconfig-051-20240627 (https://download.01.org/0day-ci/archive/20240628/202406282158.ogy7xnu2-...@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ad79a14c9e5ec4a369eed4adf567c22cc029863f) dtschema version: 2024.6.dev3+g650bf2d reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240628/202406282158.ogy7xnu2-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406282158.ogy7xnu2-...@intel.com/ dtcheck warnings: (new ones prefixed by >>) arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fda000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-phy-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: gmu@3d6a000: reg-names:0: 'gmu' was expected from schema $id: http://devicetree.org/schemas/display/msm/gmu.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: gmu@3d6a000: reg-names:1: 'rscc' was expected from schema $id: http://devicetree.org/schemas/display/msm/gmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: compatible: >> 'oneOf' conditional failed, one must be fixed: ['qcom,x1e80100-smmu-500', 'qcom,adreno-smmu', 'qcom,smmu-500', 'arm,mmu-500'] is too long 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,msm8998-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sm6375-smmu-v2'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sc7180-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8180x-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sdm845-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6350-smmu-500', 'qcom,sm6375-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sa8775p-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6125-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500', 'qcom,sm8550-smmu-500', 'qcom,sm8650-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,sc7280-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,sc7180-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sdm845-smmu-v2', 'qcom,sm6350-smmu-v2', 'qcom,sm7150-smmu-v2'] 'qcom,sdm845-smmu-v2' was expected 'marvell,ap806-smmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['nvidia,tegra186-smmu', 'nvidia,tegra194-smmu', 'nvidia,tegra234-smmu'] 'arm,mmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['arm,mmu-400', 'arm,mmu-401'] 'qcom,x1e80100-smmu-500' is not one of ['arm,smmu-v1', 'arm,smmu-v2', 'arm,mmu-400', 'arm,mmu-401', 'arm,mmu-500', 'cavium,smmu-v2'] 'qcom,smmu-v2' was expected 'qcom,smmu-500' was expected 'nvidia,smmu-500' was expected 'arm,smmu-v2' was expected 'arm,smmu-v1' was expected from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clock-names: False >> schema does not allow ['hlos', 'bus', 'iface', 'ahb'] from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clocks: False >> schema does not allow [[150, 14], [51, 55], [
Re: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support
Hi Akhil, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.10-rc5] [cannot apply to next-20240626] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Akhil-P-Oommen/dt-bindings-display-msm-gmu-Add-Adreno-X185-GMU/20240626-06 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240623110753.141400-4-quic_akhilpo%40quicinc.com patch subject: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support config: arm64-randconfig-051-20240627 (https://download.01.org/0day-ci/archive/20240628/202406280339.nvi0oro3-...@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ad79a14c9e5ec4a369eed4adf567c22cc029863f) dtschema version: 2024.6.dev2+g3b69bad reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240628/202406280339.nvi0oro3-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406280339.nvi0oro3-...@intel.com/ dtcheck warnings: (new ones prefixed by >>) arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fda000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-phy-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: gmu@3d6a000: reg-names:0: 'gmu' was expected from schema $id: http://devicetree.org/schemas/display/msm/gmu.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: gmu@3d6a000: reg-names:1: 'rscc' was expected from schema $id: http://devicetree.org/schemas/display/msm/gmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: compatible: >> 'oneOf' conditional failed, one must be fixed: ['qcom,x1e80100-smmu-500', 'qcom,adreno-smmu', 'qcom,smmu-500', 'arm,mmu-500'] is too long 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,msm8998-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sm6375-smmu-v2'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sc7180-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8180x-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sdm845-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6350-smmu-500', 'qcom,sm6375-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sa8775p-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6125-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500', 'qcom,sm8550-smmu-500', 'qcom,sm8650-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,sc7280-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,sc7180-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sdm845-smmu-v2', 'qcom,sm6350-smmu-v2', 'qcom,sm7150-smmu-v2'] 'qcom,sdm845-smmu-v2' was expected 'marvell,ap806-smmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['nvidia,tegra186-smmu', 'nvidia,tegra194-smmu', 'nvidia,tegra234-smmu'] 'arm,mmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['arm,mmu-400', 'arm,mmu-401'] 'qcom,x1e80100-smmu-500' is not one of ['arm,smmu-v1', 'arm,smmu-v2', 'arm,mmu-400', 'arm,mmu-401', 'arm,mmu-500', 'cavium,smmu-v2'] 'qcom,smmu-v2' was expected 'qcom,smmu-500' was expected 'nvidia,smmu-500' was expected 'arm,smmu-v2' was expected 'arm,smmu-v1' was expected from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clock-names: False >> schema does not allow ['hlos', 'bus', 'iface', 'ahb'] from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clocks: False >> schema does not allow [[150, 14], [51, 55], [
Re: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support
Hi Akhil, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.10-rc5] [cannot apply to next-20240626] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Akhil-P-Oommen/dt-bindings-display-msm-gmu-Add-Adreno-X185-GMU/20240626-06 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240623110753.141400-4-quic_akhilpo%40quicinc.com patch subject: [PATCH v1 3/3] arm64: dts: qcom: x1e80100: Add gpu support config: arm64-randconfig-051-20240627 (https://download.01.org/0day-ci/archive/20240627/202406271442.d4cbizmw-...@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project ad79a14c9e5ec4a369eed4adf567c22cc029863f) dtschema version: 2024.6.dev1+g833054f reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240627/202406271442.d4cbizmw-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406271442.d4cbizmw-...@intel.com/ dtcheck warnings: (new ones prefixed by >>) arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fd5000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fda000: 'vdda-phy-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fda000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-phy-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: phy@fdf000: 'vdda-pll-supply' is a required property from schema $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: compatible: >> 'oneOf' conditional failed, one must be fixed: ['qcom,x1e80100-smmu-500', 'qcom,adreno-smmu', 'qcom,smmu-500', 'arm,mmu-500'] is too long 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,msm8998-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sm6375-smmu-v2'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sc7180-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8180x-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sdm845-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6350-smmu-500', 'qcom,sm6375-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,qcm2290-smmu-500', 'qcom,sa8775p-smmu-500', 'qcom,sc7280-smmu-500', 'qcom,sc8280xp-smmu-500', 'qcom,sm6115-smmu-500', 'qcom,sm6125-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500', 'qcom,sm8350-smmu-500', 'qcom,sm8450-smmu-500', 'qcom,sm8550-smmu-500', 'qcom,sm8650-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,sc7280-smmu-500', 'qcom,sm8150-smmu-500', 'qcom,sm8250-smmu-500'] 'qcom,x1e80100-smmu-500' is not one of ['qcom,msm8996-smmu-v2', 'qcom,sc7180-smmu-v2', 'qcom,sdm630-smmu-v2', 'qcom,sdm845-smmu-v2', 'qcom,sm6350-smmu-v2', 'qcom,sm7150-smmu-v2'] 'qcom,sdm845-smmu-v2' was expected 'marvell,ap806-smmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['nvidia,tegra186-smmu', 'nvidia,tegra194-smmu', 'nvidia,tegra234-smmu'] 'arm,mmu-500' was expected 'qcom,x1e80100-smmu-500' is not one of ['arm,mmu-400', 'arm,mmu-401'] 'qcom,x1e80100-smmu-500' is not one of ['arm,smmu-v1', 'arm,smmu-v2', 'arm,mmu-400', 'arm,mmu-401', 'arm,mmu-500', 'cavium,smmu-v2'] 'qcom,smmu-v2' was expected 'qcom,smmu-500' was expected 'nvidia,smmu-500' was expected 'arm,smmu-v2' was expected 'arm,smmu-v1' was expected from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clock-names: False >> schema does not allow ['hlos', 'bus', 'iface', 'ahb'] from schema $id: http://devicetree.org/schemas/iommu/arm,smmu.yaml# >> arch/arm64/boot/dts/qcom/x1e80100-crd.dtb: iommu@3da: clocks: False >
Re: [PATCH] drm/msm/a6xx: use __always_unused to fix compiler warnings for gen7_* includes
Hi Abhinav, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-intel/for-linux-next-fixes] [also build test WARNING on drm-tip/drm-tip linus/master v6.10-rc2 next-20240604] [cannot apply to drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Abhinav-Kumar/drm-msm-a6xx-use-__always_unused-to-fix-compiler-warnings-for-gen7_-includes/20240605-055341 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20240604215105.4057278-1-quic_abhinavk%40quicinc.com patch subject: [PATCH] drm/msm/a6xx: use __always_unused to fix compiler warnings for gen7_* includes config: i386-buildonly-randconfig-001-20240605 (https://download.01.org/0day-ci/archive/20240605/202406051244.xdnc6lyo-...@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406051244.xdnc6lyo-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406051244.xdnc6lyo-...@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:13: >> drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:114:18: warning: >> 'gen7_9_0_cx_debugbus_blocks' defined but not used [-Wunused-const-variable=] 114 | static const u32 gen7_9_0_cx_debugbus_blocks[] = { | ^~~ vim +/gen7_9_0_cx_debugbus_blocks +114 drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h 6408a1b5a7d7a9 Connor Abbott 2024-05-03 113 6408a1b5a7d7a9 Connor Abbott 2024-05-03 @114 static const u32 gen7_9_0_cx_debugbus_blocks[] = { 106414f8b60346 Connor Abbott 2024-05-03 115A7XX_DBGBUS_CX, 106414f8b60346 Connor Abbott 2024-05-03 116A7XX_DBGBUS_GMU_CX, 106414f8b60346 Connor Abbott 2024-05-03 117A7XX_DBGBUS_GBIF_CX, 6408a1b5a7d7a9 Connor Abbott 2024-05-03 118 }; 6408a1b5a7d7a9 Connor Abbott 2024-05-03 119 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH] drm/msm/a6xx: use __always_unused to fix compiler warnings for gen7_* includes
Hi Abhinav, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next-fixes] [also build test ERROR on drm-tip/drm-tip linus/master v6.10-rc2 next-20240604] [cannot apply to drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Abhinav-Kumar/drm-msm-a6xx-use-__always_unused-to-fix-compiler-warnings-for-gen7_-includes/20240605-055341 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20240604215105.4057278-1-quic_abhinavk%40quicinc.com patch subject: [PATCH] drm/msm/a6xx: use __always_unused to fix compiler warnings for gen7_* includes config: um-allyesconfig (https://download.01.org/0day-ci/archive/20240605/202406051226.b050npqf-...@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406051226.b050npqf-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406051226.b050npqf-...@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:13: >> drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:114:18: error: >> 'gen7_9_0_cx_debugbus_blocks' defined but not used >> [-Werror=unused-const-variable=] 114 | static const u32 gen7_9_0_cx_debugbus_blocks[] = { | ^~~ cc1: all warnings being treated as errors vim +/gen7_9_0_cx_debugbus_blocks +114 drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h 6408a1b5a7d7a9 Connor Abbott 2024-05-03 113 6408a1b5a7d7a9 Connor Abbott 2024-05-03 @114 static const u32 gen7_9_0_cx_debugbus_blocks[] = { 106414f8b60346 Connor Abbott 2024-05-03 115A7XX_DBGBUS_CX, 106414f8b60346 Connor Abbott 2024-05-03 116A7XX_DBGBUS_GMU_CX, 106414f8b60346 Connor Abbott 2024-05-03 117A7XX_DBGBUS_GBIF_CX, 6408a1b5a7d7a9 Connor Abbott 2024-05-03 118 }; 6408a1b5a7d7a9 Connor Abbott 2024-05-03 119 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH v3 2/2] drm/msm/a6xx: request memory region
Hi Kiarash, kernel test robot noticed the following build errors: [auto build test ERROR on cf87f46fd34d6c19283d9625a7822f20d90b64a4] url: https://github.com/intel-lab-lkp/linux/commits/Kiarash-Hajian/drm-msm-a6xx-request-memory-region/20240512-135215 base: cf87f46fd34d6c19283d9625a7822f20d90b64a4 patch link: https://lore.kernel.org/r/20240512-msm-adreno-memory-region-v3-2-0a728ad45010%40gmail.com patch subject: [PATCH v3 2/2] drm/msm/a6xx: request memory region config: i386-buildonly-randconfig-003-20240513 (https://download.01.org/0day-ci/archive/20240513/202405130628.7lsm1hpa-...@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240513/202405130628.7lsm1hpa-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405130628.7lsm1hpa-...@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/msm/adreno/a6xx_gmu.c: In function 'a6xx_gmu_wrapper_init': >> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1611:17: error: label 'err_mmio' used >> but not defined 1611 | goto err_mmio; | ^~~~ vim +/err_mmio +1611 drivers/gpu/drm/msm/adreno/a6xx_gmu.c c11fa1204fe940 Akhil P Oommen 2023-01-02 1582 5a903a44a98471 Konrad Dybcio 2023-06-16 1583 int a6xx_gmu_wrapper_init(struct a6xx_gpu *a6xx_gpu, struct device_node *node) 5a903a44a98471 Konrad Dybcio 2023-06-16 1584 { 5a903a44a98471 Konrad Dybcio 2023-06-16 1585 struct platform_device *pdev = of_find_device_by_node(node); 5a903a44a98471 Konrad Dybcio 2023-06-16 1586 struct a6xx_gmu *gmu = _gpu->gmu; 5a903a44a98471 Konrad Dybcio 2023-06-16 1587 int ret; 5a903a44a98471 Konrad Dybcio 2023-06-16 1588 5a903a44a98471 Konrad Dybcio 2023-06-16 1589 if (!pdev) 5a903a44a98471 Konrad Dybcio 2023-06-16 1590 return -ENODEV; 5a903a44a98471 Konrad Dybcio 2023-06-16 1591 5a903a44a98471 Konrad Dybcio 2023-06-16 1592 gmu->dev = >dev; 5a903a44a98471 Konrad Dybcio 2023-06-16 1593 5a903a44a98471 Konrad Dybcio 2023-06-16 1594 of_dma_configure(gmu->dev, node, true); 5a903a44a98471 Konrad Dybcio 2023-06-16 1595 5a903a44a98471 Konrad Dybcio 2023-06-16 1596 pm_runtime_enable(gmu->dev); 5a903a44a98471 Konrad Dybcio 2023-06-16 1597 5a903a44a98471 Konrad Dybcio 2023-06-16 1598 /* Mark legacy for manual SPTPRAC control */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1599 gmu->legacy = true; 5a903a44a98471 Konrad Dybcio 2023-06-16 1600 5a903a44a98471 Konrad Dybcio 2023-06-16 1601 /* Map the GMU registers */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1602 gmu->mmio = a6xx_gmu_get_mmio(pdev, "gmu"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1603 if (IS_ERR(gmu->mmio)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1604 ret = PTR_ERR(gmu->mmio); 5a903a44a98471 Konrad Dybcio 2023-06-16 1605 goto err_mmio; 5a903a44a98471 Konrad Dybcio 2023-06-16 1606 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1607 5a903a44a98471 Konrad Dybcio 2023-06-16 1608 gmu->cxpd = dev_pm_domain_attach_by_name(gmu->dev, "cx"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1609 if (IS_ERR(gmu->cxpd)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1610 ret = PTR_ERR(gmu->cxpd); 5a903a44a98471 Konrad Dybcio 2023-06-16 @1611 goto err_mmio; 5a903a44a98471 Konrad Dybcio 2023-06-16 1612 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1613 5a903a44a98471 Konrad Dybcio 2023-06-16 1614 if (!device_link_add(gmu->dev, gmu->cxpd, DL_FLAG_PM_RUNTIME)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1615 ret = -ENODEV; 5a903a44a98471 Konrad Dybcio 2023-06-16 1616 goto detach_cxpd; 5a903a44a98471 Konrad Dybcio 2023-06-16 1617 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1618 5a903a44a98471 Konrad Dybcio 2023-06-16 1619 init_completion(>pd_gate); 5a903a44a98471 Konrad Dybcio 2023-06-16 1620 complete_all(>pd_gate); 5a903a44a98471 Konrad Dybcio 2023-06-16 1621 gmu->pd_nb.notifier_call = cxpd_notifier_cb; 5a903a44a98471 Konrad Dybcio 2023-06-16 1622 5a903a44a98471 Konrad Dybcio 2023-06-16 1623 /* Get a link to the GX power domain to reset the GPU */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1624 gmu->gxpd = dev_pm_domain_attach_by_name(gmu->dev, "gx"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1625 if (IS_ERR(gmu->gxpd)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1626 re
Re: [PATCH v3 2/2] drm/msm/a6xx: request memory region
Hi Kiarash, kernel test robot noticed the following build errors: [auto build test ERROR on cf87f46fd34d6c19283d9625a7822f20d90b64a4] url: https://github.com/intel-lab-lkp/linux/commits/Kiarash-Hajian/drm-msm-a6xx-request-memory-region/20240512-135215 base: cf87f46fd34d6c19283d9625a7822f20d90b64a4 patch link: https://lore.kernel.org/r/20240512-msm-adreno-memory-region-v3-2-0a728ad45010%40gmail.com patch subject: [PATCH v3 2/2] drm/msm/a6xx: request memory region config: i386-buildonly-randconfig-001-20240513 (https://download.01.org/0day-ci/archive/20240513/202405130618.n7qkeg94-...@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240513/202405130618.n7qkeg94-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405130618.n7qkeg94-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1605:8: error: use of undeclared label >> 'err_mmio' 1605 | goto err_mmio; | ^ 1 error generated. vim +/err_mmio +1605 drivers/gpu/drm/msm/adreno/a6xx_gmu.c c11fa1204fe940 Akhil P Oommen 2023-01-02 1582 5a903a44a98471 Konrad Dybcio 2023-06-16 1583 int a6xx_gmu_wrapper_init(struct a6xx_gpu *a6xx_gpu, struct device_node *node) 5a903a44a98471 Konrad Dybcio 2023-06-16 1584 { 5a903a44a98471 Konrad Dybcio 2023-06-16 1585 struct platform_device *pdev = of_find_device_by_node(node); 5a903a44a98471 Konrad Dybcio 2023-06-16 1586 struct a6xx_gmu *gmu = _gpu->gmu; 5a903a44a98471 Konrad Dybcio 2023-06-16 1587 int ret; 5a903a44a98471 Konrad Dybcio 2023-06-16 1588 5a903a44a98471 Konrad Dybcio 2023-06-16 1589 if (!pdev) 5a903a44a98471 Konrad Dybcio 2023-06-16 1590 return -ENODEV; 5a903a44a98471 Konrad Dybcio 2023-06-16 1591 5a903a44a98471 Konrad Dybcio 2023-06-16 1592 gmu->dev = >dev; 5a903a44a98471 Konrad Dybcio 2023-06-16 1593 5a903a44a98471 Konrad Dybcio 2023-06-16 1594 of_dma_configure(gmu->dev, node, true); 5a903a44a98471 Konrad Dybcio 2023-06-16 1595 5a903a44a98471 Konrad Dybcio 2023-06-16 1596 pm_runtime_enable(gmu->dev); 5a903a44a98471 Konrad Dybcio 2023-06-16 1597 5a903a44a98471 Konrad Dybcio 2023-06-16 1598 /* Mark legacy for manual SPTPRAC control */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1599 gmu->legacy = true; 5a903a44a98471 Konrad Dybcio 2023-06-16 1600 5a903a44a98471 Konrad Dybcio 2023-06-16 1601 /* Map the GMU registers */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1602 gmu->mmio = a6xx_gmu_get_mmio(pdev, "gmu"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1603 if (IS_ERR(gmu->mmio)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1604 ret = PTR_ERR(gmu->mmio); 5a903a44a98471 Konrad Dybcio 2023-06-16 @1605 goto err_mmio; 5a903a44a98471 Konrad Dybcio 2023-06-16 1606 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1607 5a903a44a98471 Konrad Dybcio 2023-06-16 1608 gmu->cxpd = dev_pm_domain_attach_by_name(gmu->dev, "cx"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1609 if (IS_ERR(gmu->cxpd)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1610 ret = PTR_ERR(gmu->cxpd); 5a903a44a98471 Konrad Dybcio 2023-06-16 1611 goto err_mmio; 5a903a44a98471 Konrad Dybcio 2023-06-16 1612 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1613 5a903a44a98471 Konrad Dybcio 2023-06-16 1614 if (!device_link_add(gmu->dev, gmu->cxpd, DL_FLAG_PM_RUNTIME)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1615 ret = -ENODEV; 5a903a44a98471 Konrad Dybcio 2023-06-16 1616 goto detach_cxpd; 5a903a44a98471 Konrad Dybcio 2023-06-16 1617 } 5a903a44a98471 Konrad Dybcio 2023-06-16 1618 5a903a44a98471 Konrad Dybcio 2023-06-16 1619 init_completion(>pd_gate); 5a903a44a98471 Konrad Dybcio 2023-06-16 1620 complete_all(>pd_gate); 5a903a44a98471 Konrad Dybcio 2023-06-16 1621 gmu->pd_nb.notifier_call = cxpd_notifier_cb; 5a903a44a98471 Konrad Dybcio 2023-06-16 1622 5a903a44a98471 Konrad Dybcio 2023-06-16 1623 /* Get a link to the GX power domain to reset the GPU */ 5a903a44a98471 Konrad Dybcio 2023-06-16 1624 gmu->gxpd = dev_pm_domain_attach_by_name(gmu->dev, "gx"); 5a903a44a98471 Konrad Dybcio 2023-06-16 1625 if (IS_ERR(gmu->gxpd)) { 5a903a44a98471 Konrad Dybcio 2023-06-16 1626 re
[linux-next:master] BUILD REGRESSION 11cb68ad52ac78c81e33b806b531f097e68edfa2
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 11cb68ad52ac78c81e33b806b531f097e68edfa2 Add linux-next specific files for 20240408 Error/Warning: (recently discovered and may have been fixed) drivers/gpu/drm/drm_mm.c:152:1: error: unused function 'drm_mm_interval_tree_insert' [-Werror,-Wunused-function] drivers/gpu/drm/drm_mm.c:152:1: error: unused function 'drm_mm_interval_tree_iter_next' [-Werror,-Wunused-function] drivers/gpu/drm/lima/lima_drv.c:387:13: error: cast to smaller integer type 'enum lima_gpu_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] drivers/gpu/drm/pl111/pl111_versatile.c:488:24: error: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- arm-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- arm-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- csky-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- csky-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- loongarch-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- microblaze-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- microblaze-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- openrisc-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- parisc-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | `-- drivers-gpu-drm-nouveau-nvif-object.c:error:memcpy-accessing-or-more-bytes-at-offsets-and-overlaps-bytes-at-offset |-- parisc-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | `-- drivers-gpu-drm-nouveau-nvif-object.c:error:memcpy-accessing-or-more-bytes-at-offsets-and-overlaps-bytes-at-offset |-- powerpc-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- s390-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `--
Re: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin
Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/soc-qcom-Move-some-socinfo-defines-to-the-header-expand-them/20240405-164231 base: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd patch link: https://lore.kernel.org/r/20240405-topic-smem_speedbin-v1-4-ce2b864251b1%40linaro.org patch subject: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin config: i386-buildonly-randconfig-003-20240406 (https://download.01.org/0day-ci/archive/20240406/202404061841.njuovdv7-...@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404061841.njuovdv7-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404061841.njuovdv7-...@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/msm/adreno/adreno_gpu.c: In function 'adreno_read_speedbin': >> drivers/gpu/drm/msm/adreno/adreno_gpu.c:1090:14: error: implicit declaration >> of function 'FIELD_PREP'; did you mean 'NEED_PGE'? >> [-Werror=implicit-function-declaration] *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | ^~ NEED_PGE cc1: some warnings being treated as errors vim +1090 drivers/gpu/drm/msm/adreno/adreno_gpu.c 1062 1063 int adreno_read_speedbin(struct adreno_gpu *adreno_gpu, 1064 struct device *dev, u32 *speedbin) 1065 { 1066 u32 fcode, pcode; 1067 int ret; 1068 1069 /* Try reading the speedbin via a nvmem cell first */ 1070 ret = nvmem_cell_read_variable_le_u32(dev, "speed_bin", speedbin); 1071 if (!ret && ret != -EINVAL) 1072 return ret; 1073 1074 ret = qcom_smem_get_feature_code(); 1075 if (ret) { 1076 dev_err(dev, "Couldn't get feature code from SMEM!\n"); 1077 return ret; 1078 } 1079 1080 ret = qcom_smem_get_product_code(); 1081 if (ret) { 1082 dev_err(dev, "Couldn't get product code from SMEM!\n"); 1083 return ret; 1084 } 1085 1086 /* Don't consider fcode for external feature codes */ 1087 if (fcode <= SOCINFO_FC_EXT_RESERVE) 1088 fcode = SOCINFO_FC_UNKNOWN; 1089 > 1090 *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | 1091 FIELD_PREP(ADRENO_SKU_ID_FCODE, fcode); 1092 1093 return ret; 1094 } 1095 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin
Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/soc-qcom-Move-some-socinfo-defines-to-the-header-expand-them/20240405-164231 base: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd patch link: https://lore.kernel.org/r/20240405-topic-smem_speedbin-v1-4-ce2b864251b1%40linaro.org patch subject: [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin config: i386-buildonly-randconfig-001-20240406 (https://download.01.org/0day-ci/archive/20240406/202404061839.0wagfxwj-...@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404061839.0wagfxwj-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404061839.0wagfxwj-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/adreno/adreno_gpu.c:1090:14: error: call to undeclared >> function 'FIELD_PREP'; ISO C99 and later do not support implicit function >> declarations [-Wimplicit-function-declaration] 1090 | *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | | ^ 1 error generated. vim +/FIELD_PREP +1090 drivers/gpu/drm/msm/adreno/adreno_gpu.c 1062 1063 int adreno_read_speedbin(struct adreno_gpu *adreno_gpu, 1064 struct device *dev, u32 *speedbin) 1065 { 1066 u32 fcode, pcode; 1067 int ret; 1068 1069 /* Try reading the speedbin via a nvmem cell first */ 1070 ret = nvmem_cell_read_variable_le_u32(dev, "speed_bin", speedbin); 1071 if (!ret && ret != -EINVAL) 1072 return ret; 1073 1074 ret = qcom_smem_get_feature_code(); 1075 if (ret) { 1076 dev_err(dev, "Couldn't get feature code from SMEM!\n"); 1077 return ret; 1078 } 1079 1080 ret = qcom_smem_get_product_code(); 1081 if (ret) { 1082 dev_err(dev, "Couldn't get product code from SMEM!\n"); 1083 return ret; 1084 } 1085 1086 /* Don't consider fcode for external feature codes */ 1087 if (fcode <= SOCINFO_FC_EXT_RESERVE) 1088 fcode = SOCINFO_FC_UNKNOWN; 1089 > 1090 *speedbin = FIELD_PREP(ADRENO_SKU_ID_PCODE, pcode) | 1091 FIELD_PREP(ADRENO_SKU_ID_FCODE, fcode); 1092 1093 return ret; 1094 } 1095 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH 2/6] soc: qcom: smem: Add pcode/fcode getters
Hi Konrad, kernel test robot noticed the following build warnings: [auto build test WARNING on 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/soc-qcom-Move-some-socinfo-defines-to-the-header-expand-them/20240405-164231 base: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd patch link: https://lore.kernel.org/r/20240405-topic-smem_speedbin-v1-2-ce2b864251b1%40linaro.org patch subject: [PATCH 2/6] soc: qcom: smem: Add pcode/fcode getters config: arm-defconfig (https://download.01.org/0day-ci/archive/20240406/202404060648.dojoyusf-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404060648.dojoyusf-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202404060648.dojoyusf-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/soc/qcom/smem.c:807: warning: Function parameter or struct member >> 'code' not described in 'qcom_smem_get_feature_code' >> drivers/soc/qcom/smem.c:807: warning: Excess function parameter 'id' >> description in 'qcom_smem_get_feature_code' >> drivers/soc/qcom/smem.c:840: warning: Function parameter or struct member >> 'code' not described in 'qcom_smem_get_product_code' >> drivers/soc/qcom/smem.c:840: warning: Excess function parameter 'id' >> description in 'qcom_smem_get_product_code' vim +807 drivers/soc/qcom/smem.c 797 798 /** 799 * qcom_smem_get_feature_code() - return the feature code 800 * @id: On success, we return the feature code here. 801 * 802 * Look up the feature code identifier from SMEM and return it. 803 * 804 * Return: 0 on success, negative errno on failure. 805 */ 806 int qcom_smem_get_feature_code(u32 *code) > 807 { 808 struct socinfo *info; 809 u32 raw_code; 810 811 info = qcom_smem_get(QCOM_SMEM_HOST_ANY, SMEM_HW_SW_BUILD_ID, NULL); 812 if (IS_ERR(info)) 813 return PTR_ERR(info); 814 815 /* This only makes sense for socinfo >= 16 */ 816 if (__le32_to_cpu(info->fmt) < SOCINFO_VERSION(0, 16)) 817 return -EINVAL; 818 819 raw_code = __le32_to_cpu(info->feature_code); 820 821 /* Ensure the value makes sense */ 822 if (raw_code >= SOCINFO_FC_INT_RESERVE) 823 raw_code = SOCINFO_FC_UNKNOWN; 824 825 *code = raw_code; 826 827 return 0; 828 } 829 EXPORT_SYMBOL_GPL(qcom_smem_get_feature_code); 830 831 /** 832 * qcom_smem_get_product_code() - return the product code 833 * @id: On success, we return the product code here. 834 * 835 * Look up feature code identifier from SMEM and return it. 836 * 837 * Return: 0 on success, negative errno on failure. 838 */ 839 int qcom_smem_get_product_code(u32 *code) > 840 { 841 struct socinfo *info; 842 u32 raw_code; 843 844 info = qcom_smem_get(QCOM_SMEM_HOST_ANY, SMEM_HW_SW_BUILD_ID, NULL); 845 if (IS_ERR(info)) 846 return PTR_ERR(info); 847 848 /* This only makes sense for socinfo >= 16 */ 849 if (__le32_to_cpu(info->fmt) < SOCINFO_VERSION(0, 16)) 850 return -EINVAL; 851 852 raw_code = __le32_to_cpu(info->pcode); 853 854 /* Ensure the value makes sense */ 855 if (raw_code >= SOCINFO_FC_INT_RESERVE) 856 raw_code = SOCINFO_FC_UNKNOWN; 857 858 *code = raw_code; 859 860 return 0; 861 } 862 EXPORT_SYMBOL_GPL(qcom_smem_get_product_code); 863 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
[linux-next:master] BUILD REGRESSION 8568bb2ccc278f344e6ac44af6ed010a90aa88dc
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 8568bb2ccc278f344e6ac44af6ed010a90aa88dc Add linux-next specific files for 20240405 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404051333.7und7ppw-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404051423.eiaxlwhx-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404051659.aawukguq-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404052022.cwf2ilbp-...@intel.com Error/Warning: (recently discovered and may have been fixed) aarch64-linux-ld: kernel/bpf/verifier.c:20223:(.text+0xdbb4): undefined reference to `__SCK__perf_snapshot_branch_stack' aarch64-linux-ld: verifier.c:(.text+0x17c3c): undefined reference to `__SCK__perf_snapshot_branch_stack' drivers/i2c/busses/i2c-i801.c:1407:(.text+0x1d2ef4a): undefined reference to `i2c_root_adapter' kernel/bpf/verifier.c:20223:(.text+0xdba4): dangerous relocation: unsupported relocation loongarch64-linux-ld: kernel/bpf/verifier.c:20223:(.text+0xa818): undefined reference to `__SCK__perf_snapshot_branch_stack' loongarch64-linux-ld: verifier.c:(.text+0xa964): undefined reference to `__SCK__perf_snapshot_branch_stack' mips64el-linux-ld: verifier.c:(.text.do_misc_fixups+0xd9c): undefined reference to `__SCK__perf_snapshot_branch_stack' riscv32-linux-ld: section .data LMA [00369000,00907967] overlaps section .text LMA [0007899c,01a6a6af] s390-linux-ld: verifier.c:(.text+0x13038): undefined reference to `__SCK__perf_snapshot_branch_stack' verifier.c:(.text+0x17c14): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against undefined symbol `__SCK__perf_snapshot_branch_stack' verifier.c:(.text+0xa960): undefined reference to `__SCK__perf_snapshot_branch_stack' verifier.c:(.text+0xadd0): dangerous relocation: unsupported relocation verifier.c:(.text.do_misc_fixups+0xd98): undefined reference to `__SCK__perf_snapshot_branch_stack' Unverified Error/Warning (likely false positive, please contact us if interested): lib/alloc_tag.c:142 alloc_tag_init() warn: passing zero to 'PTR_ERR' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- alpha-randconfig-r123-20240405 | `-- kernel-bpf-verifier.c:sparse:sparse:cast-truncates-bits-from-constant-value-(fffc-becomes-) |-- arm-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- arm-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- arm-hisi_defconfig | |-- drm_dp_mst_topology.c:(.text):undefined-reference-to-__drm_atomic_helper_private_obj_duplicate_state | `-- drm_dp_mst_topology.c:(.text):undefined-reference-to-drm_kms_helper_hotplug_event |-- arm64-randconfig-c041-20221104 | |-- aarch64-linux-ld:kernel-bpf-verifier.c:(.text):undefined-reference-to-__SCK__perf_snapshot_branch_stack | `-- kernel-bpf-verifier.c:(.text):dangerous-relocation:unsupported-relocation |-- arm64-randconfig-r013-20230703 | |-- aarch64-linux-ld:verifier.c:(.text):undefined-reference-to-__SCK__perf_snapshot_branch_stack | `-- verifier.c:(.text):relocation-truncated-to-fit:R_AARCH64_ADR_PREL_PG_HI21-against-undefined-symbol-__SCK__perf_snapshot_branch_stack |-- arm64-randconfig-r032-20220702 | `-- verifier.c:(.text):dangerous-relocation:unsupported-relocation |-- csky-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- csky-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |-- loongarch-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | `-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size |--
[linux-next:master] BUILD REGRESSION 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd Add linux-next specific files for 20240404 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404041707.4bl4ifti-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404041832.tmsatkyb-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404042206.mjaqc32x-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404042327.jrpt81kp-...@intel.com Error/Warning: (recently discovered and may have been fixed) ERROR: modpost: "__aeabi_d2ulz" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! ERROR: modpost: "__aeabi_l2d" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! drivers/input/serio/parkbd.c:168:10: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/parkbd.c:168:10: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/parkbd.c:168:10: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration drivers/input/serio/ps2-gpio.c:408:10: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/ps2-gpio.c:408:10: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/ps2-gpio.c:408:10: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration drivers/input/serio/ps2mult.c:130:10: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/ps2mult.c:130:10: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/ps2mult.c:130:10: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration drivers/input/serio/serio_raw.c:95:11: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/serio_raw.c:95:11: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/input/serio/serio_raw.c:95:11: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration include/linux/mempool.h:105:9: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties include/linux/mempool.h:105:9: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties include/linux/mempool.h:105:9: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration include/linux/mempool.h:105:9: error: non-extern declaration of '_alloc_tag_cntr' follows extern declaration include/linux/mempool.h:105:9: error: weak declaration cannot have internal linkage ld.lld: error: undefined symbol: i2c_root_adapter powerpc64-linux-ld: warning: orphan section `.bss..Lubsan_data249' from `kernel/ptrace.o' being placed in section `.bss..Lubsan_data249' Unverified Error/Warning (likely false positive, please contact us if interested): include/linux/mm_types.h:1175:17: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties include/linux/mm_types.h:1175:17: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties include/linux/mm_types.h:1175:17: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration include/linux/mm_types.h:1175:17: error: non-extern declaration of '_alloc_tag_cntr' follows extern declaration include/linux/mm_types.h:1175:17: error: weak declaration cannot have internal linkage {standard input}:722: Warning: overflow in branch to .L153; converted into longer instruction sequence {standard input}:733: Warning: overflow in branch to .L155; converted into longer instruction sequence Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allnoconfig | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- alpha-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | |--
[linux-next:master] BUILD REGRESSION 727900b675b749c40ba1f6669c7ae5eb7eb8e837
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 727900b675b749c40ba1f6669c7ae5eb7eb8e837 Add linux-next specific files for 20240403 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404031246.aq5yr5ko-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404031346.wpihnpyf-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404032101.skzrxcwh-...@intel.com Error/Warning: (recently discovered and may have been fixed) fs/smb/client/file.c:728:12: warning: variable 'rc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] mm/kasan/hw_tags.c:280:14: warning: assignment to 'struct vm_struct *' from 'int' makes pointer from integer without a cast [-Wint-conversion] mm/kasan/hw_tags.c:280:16: error: implicit declaration of function 'find_vm_area'; did you mean 'find_vma_prev'? [-Werror=implicit-function-declaration] mm/kasan/hw_tags.c:284:29: error: invalid use of undefined type 'struct vm_struct' riscv32-linux-ld: section .data LMA [001f9000,009465d7] overlaps section .text LMA [000a7e84,0177d68b] Unverified Error/Warning (likely false positive, please contact us if interested): fs/smb/client/file.c:619 serverclose_work() error: uninitialized symbol 'rc'. fs/smb/client/file.c:732 _cifsFileInfo_put() error: uninitialized symbol 'rc'. Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allnoconfig | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- alpha-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- alpha-defconfig | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-allmodconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-allyesconfig | |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and | |-- drivers-gpu-drm-nouveau-nouveau_backlight.c:error:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-aspeed_g5_defconfig | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-randconfig-001-20240403 | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-randconfig-002-20240403 | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-randconfig-004-20240403 | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm-randconfig-r061-20240403 | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node |-- arm64-allnoconfig | |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node | `--
[linux-next:master] BUILD REGRESSION c0b832517f627ead3388c6f0c74e8ac10ad5774b
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: c0b832517f627ead3388c6f0c74e8ac10ad5774b Add linux-next specific files for 20240402 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202404021504.ytp51bl3-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404021556.0jvcnc13-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404021638.qkhbdq4e-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404021700.lbyyzgfd-...@intel.com https://lore.kernel.org/oe-kbuild-all/202404022106.mywpypit-...@intel.com Error/Warning: (recently discovered and may have been fixed) ERROR: modpost: "__drm_atomic_helper_private_obj_duplicate_state" [drivers/gpu/drm/display/drm_display_helper.ko] undefined! ERROR: modpost: "drm_kms_helper_hotplug_event" [drivers/gpu/drm/display/drm_display_helper.ko] undefined! arch/csky/include/asm/cmpxchg.h:138:25: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] arch/csky/include/asm/cmpxchg.h:141:25: error: implicit declaration of function 'cmpxchg_emu_u16' [-Werror=implicit-function-declaration] arch/riscv/include/asm/cmpxchg.h:329:23: warning: assignment to 'const struct gre_protocol *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] arch/riscv/include/asm/cmpxchg.h:329:23: warning: assignment to 'struct bdi_writeback *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] arch/riscv/include/asm/cmpxchg.h:329:23: warning: assignment to 'struct rtrs_clt_path *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] arch/riscv/include/asm/cmpxchg.h:329:23: warning: assignment to 'struct tty_struct *' from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] arch/riscv/include/asm/cmpxchg.h:329:23: warning: assignment to 'z_erofs_next_pcluster_t' {aka 'void *'} from 'uintptr_t' {aka 'long unsigned int'} makes pointer from integer without a cast [-Wint-conversion] cfi_probe.c:(.xiptext+0xdb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc_noprof cfi_util.c:(.xiptext+0x40b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc_noprof drivers/gpu/drm/display/drm_dp_mst_topology.c:5074:(.text+0x4da0): undefined reference to `drm_kms_helper_hotplug_event' drivers/gpu/drm/display/drm_dp_mst_topology.c:5088:(.text+0x40a8): undefined reference to `__drm_atomic_helper_private_obj_duplicate_state' drivers/gpu/drm/lima/lima_drv.c:387:13: error: cast to smaller integer type 'enum lima_gpu_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] drivers/gpu/drm/panthor/panthor_sched.c:2048:6: error: variable 'csg_mod_mask' set but not used [-Werror,-Wunused-but-set-variable] drivers/gpu/drm/pl111/pl111_versatile.c:488:24: error: cast to smaller integer type 'enum versatile_clcd' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable] drivers/gpu/drm/qxl/qxl_ioctl.c:148:14: error: variable 'num_relocs' set but not used [-Werror,-Wunused-but-set-variable] drivers/s390/char/hmcdrv_cache.c:221:13: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/s390/char/hmcdrv_cache.c:221:13: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/s390/char/hmcdrv_cache.c:221:13: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration drivers/s390/char/hmcdrv_ftp.c:196:21: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/s390/char/hmcdrv_ftp.c:196:21: error: 'section' attribute only applies to functions, global variables, Objective-C methods, and Objective-C properties drivers/s390/char/hmcdrv_ftp.c:196:21: error: non-extern declaration of '__pcpu_unique__alloc_tag_cntr' follows extern declaration drivers/s390/char/hmcdrv_ftp.c:196:21: error: non-extern declaration of '_alloc_tag_cntr' follows extern declaration drivers/s390/char/hmcdrv_ftp.c:196:21: error: weak declaration cannot have internal linkage drm_dp_helper.c:(.text+0x36e8): undefined reference to `devm_backlight_device_register' drm_dp_mst_topology.c:(.text+0x350c): undefined reference to `__drm_atomic_helper_private_obj_duplicate_state' drm_dp_mst_topology.c:(.text+0x3f00): undefined reference to `drm_kms_helper_hotplug_event' include/asm-generic/io.h:547:31: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] include/linux/alloc_tag.h:43:2: error: "Memory allocation profiling
Re: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val
Hi Paloma, kernel test robot noticed the following build errors: [auto build test ERROR on v6.8-rc1] [also build test ERROR on linus/master next-20240125] [cannot apply to drm-misc/drm-misc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paloma-Arellano/drm-msm-dpu-allow-dpu_encoder_helper_phys_setup_cdm-to-work-for-DP/20240126-034233 base: v6.8-rc1 patch link: https://lore.kernel.org/r/20240125193834.7065-11-quic_parellan%40quicinc.com patch subject: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val config: arm-defconfig (https://download.01.org/0day-ci/archive/20240128/202401282131.j7uuvg6p-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401282131.j7uuvg6p-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202401282131.j7uuvg6p-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/dp/dp_catalog.c:547:11: error: implicit declaration of >> function 'FIELD_GET' is invalid in C99 >> [-Werror,-Wimplicit-function-declaration] *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version); ^ drivers/gpu/drm/msm/dp/dp_catalog.c:27:34: note: expanded from macro 'DP_HW_VERSION_MAJOR' #define DP_HW_VERSION_MAJOR(reg)FIELD_GET(GENMASK(31, 28), reg) ^ 1 error generated. vim +/FIELD_GET +547 drivers/gpu/drm/msm/dp/dp_catalog.c 531 532 /** 533 * dp_catalog_hw_revision() - retrieve DP hw revision 534 * 535 * @dp_catalog: DP catalog structure 536 * 537 * Return: void 538 * 539 */ 540 void dp_catalog_hw_revision(const struct dp_catalog *dp_catalog, u16 *major, u16 *minor) 541 { 542 const struct dp_catalog_private *catalog = container_of(dp_catalog, 543 struct dp_catalog_private, dp_catalog); 544 u32 reg_dp_hw_version; 545 546 reg_dp_hw_version = dp_read_ahb(catalog, REG_DP_HW_VERSION); > 547 *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version); 548 *minor = DP_HW_VERSION_MINOR(reg_dp_hw_version); 549 } 550 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val
Hi Paloma, kernel test robot noticed the following build warnings: [auto build test WARNING on v6.8-rc1] [also build test WARNING on linus/master next-20240125] [cannot apply to drm-misc/drm-misc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paloma-Arellano/drm-msm-dpu-allow-dpu_encoder_helper_phys_setup_cdm-to-work-for-DP/20240126-034233 base: v6.8-rc1 patch link: https://lore.kernel.org/r/20240125193834.7065-11-quic_parellan%40quicinc.com patch subject: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240128/202401280752.amrdi7ox-...@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401280752.amrdi7ox-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202401280752.amrdi7ox-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/dp/dp_catalog.c:541: warning: Function parameter or >> struct member 'major' not described in 'dp_catalog_hw_revision' >> drivers/gpu/drm/msm/dp/dp_catalog.c:541: warning: Function parameter or >> struct member 'minor' not described in 'dp_catalog_hw_revision' vim +541 drivers/gpu/drm/msm/dp/dp_catalog.c c943b4948b5848 Chandan Uddaraju 2020-08-27 531 757a2f36ab095f Kuogee Hsieh 2022-02-25 532 /** 757a2f36ab095f Kuogee Hsieh 2022-02-25 533 * dp_catalog_hw_revision() - retrieve DP hw revision 757a2f36ab095f Kuogee Hsieh 2022-02-25 534 * 757a2f36ab095f Kuogee Hsieh 2022-02-25 535 * @dp_catalog: DP catalog structure 757a2f36ab095f Kuogee Hsieh 2022-02-25 536 * 5febc52d5716d6 Paloma Arellano 2024-01-25 537 * Return: void 757a2f36ab095f Kuogee Hsieh 2022-02-25 538 * 757a2f36ab095f Kuogee Hsieh 2022-02-25 539 */ 5febc52d5716d6 Paloma Arellano 2024-01-25 540 void dp_catalog_hw_revision(const struct dp_catalog *dp_catalog, u16 *major, u16 *minor) 757a2f36ab095f Kuogee Hsieh 2022-02-25 @541 { 757a2f36ab095f Kuogee Hsieh 2022-02-25 542 const struct dp_catalog_private *catalog = container_of(dp_catalog, 757a2f36ab095f Kuogee Hsieh 2022-02-25 543 struct dp_catalog_private, dp_catalog); 5febc52d5716d6 Paloma Arellano 2024-01-25 544 u32 reg_dp_hw_version; 757a2f36ab095f Kuogee Hsieh 2022-02-25 545 5febc52d5716d6 Paloma Arellano 2024-01-25 546 reg_dp_hw_version = dp_read_ahb(catalog, REG_DP_HW_VERSION); 5febc52d5716d6 Paloma Arellano 2024-01-25 547 *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version); 5febc52d5716d6 Paloma Arellano 2024-01-25 548 *minor = DP_HW_VERSION_MINOR(reg_dp_hw_version); 757a2f36ab095f Kuogee Hsieh 2022-02-25 549 } 757a2f36ab095f Kuogee Hsieh 2022-02-25 550 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
[linux-next:master] BUILD REGRESSION 943b9f0ab2cfbaea148dd6ac279957eb08b96904
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 943b9f0ab2cfbaea148dd6ac279957eb08b96904 Add linux-next specific files for 20240117 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202401172119.fc2ic3l9-...@intel.com https://lore.kernel.org/oe-kbuild-all/202401172139.xsfsnhrj-...@intel.com Error/Warning: (recently discovered and may have been fixed) drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c:100: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst fs/bcachefs/btree_write_buffer.c:128:24: warning: unused variable 'c' [-Wunused-variable] Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-allmodconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arm-allmodconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arm-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arm-randconfig-002-20240117 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |--
[linux-next:master] BUILD REGRESSION 8d04a7e2ee3fd6aabb8096b00c64db0d735bc874
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 8d04a7e2ee3fd6aabb8096b00c64db0d735bc874 Add linux-next specific files for 20240112 Error/Warning: (recently discovered and may have been fixed) WARNING: modpost: vmlinux: section mismatch in reference: size_mul+0x40 (section: .text.unlikely) -> initcall_level_names (section: .init.data) Unverified Error/Warning (likely false positive, please contact us if interested): (.exception.text+0x25b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead WARNING: modpost: vmlinux: section mismatch in reference: vmap_block_vaddr.part.0+0x28 (section: .text.unlikely) -> initcall_level_names (section: .init.data) Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-allmodconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-randconfig-001-20240112 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-randconfig-r132-20240113 | |-- drivers-usb-gadget-function-f_ncm.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-short-usertype-max_segment_size-got-restricted-__le16-usertype | |-- fs-bcachefs-btree_iter.c:sparse:sparse:incompatible-types-in-comparison-expression-(different-address-spaces): | `-- fs-bcachefs-btree_locking.c:sparse:sparse:incompatible-types-in-comparison-expression-(different-address-spaces): |-- arm-allmodconfig | |-- WARNING:modpost:vmlinux:section-mismatch-in-reference:vmap_init_free_space-(section:.text.unlikely)-vmlist-(section:.init.data) | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arm-allyesconfig | |--
[linux-next:master] BUILD REGRESSION 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8 Add linux-next specific files for 20240109 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202401101414.8gvbgmxw-...@intel.com Error/Warning: (recently discovered and may have been fixed) drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:(.text+0x2cc): undefined reference to `phylink_ethtool_nway_reset' drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:202:(.text+0x2f0): undefined reference to `phylink_ethtool_ksettings_get' drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:211:(.text+0x318): undefined reference to `phylink_ethtool_ksettings_set' tools/testing/selftests/net/tcp_ao/bench-lookups.c:202: undefined reference to `sqrt' Unverified Error/Warning (likely false positive, please contact us if interested): arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (120b92 becomes b92) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1a069a becomes 69a) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b001b becomes 1b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b009b becomes 9b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b011b becomes 11b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b039b becomes 39b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b049b becomes 49b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b051b becomes 51b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (1b059b becomes 59b) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (80a08 becomes a08) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (80d08 becomes d08) arch/x86/kvm/vmx/hyperv_evmcs.h:133:30: sparse: sparse: cast truncates bits from constant value (b000b becomes b) drivers/usb/gadget/function/f_ncm.c:1688:32: sparse: sparse: incorrect type in assignment (different base types) {standard input}:50469: Warning: overflow in branch to .L4505; converted into longer instruction sequence Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-allmodconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-randconfig-001-20240109 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |--
[linux-next:master] BUILD REGRESSION e2425464bc87159274879ab30f9d4fe624b9fcd2
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: e2425464bc87159274879ab30f9d4fe624b9fcd2 Add linux-next specific files for 20240105 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202401061458.1ympozgi-...@intel.com Error/Warning: (recently discovered and may have been fixed) Warning: /sys/devices/.../hwmon/hwmon/curr1_crit is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:35 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:52 Warning: /sys/devices/.../hwmon/hwmon/energy1_input is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:54 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:65 Warning: /sys/devices/.../hwmon/hwmon/in0_input is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:46 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:0 Warning: /sys/devices/.../hwmon/hwmon/power1_crit is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:22 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:39 Warning: /sys/devices/.../hwmon/hwmon/power1_max is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:0 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:8 Warning: /sys/devices/.../hwmon/hwmon/power1_max_interval is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:62 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:30 Warning: /sys/devices/.../hwmon/hwmon/power1_rated_max is defined 2 times: Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon:14 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon:22 Unverified Error/Warning (likely false positive, please contact us if interested): drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6147:9-13: ERROR: invalid reference to the index variable of the iterator on line 6138 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6357:1-7: preceding lock on line 6318 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:575:9-32: duplicated argument to & or | {standard input}:20841: Warning: overflow in branch to .L4773; converted into longer instruction sequence {standard input}:52226: Warning: overflow in branch to .L4679; converted into longer instruction sequence {standard input}:54153: Warning: overflow in branch to .L4936; converted into longer instruction sequence {standard input}:5891: Warning: overflow in branch to .L1414; converted into longer instruction sequence Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- arm-randconfig-r062-20240105 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arm64-randconfig-r053-20240104 | |-- drivers-net-ethernet-marvell-octeontx2-af-rvu_nix.c:ERROR:invalid-reference-to-the-index-variable-of-the-iterator-on-line | |-- drivers-net-ethernet-marvell-octeontx2-af-rvu_nix.c:preceding-lock-on-line | `-- drivers-net-ethernet-marvell-octeontx2-af-rvu_npc_fs.c:duplicated-argument-to-or |-- i386-randconfig-012-20240105 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- i386-randconfig-016-20240105 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- m68k-randconfig-r113-20240105 | |-- WARNING:modpost:missing-MODULE_DESCRIPTION()-in-drivers-base-regmap-regmap-mmio.o | `--
[linux-next:master] BUILD REGRESSION d0b3c8aa5e37775cd7c3ac07b256218df0fd6678
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: d0b3c8aa5e37775cd7c3ac07b256218df0fd6678 Add linux-next specific files for 20240104 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202401041942.qrb1amzm-...@intel.com Error/Warning: (recently discovered and may have been fixed) tools/testing/selftests/net/tcp_ao/bench-lookups.c:202: undefined reference to `sqrt' Unverified Error/Warning (likely false positive, please contact us if interested): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9280 amdgpu_dm_atomic_commit_tail() error: we previously assumed 'acrtc' could be null (see line 9277) drivers/media/i2c/st-mipid02.c:396:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_s64 instead. drivers/net/ethernet/broadcom/bnxt/bnxt.c:5333:6-25: WARNING: atomic_dec_and_test variation before object free at line 5336. drivers/net/ethernet/marvell/octeon_ep/octep_pfvf_mbox.c:32:16-17: WARNING opportunity for min() drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:575:9-32: duplicated argument to & or | {standard input}:18305: Warning: overflow in branch to .L4391; converted into longer instruction sequence {standard input}:20816: Warning: overflow in branch to .L4982; converted into longer instruction sequence {standard input}:21171: Warning: overflow in branch to .L4853; converted into longer instruction sequence {standard input}:27179: Warning: overflow in branch to .L4887; converted into longer instruction sequence Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-allmodconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-allyesconfig | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_encoder.c:warning:Excess-struct-member-debugfs_root-description-in-dpu_encoder_virt |-- arc-randconfig-002-20240104 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | `-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-sw_desc-not-described-in-xdma_fill_descs |-- arc-randconfig-r133-20240104 | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-dst_addr-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-filled_descs_num-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-size-not-described-in-xdma_fill_descs | |-- drivers-dma-xilinx-xdma.c:warning:Function-parameter-or-struct-member-src_addr-not-described-in-xdma_fill_descs | |--
Re: [PATCH v2 12/16] drm/msm/dpu: add an API to setup the CDM block for writeback
Hi Abhinav, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231207] [also build test WARNING on v6.7-rc4] [cannot apply to drm-misc/drm-misc-next linus/master v6.7-rc4 v6.7-rc3 v6.7-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Abhinav-Kumar/drm-msm-dpu-add-formats-check-for-writeback-encoder/20231208-130820 base: next-20231207 patch link: https://lore.kernel.org/r/20231208050641.32582-13-quic_abhinavk%40quicinc.com patch subject: [PATCH v2 12/16] drm/msm/dpu: add an API to setup the CDM block for writeback config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231210/202312102149.qmbcdsg2-...@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312102149.qmbcdsg2-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312102149.qmbcdsg2-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:267: warning: expecting >> prototype for dpu_encoder_phys_wb_setup_cdp(). Prototype was for >> dpu_encoder_helper_phys_setup_cdm() instead vim +267 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c 261 262 /** 263 * dpu_encoder_phys_wb_setup_cdp - setup chroma down sampling block 264 * @phys_enc:Pointer to physical encoder 265 */ 266 static void dpu_encoder_helper_phys_setup_cdm(struct dpu_encoder_phys *phys_enc) > 267 { 268 struct dpu_hw_cdm *hw_cdm; 269 struct dpu_hw_cdm_cfg *cdm_cfg; 270 struct dpu_hw_pingpong *hw_pp; 271 struct dpu_encoder_phys_wb *wb_enc; 272 const struct msm_format *format; 273 const struct dpu_format *dpu_fmt; 274 struct drm_writeback_job *wb_job; 275 int ret; 276 277 if (!phys_enc) 278 return; 279 280 wb_enc = to_dpu_encoder_phys_wb(phys_enc); 281 cdm_cfg = _enc->cdm_cfg; 282 hw_pp = phys_enc->hw_pp; 283 hw_cdm = phys_enc->hw_cdm; 284 wb_job = wb_enc->wb_job; 285 286 format = msm_framebuffer_format(wb_enc->wb_job->fb); 287 dpu_fmt = dpu_get_dpu_format_ext(format->pixel_format, wb_job->fb->modifier); 288 289 if (!hw_cdm) 290 return; 291 292 if (!DPU_FORMAT_IS_YUV(dpu_fmt)) { 293 DPU_DEBUG("[enc:%d] cdm_disable fmt:%x\n", DRMID(phys_enc->parent), 294dpu_fmt->base.pixel_format); 295 if (hw_cdm->ops.disable) 296 hw_cdm->ops.disable(hw_cdm); 297 298 return; 299 } 300 301 memset(cdm_cfg, 0, sizeof(struct dpu_hw_cdm_cfg)); 302 303 cdm_cfg->output_width = wb_job->fb->width; 304 cdm_cfg->output_height = wb_job->fb->height; 305 cdm_cfg->output_fmt = dpu_fmt; 306 cdm_cfg->output_type = CDM_CDWN_OUTPUT_WB; 307 cdm_cfg->output_bit_depth = DPU_FORMAT_IS_DX(dpu_fmt) ? 308 CDM_CDWN_OUTPUT_10BIT : CDM_CDWN_OUTPUT_8BIT; 309 cdm_cfg->csc_cfg = dpu_hw_get_csc_cfg(DPU_HW_RGB2YUV_601L_10BIT); 310 if (!cdm_cfg->csc_cfg) { 311 DPU_ERROR("valid csc not found\n"); 312 return; 313 } 314 315 /* enable 10 bit logic */ 316 switch (cdm_cfg->output_fmt->chroma_sample) { 317 case DPU_CHROMA_RGB: 318 cdm_cfg->h_cdwn_type = CDM_CDWN_DISABLE; 319 cdm_cfg->v_cdwn_type = CDM_CDWN_DISABLE; 320 break; 321 case DPU_CHROMA_H2V1: 322 cdm_cfg->h_cdwn_type = CDM_CDWN_COSITE; 323 cdm_cfg->v_cdwn_type = CDM_CDWN_DISABLE; 324 break; 325 case DPU_CHROMA_420: 326 cdm_cfg->h_cdwn_type = CDM_CDWN_COSITE; 327 cdm_cfg->v_cdwn_type = CDM_CDWN_OFFSITE; 328 break; 329 case DPU_CHROMA_H1V2: 330 default: 331 DPU_ERROR("[enc:%d] unsupported chroma sampling type\n", 332
Re: [PATCH v2 10/16] drm/msm/dpu: add CDM related logic to dpu_hw_ctl layer
Hi Abhinav, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231207] [also build test WARNING on v6.7-rc4] [cannot apply to drm-misc/drm-misc-next linus/master v6.7-rc4 v6.7-rc3 v6.7-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Abhinav-Kumar/drm-msm-dpu-add-formats-check-for-writeback-encoder/20231208-130820 base: next-20231207 patch link: https://lore.kernel.org/r/20231208050641.32582-11-quic_abhinavk%40quicinc.com patch subject: [PATCH v2 10/16] drm/msm/dpu: add CDM related logic to dpu_hw_ctl layer config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231210/202312102047.s0i69pcs-...@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312102047.s0i69pcs-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312102047.s0i69pcs-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:537:6: warning: variable >> 'cdm_active' set but not used [-Wunused-but-set-variable] u32 cdm_active = 0; ^ 1 warning generated. vim +/cdm_active +537 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 528 529 530 static void dpu_hw_ctl_intf_cfg_v1(struct dpu_hw_ctl *ctx, 531 struct dpu_hw_intf_cfg *cfg) 532 { 533 struct dpu_hw_blk_reg_map *c = >hw; 534 u32 intf_active = 0; 535 u32 wb_active = 0; 536 u32 mode_sel = 0; > 537 u32 cdm_active = 0; 538 539 /* CTL_TOP[31:28] carries group_id to collate CTL paths 540 * per VM. Explicitly disable it until VM support is 541 * added in SW. Power on reset value is not disable. 542 */ 543 if ((test_bit(DPU_CTL_VM_CFG, >caps->features))) 544 mode_sel = CTL_DEFAULT_GROUP_ID << 28; 545 546 if (cfg->intf_mode_sel == DPU_CTL_MODE_SEL_CMD) 547 mode_sel |= BIT(17); 548 549 intf_active = DPU_REG_READ(c, CTL_INTF_ACTIVE); 550 wb_active = DPU_REG_READ(c, CTL_WB_ACTIVE); 551 cdm_active = DPU_REG_READ(c, CTL_CDM_ACTIVE); 552 553 if (cfg->intf) 554 intf_active |= BIT(cfg->intf - INTF_0); 555 556 if (cfg->wb) 557 wb_active |= BIT(cfg->wb - WB_0); 558 559 DPU_REG_WRITE(c, CTL_TOP, mode_sel); 560 DPU_REG_WRITE(c, CTL_INTF_ACTIVE, intf_active); 561 DPU_REG_WRITE(c, CTL_WB_ACTIVE, wb_active); 562 563 if (cfg->merge_3d) 564 DPU_REG_WRITE(c, CTL_MERGE_3D_ACTIVE, 565BIT(cfg->merge_3d - MERGE_3D_0)); 566 567 if (cfg->dsc) 568 DPU_REG_WRITE(c, CTL_DSC_ACTIVE, cfg->dsc); 569 570 if (cfg->cdm) 571 DPU_REG_WRITE(c, CTL_CDM_ACTIVE, cfg->cdm); 572 } 573 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH v2 07/16] drm/msm/dpu: add dpu_hw_cdm abstraction for CDM block
Hi Abhinav, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231207] [also build test WARNING on v6.7-rc4] [cannot apply to drm-misc/drm-misc-next linus/master v6.7-rc4 v6.7-rc3 v6.7-rc2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Abhinav-Kumar/drm-msm-dpu-add-formats-check-for-writeback-encoder/20231208-130820 base: next-20231207 patch link: https://lore.kernel.org/r/20231208050641.32582-8-quic_abhinavk%40quicinc.com patch subject: [PATCH v2 07/16] drm/msm/dpu: add dpu_hw_cdm abstraction for CDM block config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231210/202312101815.b3zh7pfy-...@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312101815.b3zh7pfy-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312101815.b3zh7pfy-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:193:5: warning: no previous >> prototype for function 'dpu_hw_cdm_enable' [-Wmissing-prototypes] int dpu_hw_cdm_enable(struct dpu_hw_cdm *ctx, struct dpu_hw_cdm_cfg *cdm) ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:193:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dpu_hw_cdm_enable(struct dpu_hw_cdm *ctx, struct dpu_hw_cdm_cfg *cdm) ^ static >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:230:6: warning: no previous >> prototype for function 'dpu_hw_cdm_disable' [-Wmissing-prototypes] void dpu_hw_cdm_disable(struct dpu_hw_cdm *ctx) ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:230:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void dpu_hw_cdm_disable(struct dpu_hw_cdm *ctx) ^ static 2 warnings generated. -- >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:59: warning: This comment starts >> with '/**', but isn't a kernel-doc comment. Refer >> Documentation/doc-guide/kernel-doc.rst * Horizontal coefficients for cosite chroma downscale drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:65: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Horizontal coefficients for offsite chroma downscale drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:70: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Vertical coefficients for cosite chroma downscale drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c:74: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Vertical coefficients for offsite chroma downscale vim +/dpu_hw_cdm_enable +193 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c 57 58 /** > 59 * Horizontal coefficients for cosite chroma downscale 60 * s13 representation of coefficients 61 */ 62 static u32 cosite_h_coeff[] = {0x0016, 0x01cc, 0x019e}; 63 64 /** 65 * Horizontal coefficients for offsite chroma downscale 66 */ 67 static u32 offsite_h_coeff[] = {0x000b0005, 0x01db01eb, 0x00e40046}; 68 69 /** 70 * Vertical coefficients for cosite chroma downscale 71 */ 72 static u32 cosite_v_coeff[] = {0x00080004}; 73 /** 74 * Vertical coefficients for offsite chroma downscale 75 */ 76 static u32 offsite_v_coeff[] = {0x00060002}; 77 78 static int dpu_hw_cdm_setup_cdwn(struct dpu_hw_cdm *ctx, struct dpu_hw_cdm_cfg *cfg) 79 { 80 struct dpu_hw_blk_reg_map *c = >hw; 81 u32 opmode = 0; 82 u32 out_size = 0; 83 84 if (cfg->output_bit_depth == CDM_CDWN_OUTPUT_10BIT) 85 opmode &= ~CDM_CDWN2_OP_MODE_BITS_OUT_8BIT; 86 else 87 opmode |= CDM_CDWN2_OP_MODE_BITS_OUT_8BIT; 88 89 /* ENABLE DWNS_H bit */ 90 opmode |= CDM_CDWN2_OP_MODE_ENABLE_H; 91 92 switch (cfg->h_cdwn_type) { 93 case CDM_CDWN_DISABLE: 94 /* CLEAR METHOD_H field */ 95 opmode &= ~CDM_CDWN2_H_PIXEL_DROP_MASK; 96 /* CLEAR DWNS_H bit */ 97 opmode &= ~CDM_CDWN2_OP_MODE_ENABLE_H;
Re: [Freedreno] [RFT PATCH v2 2/4] drm/msm/dpu: enable writeback on SC8108X
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 '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dpu-enable-writeback-on-SM8150/20231203-083350 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231203003203.1293087-3-dmitry.baryshkov%40linaro.org patch subject: [RFT PATCH v2 2/4] drm/msm/dpu: enable writeback on SC8108X config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20231206/202312060251.ulwzdd4v-...@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060251.ulwzdd4v-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312060251.ulwzdd4v-...@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:658: drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h:299:15: error: use of undeclared identifier 'WB_SDM845_MASK' 299 | .features = WB_SDM845_MASK, | ^ drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h:404:14: error: invalid application of 'sizeof' to an incomplete type 'const struct dpu_wb_cfg[]' 404 | .wb_count = ARRAY_SIZE(sm8150_wb), | ^ include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) |^ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:659: >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h:306:15: error: use >> of undeclared identifier 'WB_SDM845_MASK' 306 | .features = WB_SDM845_MASK, | ^ >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h:429:14: error: >> invalid application of 'sizeof' to an incomplete type 'const struct >> dpu_wb_cfg[]' 429 | .wb_count = ARRAY_SIZE(sc8180x_wb), | ^~ include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) |^ 4 errors generated. vim +/WB_SDM845_MASK +306 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h 301 302 static const struct dpu_wb_cfg sc8180x_wb[] = { 303 { 304 .name = "wb_2", .id = WB_2, 305 .base = 0x65000, .len = 0x2c8, > 306 .features = WB_SDM845_MASK, 307 .format_list = wb2_formats, 308 .num_formats = ARRAY_SIZE(wb2_formats), 309 .clk_ctrl = DPU_CLK_CTRL_WB2, 310 .xin_id = 6, 311 .vbif_idx = VBIF_RT, 312 .maxlinewidth = 4096, 313 .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 4), 314 }, 315 }; 316 317 static const struct dpu_intf_cfg sc8180x_intf[] = { 318 { 319 .name = "intf_0", .id = INTF_0, 320 .base = 0x6a000, .len = 0x280, 321 .features = INTF_SC7180_MASK, 322 .type = INTF_DP, 323 .controller_id = MSM_DP_CONTROLLER_0, 324 .prog_fetch_lines_worst_case = 24, 325 .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24), 326 .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25), 327 }, { 328 .name = "intf_1", .id = INTF_1, 329 .base = 0x6a800, .len = 0x2bc, 330 .features = INTF_SC7180_MASK, 331 .type = INTF_DSI, 332 .controller_id = MSM_DSI_CONTROLLER_0, 333 .prog_fetch_lines_worst_case = 24, 334 .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), 335 .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), 336 .intr_tear_rd_ptr = DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2), 337 }, { 338 .n
Re: [Freedreno] [RFT PATCH v2 1/4] drm/msm/dpu: enable writeback on SM8150
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 '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dpu-enable-writeback-on-SM8150/20231203-083350 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231203003203.1293087-2-dmitry.baryshkov%40linaro.org patch subject: [RFT PATCH v2 1/4] drm/msm/dpu: enable writeback on SM8150 config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20231205/202312052138.qmyi7bxs-...@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312052138.qmyi7bxs-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312052138.qmyi7bxs-...@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:658: >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h:299:15: error: use of >> undeclared identifier 'WB_SDM845_MASK' 299 | .features = WB_SDM845_MASK, | ^ >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h:404:14: error: >> invalid application of 'sizeof' to an incomplete type 'const struct >> dpu_wb_cfg[]' 404 | .wb_count = ARRAY_SIZE(sm8150_wb), | ^ include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) |^ 2 errors generated. vim +/WB_SDM845_MASK +299 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h 294 295 static const struct dpu_wb_cfg sm8150_wb[] = { 296 { 297 .name = "wb_2", .id = WB_2, 298 .base = 0x65000, .len = 0x2c8, > 299 .features = WB_SDM845_MASK, 300 .format_list = wb2_formats, 301 .num_formats = ARRAY_SIZE(wb2_formats), 302 .clk_ctrl = DPU_CLK_CTRL_WB2, 303 .xin_id = 6, 304 .vbif_idx = VBIF_RT, 305 .maxlinewidth = 4096, 306 .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 4), 307 }, 308 }; 309 310 static const struct dpu_intf_cfg sm8150_intf[] = { 311 { 312 .name = "intf_0", .id = INTF_0, 313 .base = 0x6a000, .len = 0x280, 314 .features = INTF_SC7180_MASK, 315 .type = INTF_DP, 316 .controller_id = MSM_DP_CONTROLLER_0, 317 .prog_fetch_lines_worst_case = 24, 318 .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 24), 319 .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 25), 320 }, { 321 .name = "intf_1", .id = INTF_1, 322 .base = 0x6a800, .len = 0x2bc, 323 .features = INTF_SC7180_MASK, 324 .type = INTF_DSI, 325 .controller_id = MSM_DSI_CONTROLLER_0, 326 .prog_fetch_lines_worst_case = 24, 327 .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 26), 328 .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 27), 329 .intr_tear_rd_ptr = DPU_IRQ_IDX(MDP_INTF1_TEAR_INTR, 2), 330 }, { 331 .name = "intf_2", .id = INTF_2, 332 .base = 0x6b000, .len = 0x2bc, 333 .features = INTF_SC7180_MASK, 334 .type = INTF_DSI, 335 .controller_id = MSM_DSI_CONTROLLER_1, 336 .prog_fetch_lines_worst_case = 24, 337 .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 28), 338 .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 29), 339 .intr_tear_rd_ptr = DPU_IRQ_IDX(MDP_INTF2_TEAR_INTR, 2), 340 }, { 341 .name = "intf_3", .id = INTF_3, 342 .base = 0x6b800, .len = 0x280, 343 .features = INTF_SC7180_MASK, 344
Re: [Freedreno] [RFT PATCH v2 1/4] drm/msm/dpu: enable writeback on SM8150
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 '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dpu-enable-writeback-on-SM8150/20231203-083350 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231203003203.1293087-2-dmitry.baryshkov%40linaro.org patch subject: [RFT PATCH v2 1/4] drm/msm/dpu: enable writeback on SM8150 config: i386-buildonly-randconfig-001-20231203 (https://download.01.org/0day-ci/archive/20231205/202312051918.xcpf4xi6-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051918.xcpf4xi6-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312051918.xcpf4xi6-...@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:658: >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h:299:29: error: >> 'WB_SDM845_MASK' undeclared here (not in a function); did you mean >> 'WB_SM8250_MASK'? 299 | .features = WB_SDM845_MASK, | ^~ | WB_SM8250_MASK vim +299 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h 294 295 static const struct dpu_wb_cfg sm8150_wb[] = { 296 { 297 .name = "wb_2", .id = WB_2, 298 .base = 0x65000, .len = 0x2c8, > 299 .features = WB_SDM845_MASK, 300 .format_list = wb2_formats, 301 .num_formats = ARRAY_SIZE(wb2_formats), 302 .clk_ctrl = DPU_CLK_CTRL_WB2, 303 .xin_id = 6, 304 .vbif_idx = VBIF_RT, 305 .maxlinewidth = 4096, 306 .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 4), 307 }, 308 }; 309 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state
Hi Dmitry, 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 to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-atomic-helper-rename-drm_atomic_helper_check_wb_encoder_state/20231205-103552 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231205023150.1581875-2-dmitry.baryshkov%40linaro.org patch subject: [PATCH v2 1/2] drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state config: i386-buildonly-randconfig-003-20231205 (https://download.01.org/0day-ci/archive/20231205/202312051810.e0qczpby-...@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/202312051810.e0qczpby-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312051810.e0qczpby-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_atomic_helper.c:811: warning: Function parameter or >> member 'wb_conn' not described in >> 'drm_atomic_helper_check_wb_connector_state' >> drivers/gpu/drm/drm_atomic_helper.c:811: warning: Excess function parameter >> 'connector' description in 'drm_atomic_helper_check_wb_connector_state' vim +811 drivers/gpu/drm/drm_atomic_helper.c 623369e533e8a5 Daniel Vetter2014-09-16 796 254fe9c106ed69 Igor Torrente2022-09-05 797 /** d538670e1a27f5 Dmitry Baryshkov 2023-12-05 798 * drm_atomic_helper_check_wb_connector_state() - Check writeback connector state d538670e1a27f5 Dmitry Baryshkov 2023-12-05 799 * @connector: corresponding connector d538670e1a27f5 Dmitry Baryshkov 2023-12-05 800 * @state: the driver state object 254fe9c106ed69 Igor Torrente2022-09-05 801 * 254fe9c106ed69 Igor Torrente2022-09-05 802 * Checks if the writeback connector state is valid, and returns an error if it 254fe9c106ed69 Igor Torrente2022-09-05 803 * isn't. 254fe9c106ed69 Igor Torrente2022-09-05 804 * 254fe9c106ed69 Igor Torrente2022-09-05 805 * RETURNS: 254fe9c106ed69 Igor Torrente2022-09-05 806 * Zero for success or -errno 254fe9c106ed69 Igor Torrente2022-09-05 807 */ 254fe9c106ed69 Igor Torrente2022-09-05 808 int d538670e1a27f5 Dmitry Baryshkov 2023-12-05 809 drm_atomic_helper_check_wb_connector_state(struct drm_writeback_connector *wb_conn, d538670e1a27f5 Dmitry Baryshkov 2023-12-05 810 struct drm_atomic_state *state) 254fe9c106ed69 Igor Torrente2022-09-05 @811 { d538670e1a27f5 Dmitry Baryshkov 2023-12-05 812 struct drm_connector_state *conn_state = d538670e1a27f5 Dmitry Baryshkov 2023-12-05 813 drm_atomic_get_new_connector_state(state, _conn->base); 254fe9c106ed69 Igor Torrente2022-09-05 814 struct drm_writeback_job *wb_job = conn_state->writeback_job; 254fe9c106ed69 Igor Torrente2022-09-05 815 struct drm_property_blob *pixel_format_blob; 254fe9c106ed69 Igor Torrente2022-09-05 816 struct drm_framebuffer *fb; 254fe9c106ed69 Igor Torrente2022-09-05 817 size_t i, nformats; 254fe9c106ed69 Igor Torrente2022-09-05 818 u32 *formats; 254fe9c106ed69 Igor Torrente2022-09-05 819 254fe9c106ed69 Igor Torrente2022-09-05 820 if (!wb_job || !wb_job->fb) 254fe9c106ed69 Igor Torrente2022-09-05 821 return 0; 254fe9c106ed69 Igor Torrente2022-09-05 822 254fe9c106ed69 Igor Torrente2022-09-05 823 pixel_format_blob = wb_job->connector->pixel_formats_blob_ptr; 254fe9c106ed69 Igor Torrente2022-09-05 824 nformats = pixel_format_blob->length / sizeof(u32); 254fe9c106ed69 Igor Torrente2022-09-05 825 formats = pixel_format_blob->data; 254fe9c106ed69 Igor Torrente2022-09-05 826 fb = wb_job->fb; 254fe9c106ed69 Igor Torrente2022-09-05 827 254fe9c106ed69 Igor Torrente2022-09-05 828 for (i = 0; i < nformats; i++) 254fe9c106ed69 Igor Torrente2022-09-05 829 if (fb->format->format == formats[i]) 254fe9c106ed69 Igor Torrente2022-09-05 830 return 0; 254fe9c106ed69 Igor Torrente2022-09-05 831 d538670e1a27f5 Dmitry Baryshkov 2023-12-05 832 drm_dbg_kms(wb_conn->base.dev, "Invalid pixel format %p4cc\n", >format->format); 254fe9c106ed69 Igor Torr
Re: [Freedreno] [PATCH v2] drm/msm/dpu: Capture dpu snapshot when frame_done_timer timeouts
Hi Paloma, 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-rc3 next-20231130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paloma-Arellano/drm-msm-dpu-Capture-dpu-snapshot-when-frame_done_timer-timeouts/20231130-055033 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231129184159.24216-1-quic_parellan%40quicinc.com patch subject: [PATCH v2] drm/msm/dpu: Capture dpu snapshot when frame_done_timer timeouts config: arm-defconfig (https://download.01.org/0day-ci/archive/20231201/202312010225.2ojwlkma-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231201/202312010225.2ojwlkma-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312010225.2ojwlkma-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:211: warning: Function parameter >> or member 'frame_done_timeout_cnt' not described in 'dpu_encoder_virt' vim +211 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 114 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 115 /** 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 116 * struct dpu_encoder_virt - virtual encoder. Container of one or more physical 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 117 *encoders. Virtual encoder manages one "logical" display. Physical 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 118 *encoders manage one intf block, tied to a specific panel/sub-panel. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 119 *Virtual encoder defers as much as possible to the physical encoders. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 120 *Virtual encoder registers itself with the DRM Framework as the encoder. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 121 * @base: drm_encoder base class for registration with DRM 585b3f9472eea8 Sean Paul 2018-11-16 122 * @enc_spinlock: Virtual-Encoder-Wide Spin Lock for IRQ purposes fba7427eb59496 Sean Paul 2018-11-16 123 * @enabled: True if the encoder is active, protected by enc_lock 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 124 * @num_phys_encs:Actual number of physical encoders contained. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 125 * @phys_encs: Container of physical encoders managed. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 126 * @cur_master: Pointer to the current master in this mode. Optimization 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 127 *Only valid after enable. Cleared as disable. cca5ff947c7c6e Lee Jones 2020-11-23 128 * @cur_slave: As above but for the slave encoder. cca5ff947c7c6e Lee Jones 2020-11-23 129 * @hw_pp:Handle to the pingpong blocks used for the display. No. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 130 * pingpong blocks can be different than num_phys_encs. 58dca981074948 Vinod Koul2022-04-06 131 * @hw_dsc: Handle to the DSC blocks used for the display. 58dca981074948 Vinod Koul2022-04-06 132 * @dsc_mask: Bitmask of used DSC blocks. cca5ff947c7c6e Lee Jones 2020-11-23 133 * @intfs_swapped:Whether or not the phys_enc interfaces have been swapped 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 134 *for partial update right-only cases, such as pingpong 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 135 *split where virtual pingpong does not generate IRQs e4914867ac99ca Sean Paul 2018-11-16 136 * @crtc: Pointer to the currently assigned crtc. Normally you e4914867ac99ca Sean Paul 2018-11-16 137 *would use crtc->state->encoder_mask to determine the e4914867ac99ca Sean Paul 2018-11-16 138 *link between encoder/crtc. However in this case we need e4914867ac99ca Sean Paul 2018-11-16 139 *to track crtc in the disable() hook which is called e4914867ac99ca Sean Paul 2018-11-16 140 *_after_ encoder_mask is cleared. 6b6921e5537d0f Dmitry Baryshkov 2022-02-17 141 * @connector: If a mode is set, cach
Re: [Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation
Hi Kuogee, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.7-rc3 next-20231130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dpu-improve-DSC-allocation/20231130-064646 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1701289898-12235-1-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1] drm/msm/dpu: improve DSC allocation config: arm-defconfig (https://download.01.org/0day-ci/archive/20231130/202311302343.3lxkklxr-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311302343.3lxkklxr-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311302343.3lxkklxr-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:537:24: warning: incompatible pointer >> to integer conversion assigning to 'uint32_t' (aka 'unsigned int') from >> 'void *' [-Wint-conversion] pp_to_enc_id[pp_idx] = NULL; ^ 1 warning generated. vim +537 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 463 464 static int _dpu_rm_reserve_dsc(struct dpu_rm *rm, 465 struct dpu_global_state *global_state, 466 struct drm_encoder *enc, 467 const struct msm_display_topology *top) 468 { 469 int num_dsc = 0; 470 int i, pp_idx; 471 bool pair = false; 472 int dsc_idx[DSC_MAX - DSC_0]; 473 uint32_t pp_to_enc_id[PINGPONG_MAX - PINGPONG_0]; 474 int pp_max = PINGPONG_MAX - PINGPONG_0; 475 476 if (!top->num_dsc || !top->num_intf) 477 return 0; 478 479 /* 480 * Truth: 481 * 1) every layer mixer only connects to one pingpong 482 * 2) no pingpong split -- two layer mixers shared one pingpong 483 * 3) each DSC engine contains two dsc encoders 484 *-- index(0,1), index (2,3),... etc 485 * 4) dsc pair can only happens with same DSC engine except 4 dsc 486 *merge mode application (8k) which need two DSC engines 487 * 5) odd pingpong connect to odd dsc 488 * 6) even pingpong connect even dsc 489 */ 490 491 /* num_dsc should be either 1, 2 or 4 */ 492 if (top->num_dsc > top->num_intf) /* merge mode */ 493 pair = true; 494 495 /* fill working copy with pingpong list */ 496 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, sizeof(pp_to_enc_id)); 497 498 for (i = 0; i < ARRAY_SIZE(rm->dsc_blks); i++) { 499 if (!rm->dsc_blks[i]) /* end of dsc list */ 500 break; 501 502 if (global_state->dsc_to_enc_id[i]) { /* used */ 503 /* consective dsc index to be paired */ 504 if (pair && num_dsc) { /* already start pairing, re start */ 505 num_dsc = 0; 506 /* fill working copy with pingpong list */ 507 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, 508 sizeof(pp_to_enc_id)); 509 } 510 continue; 511 } 512 513 /* odd index can not become start of pairing */ 514 if (pair && (i & 0x01) && !num_dsc) 515 continue; 516 517 /* 518 * find the pingpong index which had been reserved 519 * previously at layer mixer allocation 520 */ 521 for (pp_idx = 0; pp_idx < pp_max; pp_idx++) { 522 if (pp_to_enc_id[pp_idx] == enc->base.id) 523
Re: [Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation
Hi Kuogee, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.7-rc3 next-20231130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dpu-improve-DSC-allocation/20231130-064646 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1701289898-12235-1-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1] drm/msm/dpu: improve DSC allocation config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20231130/202311302309.nprfdawm-...@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311302309.nprfdawm-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311302309.nprfdawm-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:537:24: error: incompatible pointer >> to integer conversion assigning to 'uint32_t' (aka 'unsigned int') from >> 'void *' [-Wint-conversion] 537 | pp_to_enc_id[pp_idx] = NULL; | ^ 1 error generated. vim +537 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 463 464 static int _dpu_rm_reserve_dsc(struct dpu_rm *rm, 465 struct dpu_global_state *global_state, 466 struct drm_encoder *enc, 467 const struct msm_display_topology *top) 468 { 469 int num_dsc = 0; 470 int i, pp_idx; 471 bool pair = false; 472 int dsc_idx[DSC_MAX - DSC_0]; 473 uint32_t pp_to_enc_id[PINGPONG_MAX - PINGPONG_0]; 474 int pp_max = PINGPONG_MAX - PINGPONG_0; 475 476 if (!top->num_dsc || !top->num_intf) 477 return 0; 478 479 /* 480 * Truth: 481 * 1) every layer mixer only connects to one pingpong 482 * 2) no pingpong split -- two layer mixers shared one pingpong 483 * 3) each DSC engine contains two dsc encoders 484 *-- index(0,1), index (2,3),... etc 485 * 4) dsc pair can only happens with same DSC engine except 4 dsc 486 *merge mode application (8k) which need two DSC engines 487 * 5) odd pingpong connect to odd dsc 488 * 6) even pingpong connect even dsc 489 */ 490 491 /* num_dsc should be either 1, 2 or 4 */ 492 if (top->num_dsc > top->num_intf) /* merge mode */ 493 pair = true; 494 495 /* fill working copy with pingpong list */ 496 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, sizeof(pp_to_enc_id)); 497 498 for (i = 0; i < ARRAY_SIZE(rm->dsc_blks); i++) { 499 if (!rm->dsc_blks[i]) /* end of dsc list */ 500 break; 501 502 if (global_state->dsc_to_enc_id[i]) { /* used */ 503 /* consective dsc index to be paired */ 504 if (pair && num_dsc) { /* already start pairing, re start */ 505 num_dsc = 0; 506 /* fill working copy with pingpong list */ 507 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, 508 sizeof(pp_to_enc_id)); 509 } 510 continue; 511 } 512 513 /* odd index can not become start of pairing */ 514 if (pair && (i & 0x01) && !num_dsc) 515 continue; 516 517 /* 518 * find the pingpong index which had been reserved 519 * previously at layer mixer allocation 520 */ 521 for (pp_idx = 0; pp_idx < pp_max; pp_idx++) { 522 if (pp_to_enc_id[pp_idx] == enc->base.i
Re: [Freedreno] [PATCH v1] drm/msm/dpu: improve DSC allocation
Hi Kuogee, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.7-rc3 next-20231130] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dpu-improve-DSC-allocation/20231130-064646 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1701289898-12235-1-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1] drm/msm/dpu: improve DSC allocation config: arm64-defconfig (https://download.01.org/0day-ci/archive/20231130/202311302230.t6x5rroj-...@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311302230.t6x5rroj-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311302230.t6x5rroj-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c: In function '_dpu_rm_reserve_dsc': >> drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c:537:38: warning: assignment to >> 'uint32_t' {aka 'unsigned int'} from 'void *' makes integer from pointer >> without a cast [-Wint-conversion] 537 | pp_to_enc_id[pp_idx] = NULL; | ^ vim +537 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 463 464 static int _dpu_rm_reserve_dsc(struct dpu_rm *rm, 465 struct dpu_global_state *global_state, 466 struct drm_encoder *enc, 467 const struct msm_display_topology *top) 468 { 469 int num_dsc = 0; 470 int i, pp_idx; 471 bool pair = false; 472 int dsc_idx[DSC_MAX - DSC_0]; 473 uint32_t pp_to_enc_id[PINGPONG_MAX - PINGPONG_0]; 474 int pp_max = PINGPONG_MAX - PINGPONG_0; 475 476 if (!top->num_dsc || !top->num_intf) 477 return 0; 478 479 /* 480 * Truth: 481 * 1) every layer mixer only connects to one pingpong 482 * 2) no pingpong split -- two layer mixers shared one pingpong 483 * 3) each DSC engine contains two dsc encoders 484 *-- index(0,1), index (2,3),... etc 485 * 4) dsc pair can only happens with same DSC engine except 4 dsc 486 *merge mode application (8k) which need two DSC engines 487 * 5) odd pingpong connect to odd dsc 488 * 6) even pingpong connect even dsc 489 */ 490 491 /* num_dsc should be either 1, 2 or 4 */ 492 if (top->num_dsc > top->num_intf) /* merge mode */ 493 pair = true; 494 495 /* fill working copy with pingpong list */ 496 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, sizeof(pp_to_enc_id)); 497 498 for (i = 0; i < ARRAY_SIZE(rm->dsc_blks); i++) { 499 if (!rm->dsc_blks[i]) /* end of dsc list */ 500 break; 501 502 if (global_state->dsc_to_enc_id[i]) { /* used */ 503 /* consective dsc index to be paired */ 504 if (pair && num_dsc) { /* already start pairing, re start */ 505 num_dsc = 0; 506 /* fill working copy with pingpong list */ 507 memcpy(pp_to_enc_id, global_state->pingpong_to_enc_id, 508 sizeof(pp_to_enc_id)); 509 } 510 continue; 511 } 512 513 /* odd index can not become start of pairing */ 514 if (pair && (i & 0x01) && !num_dsc) 515 continue; 516 517 /* 518 * find the pingpong index which had been reserved 519 * previously at layer mixer allocation 520 */ 521 for (pp_idx = 0; pp_idx < pp_max; pp_idx++) { 522 if (pp_to_enc_id[pp_idx] == enc->base.id) 523
Re: [Freedreno] [PATCH v5 4/6] drm/bridge: implement generic DP HPD bridge
Hi Dmitry, kernel test robot noticed the following build errors: [auto build test ERROR on next-20231025] [also build test ERROR on v6.6-rc7] [cannot apply to drm-misc/drm-misc-next usb/usb-testing usb/usb-next usb/usb-linus drm/drm-next linus/master v6.6-rc7 v6.6-rc6 v6.6-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-bridge-add-transparent-bridge-helper/20231026-063135 base: next-20231025 patch link: https://lore.kernel.org/r/20231025223027.943563-5-dmitry.baryshkov%40linaro.org patch subject: [PATCH v5 4/6] drm/bridge: implement generic DP HPD bridge config: csky-randconfig-002-20231026 (https://download.01.org/0day-ci/archive/20231026/202310261906.c62l4fc2-...@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310261906.c62l4fc2-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310261906.c62l4fc2-...@intel.com/ All error/warnings (new ones prefixed by >>): In file included from drivers/phy/qualcomm/phy-qcom-qmp-combo.c:24: >> include/drm/bridge/aux-bridge.h:28:1: error: expected identifier or '(' >> before '{' token 28 | { | ^ >> include/drm/bridge/aux-bridge.h:26:30: warning: 'drm_dp_hpd_bridge_register' >> declared 'static' but never defined [-Wunused-function] 26 | static inline struct device *drm_dp_hpd_bridge_register(struct device *parent, | ^~ vim +28 include/drm/bridge/aux-bridge.h 20 21 #if IS_ENABLED(CONFIG_DRM_AUX_HPD_BRIDGE) 22 struct device *drm_dp_hpd_bridge_register(struct device *parent, 23struct device_node *np); 24 void drm_aux_hpd_bridge_notify(struct device *dev, enum drm_connector_status status); 25 #else > 26 static inline struct device *drm_dp_hpd_bridge_register(struct device *parent, 27 struct device_node *np); > 28 { 29 return 0; 30 } 31 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v7 3/6] drm/sched: Convert the GPU scheduler to variable number of run-queues
Hi Matthew, kernel test robot noticed the following build warnings: [auto build test WARNING on 201c8a7bd1f3f415920a2df4b8a8817e973f42fe] url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Brost/drm-sched-Add-drm_sched_wqueue_-helpers/20231026-121313 base: 201c8a7bd1f3f415920a2df4b8a8817e973f42fe patch link: https://lore.kernel.org/r/20231026041236.1273694-4-matthew.brost%40intel.com patch subject: [PATCH v7 3/6] drm/sched: Convert the GPU scheduler to variable number of run-queues config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231026/202310261439.3rbateob-...@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310261439.3rbateob-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310261439.3rbateob-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/etnaviv/etnaviv_sched.c: In function 'etnaviv_sched_init': >> drivers/gpu/drm/etnaviv/etnaviv_sched.c:138:30: warning: passing argument 3 >> of 'drm_sched_init' makes pointer from integer without a cast >> [-Wint-conversion] 138 | DRM_SCHED_PRIORITY_COUNT, NULL, | ^~~~ | | | int In file included from drivers/gpu/drm/etnaviv/etnaviv_drv.h:20, from drivers/gpu/drm/etnaviv/etnaviv_sched.c:8: include/drm/gpu_scheduler.h:530:45: note: expected 'struct workqueue_struct *' but argument is of type 'int' 530 |struct workqueue_struct *submit_wq, |~^ In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:6, from include/linux/kasan-checks.h:5, from include/asm-generic/rwonce.h:26, from ./arch/m68k/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:246, from include/linux/build_bug.h:5, from include/linux/init.h:5, from include/linux/moduleparam.h:5, from drivers/gpu/drm/etnaviv/etnaviv_sched.c:6: >> include/linux/stddef.h:8:14: warning: passing argument 4 of 'drm_sched_init' >> makes integer from pointer without a cast [-Wint-conversion] 8 | #define NULL ((void *)0) | ^~~ | | | void * drivers/gpu/drm/etnaviv/etnaviv_sched.c:138:56: note: in expansion of macro 'NULL' 138 | DRM_SCHED_PRIORITY_COUNT, NULL, |^~~~ include/drm/gpu_scheduler.h:531:24: note: expected 'u32' {aka 'unsigned int'} but argument is of type 'void *' 531 |u32 num_rqs, uint32_t hw_submission, unsigned hang_limit, |^~~ -- drivers/gpu/drm/lima/lima_sched.c: In function 'lima_sched_pipe_init': >> drivers/gpu/drm/lima/lima_sched.c:492:31: warning: passing argument 3 of >> 'drm_sched_init' makes pointer from integer without a cast [-Wint-conversion] 492 | DRM_SCHED_PRIORITY_COUNT, NULL, 1, | ^~~~ | | | int In file included from drivers/gpu/drm/lima/lima_sched.h:7, from drivers/gpu/drm/lima/lima_device.h:12, from drivers/gpu/drm/lima/lima_ctx.h:10, from drivers/gpu/drm/lima/lima_drv.h:9, from drivers/gpu/drm/lima/lima_sched.c:11: include/drm/gpu_scheduler.h:530:45: note: expected 'struct workqueue_struct *' but argument is of type 'int' 530 |struct workqueue_struct *submit_wq, |~^ In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:6, from include/linux/io.h:9, from include/linux/iosys-map.h:10, from drivers/gpu/drm/lima/lima_sched.c:4: >> include/linux/stddef.h:8:14: warning: passing argument 4 of 'drm_sched_init' >> makes integer from pointer without a cast [-Wint-conversion] 8 | #define NULL ((void *)0) | ^~~ | | |
Re: [Freedreno] [PATCH v4 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)
Hi Richard, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next robh/for-next linus/master v6.6-rc6 next-20231018] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Richard-Acayan/dt-bindings-display-msm-dsi-controller-main-add-SDM670-compatible/20231017-155345 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20231017021805.1083350-14-mailingradian%40gmail.com patch subject: [PATCH v4 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670) config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20231019/202310191232.ptdontbi-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231019/202310191232.ptdontbi-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310191232.ptdontbi-...@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:658: >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h:29:26: error: >> 'dpu_vig_sblk_qseed3_1_3' undeclared here (not in a function) 29 | .sblk = _vig_sblk_qseed3_1_3, | ^~~ >> drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h:45:26: error: >> 'dpu_dma_sblk' undeclared here (not in a function); did you mean >> 'dpu_dsc_blk'? 45 | .sblk = _dma_sblk, | ^~~~ | dpu_dsc_blk vim +/dpu_vig_sblk_qseed3_1_3 +29 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h 23 24 static const struct dpu_sspp_cfg sdm670_sspp[] = { 25 { 26 .name = "sspp_0", .id = SSPP_VIG0, 27 .base = 0x4000, .len = 0x1c8, 28 .features = VIG_SDM845_MASK_SDMA, > 29 .sblk = _vig_sblk_qseed3_1_3, 30 .xin_id = 0, 31 .type = SSPP_TYPE_VIG, 32 .clk_ctrl = DPU_CLK_CTRL_VIG0, 33 }, { 34 .name = "sspp_1", .id = SSPP_VIG1, 35 .base = 0x6000, .len = 0x1c8, 36 .features = VIG_SDM845_MASK_SDMA, 37 .sblk = _vig_sblk_qseed3_1_3, 38 .xin_id = 4, 39 .type = SSPP_TYPE_VIG, 40 .clk_ctrl = DPU_CLK_CTRL_VIG0, 41 }, { 42 .name = "sspp_8", .id = SSPP_DMA0, 43 .base = 0x24000, .len = 0x1c8, 44 .features = DMA_SDM845_MASK_SDMA, > 45 .sblk = _dma_sblk, 46 .xin_id = 1, 47 .type = SSPP_TYPE_DMA, 48 .clk_ctrl = DPU_CLK_CTRL_DMA0, 49 }, { 50 .name = "sspp_9", .id = SSPP_DMA1, 51 .base = 0x26000, .len = 0x1c8, 52 .features = DMA_CURSOR_SDM845_MASK_SDMA, 53 .sblk = _dma_sblk, 54 .xin_id = 5, 55 .type = SSPP_TYPE_DMA, 56 .clk_ctrl = DPU_CLK_CTRL_DMA1, 57 }, { 58 .name = "sspp_10", .id = SSPP_DMA2, 59 .base = 0x28000, .len = 0x1c8, 60 .features = DMA_CURSOR_SDM845_MASK_SDMA, 61 .sblk = _dma_sblk, 62 .xin_id = 9, 63 .type = SSPP_TYPE_DMA, 64 .clk_ctrl = DPU_CLK_CTRL_DMA2, 65 }, 66 }; 67 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH] drm/msm/a6xx: Remove some unused functions
Hi Jiapeng, kernel test robot noticed the following build warnings: [auto build test WARNING on next-20231016] [cannot apply to drm-misc/drm-misc-next v6.6-rc6 v6.6-rc5 v6.6-rc4 linus/master v6.6-rc6] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jiapeng-Chong/drm-msm-a6xx-Remove-some-unused-functions/20231017-102229 base: next-20231016 patch link: https://lore.kernel.org/r/20231012024421.102832-1-jiapeng.chong%40linux.alibaba.com patch subject: [PATCH] drm/msm/a6xx: Remove some unused functions config: loongarch-randconfig-001-20231018 (https://download.01.org/0day-ci/archive/20231018/202310181742.3qvtq78e-...@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231018/202310181742.3qvtq78e-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310181742.3qvtq78e-...@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:8: >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:348:18: warning: >> 'a7xx_gbif_registers' defined but not used [-Wunused-const-variable=] 348 | static const u32 a7xx_gbif_registers[] = { | ^~~ >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:341:18: warning: >> 'a7xx_ahb_registers' defined but not used [-Wunused-const-variable=] 341 | static const u32 a7xx_ahb_registers[] = { | ^~ vim +/a7xx_gbif_registers +348 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 1707add815519d Jordan Crouse 2018-11-02 334 a5ab31767c7782 Sharat Masetty 2019-12-03 335 static const struct a6xx_registers a6xx_vbif_reglist = a5ab31767c7782 Sharat Masetty 2019-12-03 336 REGS(a6xx_vbif_registers, 0, 0); a5ab31767c7782 Sharat Masetty 2019-12-03 337 a5ab31767c7782 Sharat Masetty 2019-12-03 338 static const struct a6xx_registers a6xx_gbif_reglist = a5ab31767c7782 Sharat Masetty 2019-12-03 339 REGS(a6xx_gbif_registers, 0, 0); a5ab31767c7782 Sharat Masetty 2019-12-03 340 e997ae5f45caf7 Konrad Dybcio 2023-09-25 @341 static const u32 a7xx_ahb_registers[] = { e997ae5f45caf7 Konrad Dybcio 2023-09-25 342 /* RBBM_STATUS */ e997ae5f45caf7 Konrad Dybcio 2023-09-25 343 0x210, 0x210, e997ae5f45caf7 Konrad Dybcio 2023-09-25 344 /* RBBM_STATUS2-3 */ e997ae5f45caf7 Konrad Dybcio 2023-09-25 345 0x212, 0x213, e997ae5f45caf7 Konrad Dybcio 2023-09-25 346 }; e997ae5f45caf7 Konrad Dybcio 2023-09-25 347 e997ae5f45caf7 Konrad Dybcio 2023-09-25 @348 static const u32 a7xx_gbif_registers[] = { e997ae5f45caf7 Konrad Dybcio 2023-09-25 349 0x3c00, 0x3c0b, e997ae5f45caf7 Konrad Dybcio 2023-09-25 350 0x3c40, 0x3c42, e997ae5f45caf7 Konrad Dybcio 2023-09-25 351 0x3c45, 0x3c47, e997ae5f45caf7 Konrad Dybcio 2023-09-25 352 0x3c49, 0x3c4a, e997ae5f45caf7 Konrad Dybcio 2023-09-25 353 0x3cc0, 0x3cd1, e997ae5f45caf7 Konrad Dybcio 2023-09-25 354 }; e997ae5f45caf7 Konrad Dybcio 2023-09-25 355 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
[Freedreno] [linux-next:master] BUILD REGRESSION 4d5ab2376ec576af173e5eac3887ed0b51bd8566
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4d5ab2376ec576af173e5eac3887ed0b51bd8566 Add linux-next specific files for 20231017 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202309212121.cul1ptra-...@intel.com https://lore.kernel.org/oe-kbuild-all/202309212339.hxhbu2f1-...@intel.com https://lore.kernel.org/oe-kbuild-all/202310171612.nwyfirmz-...@intel.com https://lore.kernel.org/oe-kbuild-all/202310171657.kgpaqg47-...@intel.com https://lore.kernel.org/oe-kbuild-all/202310171905.azfrkoid-...@intel.com https://lore.kernel.org/oe-kbuild-all/202310172007.ccfbvbug-...@intel.com Error/Warning: (recently discovered and may have been fixed) drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c:286:52: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size 23 [-Wformat-truncation=] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0.c:72:52: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size 23 [-Wformat-truncation=] drivers/gpu/drm/msm/adreno/a6xx_gmu.c:1752:(.text+0x455c): undefined reference to `qmp_get' drivers/gpu/drm/msm/adreno/a6xx_gmu.c:994:(.text+0x369c): undefined reference to `qmp_send' kernel/bpf/helpers.c:1909:19: warning: no previous declaration for 'bpf_percpu_obj_new_impl' [-Wmissing-declarations] kernel/bpf/helpers.c:1945:18: warning: no previous declaration for 'bpf_percpu_obj_drop_impl' [-Wmissing-declarations] kernel/bpf/helpers.c:2480:18: warning: no previous declaration for 'bpf_throw' [-Wmissing-declarations] security/landlock/net.h:26:1: warning: 'landlock_append_net_rule' declared 'static' but never defined [-Wunused-function] security/landlock/net.h:26:1: warning: 'landlock_append_net_rule' used but never defined security/landlock/net.h:28:1: error: expected identifier or '(' security/landlock/net.h:28:1: error: expected identifier or '(' before '{' token Unverified Error/Warning (likely false positive, please contact us if interested): Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml: Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml: Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- arm-buildonly-randconfig-r006-20230322 | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0_6_ppt.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size | `-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu14-smu_v14_0.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size |-- arm64-randconfig-r003-20220728 | |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.c:(.text):undefined-reference-to-qmp_get | `-- drivers-gpu-drm-msm-adreno-a6xx_gmu.c:(.text):undefined-reference-to-qmp_send |-- i386-buildonly-randconfig-004-20231017 | |-- security-landlock-net.h:error:expected-identifier-or-(-before-token | |-- security-landlock-net.h:warning:landlock_append_net_rule-declared-static-but-never-defined | `-- security-landlock-net.h:warning:landlock_append_net_rule-used-but-never-defined |-- loongarch-randconfig-001-20231017 | |-- Documentation-devicetree-bindings-mfd-qcom-pm8xxx.yaml: | `-- Documentation-devicetree-bindings-mfd-qcom-tcsr.yaml: |-- microblaze-randconfig-r004-20230514 | |-- security-landlock-net.h:error:expected-identifier-or-(-before-token | |-- security-landlock-net.h:warning:landlock_append_net_rule-declared-static-but-never-defined | `-- security-landlock-net.h:warning:landlock_append_net_rule-used-but-never-defined |-- openrisc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0_6_ppt.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size | `-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu14-smu_v14_0.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size |-- openrisc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0_6_ppt.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size | `-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu14-smu_v14_0.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size |-- powerpc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0_6_ppt.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size | `-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu14-smu_v14_0.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size |-- powerpc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu13-smu_v13_0_6_ppt.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size | `-- drivers-gpu-drm-amd-amdgpu-..-pm-swsmu-smu14-smu_v14_0.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size |-- riscv-randconfig-001-20231017 | |--
Re: [Freedreno] [PATCH v8 2/5] drm/panfrost: Add fdinfo support GPU load metrics
Hi Adrián, kernel test robot noticed the following build warnings: [auto build test WARNING on f45acf7acf75921c0409d452f0165f51a19a74fd] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230930-041528 base: f45acf7acf75921c0409d452f0165f51a19a74fd patch link: https://lore.kernel.org/r/20230929181616.2769345-3-adrian.larumbe%40collabora.com patch subject: [PATCH v8 2/5] drm/panfrost: Add fdinfo support GPU load metrics reproduce: (https://download.01.org/0day-ci/archive/20231003/202310030917.txzlpoeq-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310030917.txzlpoeq-...@intel.com/ All warnings (new ones prefixed by >>): >> Documentation/gpu/panfrost.rst:8: WARNING: Title underline too short. >> Documentation/gpu/panfrost.rst: WARNING: document isn't included in any >> toctree vim +8 Documentation/gpu/panfrost.rst 6 7 Panfrost DRM client usage stats implementation > 8 == 9 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v5 07/10] drm/msm/a6xx: Mostly implement A7xx gpu_state
Hi Konrad, kernel test robot noticed the following build warnings: [auto build test WARNING on 8fff9184d1b5810dca5dd1a02726d4f844af88fc] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-display-msm-gmu-Add-Adreno-7-34-0-GMU/20230925-225348 base: 8fff9184d1b5810dca5dd1a02726d4f844af88fc patch link: https://lore.kernel.org/r/20230628-topic-a7xx_drmmsm-v5-7-3dc527b472d7%40linaro.org patch subject: [PATCH v5 07/10] drm/msm/a6xx: Mostly implement A7xx gpu_state config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230926/202309261932.dha9dool-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230926/202309261932.dha9dool-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309261932.dha9dool-...@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:8: >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:360:36: warning: >> 'a7xx_gbif_reglist' defined but not used [-Wunused-const-variable=] 360 | static const struct a6xx_registers a7xx_gbif_reglist = |^ >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:356:36: warning: >> 'a7xx_ahb_reglist' defined but not used [-Wunused-const-variable=] 356 | static const struct a6xx_registers a7xx_ahb_reglist[] = { |^~~~ vim +/a7xx_gbif_reglist +360 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 355 > 356 static const struct a6xx_registers a7xx_ahb_reglist[] = { 357 REGS(a7xx_ahb_registers, 0, 0), 358 }; 359 > 360 static const struct a6xx_registers a7xx_gbif_reglist = 361 REGS(a7xx_gbif_registers, 0, 0); 362 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH] drm/msm/mdp4: Add error handling in mdp4_lvds_connector_init()
Hi liuhaoran, 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.6-rc2 next-20230921] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/liuhaoran/drm-msm-mdp4-Add-error-handling-in-mdp4_lvds_connector_init/20230924-144326 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230924064159.14739-1-liuhaoran14%40163.com patch subject: [PATCH] drm/msm/mdp4: Add error handling in mdp4_lvds_connector_init() config: arm-defconfig (https://download.01.org/0day-ci/archive/20230924/202309241619.rhcrkwza-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309241619.rhcrkwza-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309241619.rhcrkwza-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c: In function 'mdp4_lvds_connector_init': >> drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c:114:24: warning: >> returning 'int' from a function with return type 'struct drm_connector *' >> makes pointer from integer without a cast [-Wint-conversion] 114 | return ret; |^~~ drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c:126:24: warning: returning 'int' from a function with return type 'struct drm_connector *' makes pointer from integer without a cast [-Wint-conversion] 126 | return ret; |^~~ vim +114 drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c 92 93 /* initialize connector */ 94 struct drm_connector *mdp4_lvds_connector_init(struct drm_device *dev, 95 struct device_node *panel_node, struct drm_encoder *encoder) 96 { 97 struct drm_connector *connector = NULL; 98 struct mdp4_lvds_connector *mdp4_lvds_connector; 99 int ret; 100 101 mdp4_lvds_connector = kzalloc(sizeof(*mdp4_lvds_connector), GFP_KERNEL); 102 if (!mdp4_lvds_connector) 103 return ERR_PTR(-ENOMEM); 104 105 mdp4_lvds_connector->encoder = encoder; 106 mdp4_lvds_connector->panel_node = panel_node; 107 108 connector = _lvds_connector->base; 109 110 ret = drm_connector_init(dev, connector, _lvds_connector_funcs, 111 DRM_MODE_CONNECTOR_LVDS); 112 113 if (ret) > 114 return ret; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v5 04/11] PM / QoS: Decouple request alloc from dev_pm_qos_mtx
Hello, kernel test robot noticed "canonical_address#:#[##]" on: commit: d308a440bdf329cfa70cc5d35c565939d81ae73f ("[PATCH v5 04/11] PM / QoS: Decouple request alloc from dev_pm_qos_mtx") url: https://github.com/intel-lab-lkp/linux/commits/Rob-Clark/PM-devfreq-Drop-unneed-locking-to-appease-lockdep/20230823-020443 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/all/20230822180208.95556-5-robdcl...@gmail.com/ patch subject: [PATCH v5 04/11] PM / QoS: Decouple request alloc from dev_pm_qos_mtx in testcase: blktests version: blktests-x86_64-e0bb3dc-1_20230912 with following parameters: disk: 1SSD test: nvme-group-01 nvme_trtype: rdma compiler: gcc-12 test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480+ (Sapphire Rapids) with 256G memory (please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-lkp/202309221426.fb0fe750-oliver.s...@intel.com [ 79.616893][ T2311] [ 79.634663][ T3447] run blktests nvme/032 at 2023-09-19 15:50:52 [ 83.369231][ T2313] /lkp/lkp/src/monitors/kmemleak: 19: echo: echo: I/O error [ 83.369240][ T2313] [ 85.082264][ T1434] nvme nvme0: 128/0/0 default/read/poll queues [ 88.926272][ T3447] general protection fault, probably for non-canonical address 0xdc24: [#1] PREEMPT SMP KASAN NOPTI [ 88.941100][ T3447] KASAN: null-ptr-deref in range [0x0120-0x0127] [ 88.951583][ T3447] CPU: 95 PID: 3447 Comm: check Tainted: G S 6.5.0-rc2-00514-gd308a440bdf3 #1 [ 88.964091][ T3447] Hardware name: Intel Corporation D50DNP1SBB/D50DNP1SBB, BIOS SE5C7411.86B.8118.D04.2206151341 06/15/2022 [ 88.977880][ T3447] RIP: 0010:dev_pm_qos_update_user_latency_tolerance (kbuild/src/consumer/drivers/base/power/qos.c:936) [ 88.987504][ T3447] Code: 02 00 00 48 8b bb 08 02 00 00 e8 79 ea ff ff 48 8d b8 20 01 00 00 48 89 c5 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 3a 02 00 00 45 31 f6 48 83 bd 20 01 00 00 00 0f All code 0: 02 00 add(%rax),%al 2: 00 48 8badd%cl,-0x75(%rax) 5: bb 08 02 00 00 mov$0x208,%ebx a: e8 79 ea ff ff callq 0xea88 f: 48 8d b8 20 01 00 00lea0x120(%rax),%rdi 16: 48 89 c5mov%rax,%rbp 19: 48 b8 00 00 00 00 00movabs $0xdc00,%rax 20: fc ff df 23: 48 89 famov%rdi,%rdx 26: 48 c1 ea 03 shr$0x3,%rdx 2a:* 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 3a 02 00 00 jne0x26e 34: 45 31 f6xor%r14d,%r14d 37: 48 83 bd 20 01 00 00cmpq $0x0,0x120(%rbp) 3e: 00 3f: 0f .byte 0xf Code starting with the faulting instruction === 0: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 4: 0f 85 3a 02 00 00 jne0x244 a: 45 31 f6xor%r14d,%r14d d: 48 83 bd 20 01 00 00cmpq $0x0,0x120(%rbp) 14: 00 15: 0f .byte 0xf [ 89.010647][ T3447] RSP: 0018:ffa017fe7b70 EFLAGS: 00010206 [ 89.018574][ T3447] RAX: dc00 RBX: ff1100209b614298 RCX: [ 89.028658][ T3447] RDX: 0024 RSI: RDI: 0120 [ 89.038735][ T3447] RBP: R08: R09: fff3fc0002ffcf64 [ 89.048812][ T3447] R10: 0003 R11: ff1100208a8624b0 R12: ff1100209b6144a0 [ 89.058895][ T3447] R13: R14: c08e3468 R15: ff110001273f4138 [ 89.068957][ T3447] FS: 7fc6d8027740() GS:ff11003fd318() knlGS: [ 89.080098][ T3447] CS: 0010 DS: ES: CR0: 80050033 [ 89.088618][ T3447] CR2: 7f5be5eeb120 CR3: 000263306002 CR4: 00f71ee0 [ 89.098720][ T3447] DR0: DR1: DR2: [ 89.108812][ T3447] DR3: DR6: fffe07f0 DR7: 0400 [ 89.118899][ T3447] PKRU: 5554 [ 89.123997][ T3447] Call Trace: [ 89.128804][ T3447] [ 89.133218][ T3447] ? die_addr (kbuild/src/consumer/arch/x86/kernel/dumpstack.c:421 kbuild/src/consumer/arch/x86/kernel/dumpstack.c:460) [ 89.139003][ T3447] ? exc_general_protection (kbuild/src/consumer/arch/x86/kernel/traps.c:786 kbuild/src/consumer/arch/x86/kernel/traps.c:728) [ 89.146323][ T3447] ? asm_exc_general_protection (kbuild/src/consumer/arch/x86/include/asm/idtentry.h:564) [ 89.153849][ T3447] ? dev_pm_qos_update_user_latency_tolerance (kbuild/sr
Re: [Freedreno] [PATCH v3 4/7] drm/msm/dp: incorporate pm_runtime framework into DP driver
Hi Kuogee, kernel test robot noticed the following build warnings: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.6-rc1] [cannot apply to drm-misc/drm-misc-next drm-tip/drm-tip next-20230915] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dp-tie-dp_display_irq_handler-with-dp-driver/20230916-054014 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/1694813901-26952-5-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v3 4/7] drm/msm/dp: incorporate pm_runtime framework into DP driver config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230916/202309161321.ueiyrcis-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230916/202309161321.ueiyrcis-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309161321.ueiyrcis-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/dp/dp_power.c: In function 'dp_power_client_deinit': >> drivers/gpu/drm/msm/dp/dp_power.c:160:34: warning: variable 'power' set but >> not used [-Wunused-but-set-variable] 160 | struct dp_power_private *power; | ^ drivers/gpu/drm/msm/dp/dp_power.c: In function 'dp_power_init': drivers/gpu/drm/msm/dp/dp_power.c:168:34: warning: variable 'power' set but not used [-Wunused-but-set-variable] 168 | struct dp_power_private *power = NULL; | ^ drivers/gpu/drm/msm/dp/dp_power.c: In function 'dp_power_deinit': drivers/gpu/drm/msm/dp/dp_power.c:179:34: warning: variable 'power' set but not used [-Wunused-but-set-variable] 179 | struct dp_power_private *power; | ^ vim +/power +160 drivers/gpu/drm/msm/dp/dp_power.c c943b4948b5848 Chandan Uddaraju 2020-08-27 157 c943b4948b5848 Chandan Uddaraju 2020-08-27 158 void dp_power_client_deinit(struct dp_power *dp_power) c943b4948b5848 Chandan Uddaraju 2020-08-27 159 { c943b4948b5848 Chandan Uddaraju 2020-08-27 @160 struct dp_power_private *power; c943b4948b5848 Chandan Uddaraju 2020-08-27 161 c943b4948b5848 Chandan Uddaraju 2020-08-27 162 power = container_of(dp_power, struct dp_power_private, dp_power); c943b4948b5848 Chandan Uddaraju 2020-08-27 163 } c943b4948b5848 Chandan Uddaraju 2020-08-27 164 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 2/6] drm/panfrost: Add fdinfo support GPU load metrics
Hi Adrián, 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.5 next-20230831] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230824-093848 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824013604.466224-3-adrian.larumbe%40collabora.com patch subject: [PATCH v2 2/6] drm/panfrost: Add fdinfo support GPU load metrics config: s390-randconfig-001-20230902 (https://download.01.org/0day-ci/archive/20230902/202309021155.i3npudji-...@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309021155.i3npudji-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309021155.i3npudji-...@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/panfrost/panfrost_drv.c:17: In file included from drivers/gpu/drm/panfrost/panfrost_device.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) ^ In file included from drivers/gpu/drm/panfrost/panfrost_drv.c:17: In file included from drivers/gpu/drm/panfrost/panfrost_device.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) ^ In file included from drivers/gpu/drm/panfrost/panfrost_drv.c:17: In file included from drivers/gpu/drm/panfrost/panfrost_device.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE
Re: [Freedreno] [PATCH v2 6/6] drm/drm-file: Allow size unit selection in drm_show_memory_stats
Hi Adrián, 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.5 next-20230831] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230824-093848 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824013604.466224-7-adrian.larumbe%40collabora.com patch subject: [PATCH v2 6/6] drm/drm-file: Allow size unit selection in drm_show_memory_stats config: x86_64-randconfig-002-20230902 (https://download.01.org/0day-ci/archive/20230902/202309020634.fwc7kbk6-...@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309020634.fwc7kbk6-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309020634.fwc7kbk6-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_file.c:905: warning: Function parameter or member 'unit' >> not described in 'drm_print_memory_stats' vim +905 drivers/gpu/drm/drm_file.c 686b21b5f6ca2f Rob Clark 2023-05-24 891 686b21b5f6ca2f Rob Clark 2023-05-24 892 /** 686b21b5f6ca2f Rob Clark 2023-05-24 893 * drm_print_memory_stats - A helper to print memory stats 686b21b5f6ca2f Rob Clark 2023-05-24 894 * @p: The printer to print output to 686b21b5f6ca2f Rob Clark 2023-05-24 895 * @stats: The collected memory stats 686b21b5f6ca2f Rob Clark 2023-05-24 896 * @supported_status: Bitmask of optional stats which are available 686b21b5f6ca2f Rob Clark 2023-05-24 897 * @region: The memory region 686b21b5f6ca2f Rob Clark 2023-05-24 898 * 686b21b5f6ca2f Rob Clark 2023-05-24 899 */ 686b21b5f6ca2f Rob Clark 2023-05-24 900 void drm_print_memory_stats(struct drm_printer *p, 686b21b5f6ca2f Rob Clark 2023-05-24 901 const struct drm_memory_stats *stats, 686b21b5f6ca2f Rob Clark 2023-05-24 902 enum drm_gem_object_status supported_status, cccad8cb432637 Adrián Larumbe 2023-08-24 903 const char *region, cccad8cb432637 Adrián Larumbe 2023-08-24 904 unsigned int unit) 686b21b5f6ca2f Rob Clark 2023-05-24 @905 { cccad8cb432637 Adrián Larumbe 2023-08-24 906 print_size(p, "total", region, stats->private + stats->shared, unit); cccad8cb432637 Adrián Larumbe 2023-08-24 907 print_size(p, "shared", region, stats->shared, unit); cccad8cb432637 Adrián Larumbe 2023-08-24 908 print_size(p, "active", region, stats->active, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 909 686b21b5f6ca2f Rob Clark 2023-05-24 910 if (supported_status & DRM_GEM_OBJECT_RESIDENT) cccad8cb432637 Adrián Larumbe 2023-08-24 911 print_size(p, "resident", region, stats->resident, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 912 686b21b5f6ca2f Rob Clark 2023-05-24 913 if (supported_status & DRM_GEM_OBJECT_PURGEABLE) cccad8cb432637 Adrián Larumbe 2023-08-24 914 print_size(p, "purgeable", region, stats->purgeable, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 915 } 686b21b5f6ca2f Rob Clark 2023-05-24 916 EXPORT_SYMBOL(drm_print_memory_stats); 686b21b5f6ca2f Rob Clark 2023-05-24 917 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 5/6] drm/panfrost: Implement generic DRM object RSS reporting function
Hi Adrián, 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.5-rc7 next-20230824] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230824-093848 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824013604.466224-6-adrian.larumbe%40collabora.com patch subject: [PATCH v2 5/6] drm/panfrost: Implement generic DRM object RSS reporting function config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230824/202308241850.ujqydagz-...@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230824/202308241850.ujqydagz-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308241850.ujqydagz-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/panfrost/panfrost_gem.c:210:8: warning: no previous >> prototype for 'panfrost_gem_rss' [-Wmissing-prototypes] 210 | size_t panfrost_gem_rss(struct drm_gem_object *obj) |^~~~ vim +/panfrost_gem_rss +210 drivers/gpu/drm/panfrost/panfrost_gem.c 209 > 210 size_t panfrost_gem_rss(struct drm_gem_object *obj) 211 { 212 struct panfrost_gem_object *bo = to_panfrost_bo(obj); 213 214 if (!bo->base.pages) 215 return 0; 216 217 return bo->rss_size; 218 } 219 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 6/6] drm/drm-file: Allow size unit selection in drm_show_memory_stats
Hi Adrián, 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.5-rc7 next-20230823] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230824-093848 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824013604.466224-7-adrian.larumbe%40collabora.com patch subject: [PATCH v2 6/6] drm/drm-file: Allow size unit selection in drm_show_memory_stats config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230824/202308241401.hr6gvevs-...@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230824/202308241401.hr6gvevs-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308241401.hr6gvevs-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_file.c:905: warning: Function parameter or member 'unit' >> not described in 'drm_print_memory_stats' vim +905 drivers/gpu/drm/drm_file.c 686b21b5f6ca2f Rob Clark 2023-05-24 891 686b21b5f6ca2f Rob Clark 2023-05-24 892 /** 686b21b5f6ca2f Rob Clark 2023-05-24 893 * drm_print_memory_stats - A helper to print memory stats 686b21b5f6ca2f Rob Clark 2023-05-24 894 * @p: The printer to print output to 686b21b5f6ca2f Rob Clark 2023-05-24 895 * @stats: The collected memory stats 686b21b5f6ca2f Rob Clark 2023-05-24 896 * @supported_status: Bitmask of optional stats which are available 686b21b5f6ca2f Rob Clark 2023-05-24 897 * @region: The memory region 686b21b5f6ca2f Rob Clark 2023-05-24 898 * 686b21b5f6ca2f Rob Clark 2023-05-24 899 */ 686b21b5f6ca2f Rob Clark 2023-05-24 900 void drm_print_memory_stats(struct drm_printer *p, 686b21b5f6ca2f Rob Clark 2023-05-24 901 const struct drm_memory_stats *stats, 686b21b5f6ca2f Rob Clark 2023-05-24 902 enum drm_gem_object_status supported_status, cccad8cb432637 Adrián Larumbe 2023-08-24 903 const char *region, cccad8cb432637 Adrián Larumbe 2023-08-24 904 unsigned int unit) 686b21b5f6ca2f Rob Clark 2023-05-24 @905 { cccad8cb432637 Adrián Larumbe 2023-08-24 906 print_size(p, "total", region, stats->private + stats->shared, unit); cccad8cb432637 Adrián Larumbe 2023-08-24 907 print_size(p, "shared", region, stats->shared, unit); cccad8cb432637 Adrián Larumbe 2023-08-24 908 print_size(p, "active", region, stats->active, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 909 686b21b5f6ca2f Rob Clark 2023-05-24 910 if (supported_status & DRM_GEM_OBJECT_RESIDENT) cccad8cb432637 Adrián Larumbe 2023-08-24 911 print_size(p, "resident", region, stats->resident, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 912 686b21b5f6ca2f Rob Clark 2023-05-24 913 if (supported_status & DRM_GEM_OBJECT_PURGEABLE) cccad8cb432637 Adrián Larumbe 2023-08-24 914 print_size(p, "purgeable", region, stats->purgeable, unit); 686b21b5f6ca2f Rob Clark 2023-05-24 915 } 686b21b5f6ca2f Rob Clark 2023-05-24 916 EXPORT_SYMBOL(drm_print_memory_stats); 686b21b5f6ca2f Rob Clark 2023-05-24 917 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 2/6] drm/panfrost: Add fdinfo support GPU load metrics
Hi Adrián, 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.5-rc7 next-20230823] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Adri-n-Larumbe/drm-panfrost-Add-cycle-count-GPU-register-definitions/20230824-093848 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824013604.466224-3-adrian.larumbe%40collabora.com patch subject: [PATCH v2 2/6] drm/panfrost: Add fdinfo support GPU load metrics config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230824/202308241240.ngaywbmr-...@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230824/202308241240.ngaywbmr-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308241240.ngaywbmr-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/panfrost/panfrost_drv.c: In function 'panfrost_gpu_show_fdinfo': >> drivers/gpu/drm/panfrost/panfrost_drv.c:551:50: warning: format '%u' expects >> argument of type 'unsigned int', but argument 4 has type 'long unsigned int' >> [-Wformat=] 551 | drm_printf(p, "drm-curfreq-%s:\t%u Hz\n", | ~^ | | | unsigned int | %lu 552 |ei->name, pfdev->pfdevfreq.current_frequency); | ~~ | | | long unsigned int vim +551 drivers/gpu/drm/panfrost/panfrost_drv.c 534 535 536 static void panfrost_gpu_show_fdinfo(struct panfrost_device *pfdev, 537 struct panfrost_file_priv *panfrost_priv, 538 struct drm_printer *p) 539 { 540 int i; 541 542 for (i = 0; i < NUM_JOB_SLOTS - 1; i++) { 543 struct engine_info *ei = _priv->fdinfo.engines[i]; 544 545 drm_printf(p, "drm-engine-%s:\t%llu ns\n", 546 ei->name, ei->elapsed_ns); 547 drm_printf(p, "drm-cycles-%s:\t%llu\n", 548 ei->name, ei->cycles); 549 drm_printf(p, "drm-maxfreq-%s:\t%u Hz\n", 550 ei->name, panfrost_priv->fdinfo.maxfreq); > 551 drm_printf(p, "drm-curfreq-%s:\t%u Hz\n", 552 ei->name, pfdev->pfdevfreq.current_frequency); 553 } 554 } 555 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v3 3/3] usb: typec: nb7vpq904m: switch to DRM_SIMPLE_BRIDGE
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 usb/usb-testing usb/usb-next usb/usb-linus drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.5-rc5 next-20230808] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-display-add-transparent-bridge-helper/20230802-091932 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230802011845.4176631-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH v3 3/3] usb: typec: nb7vpq904m: switch to DRM_SIMPLE_BRIDGE config: s390-randconfig-r033-20230808 (https://download.01.org/0day-ci/archive/20230809/202308090347.sztwmcub-...@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230809/202308090347.sztwmcub-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308090347.sztwmcub-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/bridge/simple-bridge.c:212:18: error: no member named >> 'of_node' in 'struct drm_bridge' sbridge->bridge.of_node = pdev->dev.of_node; ~~~ ^ 1 error generated. vim +212 drivers/gpu/drm/bridge/simple-bridge.c 56fe8b6f499167 drivers/gpu/drm/bridge/dumb-vga-dac.c Maxime Ripard 2016-09-30 168 94ded532ffdb42 drivers/gpu/drm/bridge/dumb-vga-dac.c Laurent Pinchart 2020-02-26 169 static int simple_bridge_probe(struct platform_device *pdev) 56fe8b6f499167 drivers/gpu/drm/bridge/dumb-vga-dac.c Maxime Ripard 2016-09-30 170 { 94ded532ffdb42 drivers/gpu/drm/bridge/dumb-vga-dac.c Laurent Pinchart 2020-02-26 171 struct simple_bridge *sbridge; 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 172 struct device_node *remote; 56fe8b6f499167 drivers/gpu/drm/bridge/dumb-vga-dac.c Maxime Ripard 2016-09-30 173 94ded532ffdb42 drivers/gpu/drm/bridge/dumb-vga-dac.c Laurent Pinchart 2020-02-26 174 sbridge = devm_kzalloc(>dev, sizeof(*sbridge), GFP_KERNEL); 94ded532ffdb42 drivers/gpu/drm/bridge/dumb-vga-dac.c Laurent Pinchart 2020-02-26 175 if (!sbridge) 56fe8b6f499167 drivers/gpu/drm/bridge/dumb-vga-dac.c Maxime Ripard 2016-09-30 176 return -ENOMEM; 94ded532ffdb42 drivers/gpu/drm/bridge/dumb-vga-dac.c Laurent Pinchart 2020-02-26 177 platform_set_drvdata(pdev, sbridge); 56fe8b6f499167 drivers/gpu/drm/bridge/dumb-vga-dac.c Maxime Ripard 2016-09-30 178 272378ec0eb972 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-02-26 179 sbridge->info = of_device_get_match_data(>dev); 272378ec0eb972 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-02-26 180 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 181 /* Get the next bridge in the pipeline. */ 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 182 remote = of_graph_get_remote_node(pdev->dev.of_node, 1, -1); 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 183 if (!remote) 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 184 return -EINVAL; 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 185 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 186 sbridge->next_bridge = of_drm_find_bridge(remote); 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 187 of_node_put(remote); 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 188 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 189 if (!sbridge->next_bridge) { 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 190 dev_dbg(>dev, "Next bridge not found, deferring probe\n"); 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 191 return -EPROBE_DEFER; 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 192 } 00686ac55d0a21 drivers/gpu/drm/bridge/simple-bridge.c Laurent Pinchart 2020-05-26 193 00686ac55d0a21 drivers/gpu/drm/b
Re: [Freedreno] [PATCH v3 1/3] drm/display: add transparent bridge helper
Hi Dmitry, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on usb/usb-testing usb/usb-next usb/usb-linus drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.5-rc4 next-20230804] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-display-add-transparent-bridge-helper/20230802-091932 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230802011845.4176631-2-dmitry.baryshkov%40linaro.org patch subject: [PATCH v3 1/3] drm/display: add transparent bridge helper config: i386-randconfig-r072-20230806 (https://download.01.org/0day-ci/archive/20230806/202308062017.iku92hml-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230806/202308062017.iku92hml-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308062017.iku92hml-...@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/display/drm_simple_bridge.c:118:25: sparse: sparse: symbol >> 'drm_simple_bridge_drv' was not declared. Should it be static? -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 3/3] usb: typec: nb7vpq904m: switch to DRM_SIMPLE_BRIDGE
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 usb/usb-testing usb/usb-next usb/usb-linus drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.5-rc4 next-20230731] [cannot apply to drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-display-add-transparent-bridge-helper/20230731-152746 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230731071930.3928150-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH v2 3/3] usb: typec: nb7vpq904m: switch to DRM_SIMPLE_BRIDGE config: xtensa-randconfig-r004-20230731 (https://download.01.org/0day-ci/archive/20230731/202307311724.2baqju6o-...@intel.com/config) compiler: xtensa-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230731/202307311724.2baqju6o-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202307311724.2baqju6o-...@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/display/drm_simple_bridge.c: In function 'drm_simple_bridge_probe': >> drivers/gpu/drm/display/drm_simple_bridge.c:105:21: error: 'struct >> drm_bridge' has no member named 'of_node' 105 | data->bridge.of_node = data->dev->of_node; | ^ vim +105 drivers/gpu/drm/display/drm_simple_bridge.c 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 88 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 89 static int drm_simple_bridge_probe(struct auxiliary_device *auxdev, 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 90 const struct auxiliary_device_id *id) 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 91 { 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 92 struct drm_simple_bridge_data *data; 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 93 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 94 data = devm_kzalloc(>dev, sizeof(*data), GFP_KERNEL); 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 95 if (!data) 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 96 return -ENOMEM; 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 97 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 98 data->dev = >dev; 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 99 data->next_bridge = devm_drm_of_get_bridge(>dev, auxdev->dev.of_node, 0, 0); 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 100 if (IS_ERR(data->next_bridge)) 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 101 return dev_err_probe(>dev, PTR_ERR(data->next_bridge), 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 102 "failed to acquire drm_bridge\n"); 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 103 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 104 data->bridge.funcs = _simple_bridge_funcs; 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 @105 data->bridge.of_node = data->dev->of_node; 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 106 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 107 return devm_drm_bridge_add(data->dev, >bridge); 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 108 } 1b4ddd588d7e97 Dmitry Baryshkov 2023-07-31 109 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 10/14] drm/msm/dpu: use dpu_perf_cfg in DPU core_perf code
Hi Dmitry, 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.4 next-20230705] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dpu-drop-enum-dpu_core_perf_data_bus_id/20230704-230618 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230704150354.159882-11-dmitry.baryshkov%40linaro.org patch subject: [PATCH v2 10/14] drm/msm/dpu: use dpu_perf_cfg in DPU core_perf code config: arm-defconfig (https://download.01.org/0day-ci/archive/20230706/202307060717.jqn298i0-...@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce: (https://download.01.org/0day-ci/archive/20230706/202307060717.jqn298i0-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202307060717.jqn298i0-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:251:25: warning: variable >> 'kms' is uninitialized when used here [-Wuninitialized] if (atomic_dec_return(>bandwidth_ref) > 0) ^~~ drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c:242:21: note: initialize the variable 'kms' to silence this warning struct dpu_kms *kms; ^ = NULL 1 warning generated. vim +/kms +251 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 230 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 231 /** 2785fd47959003 Lee Jones 2020-11-23 232 * dpu_core_perf_crtc_release_bw() - request zero bandwidth 2785fd47959003 Lee Jones 2020-11-23 233 * @crtc: pointer to a crtc 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 234 * 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 235 * Function checks a state variable for the crtc, if all pending commit 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 236 * requests are done, meaning no more bandwidth is needed, release 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 237 * bandwidth request. 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 238 */ 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 239 void dpu_core_perf_crtc_release_bw(struct drm_crtc *crtc) 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 240 { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 241struct dpu_crtc *dpu_crtc; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 242struct dpu_kms *kms; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 243 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 244if (!crtc) { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 245 DPU_ERROR("invalid crtc\n"); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 246return; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 247} 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 248 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 249dpu_crtc = to_dpu_crtc(crtc); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 250 241b507c166fef Rob Clark 2019-08-20 @251if (atomic_dec_return(>bandwidth_ref) > 0) 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 252return; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 253 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 254/* Release the bandwidth */ 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 255if (kms->perf.enable_bw_release) { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 256 trace_dpu_cmd_release_bw(crtc->base.id); 5b702d787b47e1 Stephen Boyd 2021-04-30 257 DRM_DEBUG_ATOMIC("Release BW crtc=%d\n", crtc->base.id); cb88482e2570f6 Jayant Shekhar2019-06-18 258 dpu_crtc->cur_perf.bw_ctl = 0; cb88482e2570f6 Jayant Shekhar2019-06-18 259 _dpu_core_perf_crtc_update_bus(kms, crtc); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 260} 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 261 } 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 262 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v2 2/4] regulator: Introduce Qualcomm REFGEN regulator driver
Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 5c875096d59010cee4e00da1f9c7bdb07a025dc2] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-regulator-Describe-Qualcomm-REFGEN-regulator/20230630-043835 base: 5c875096d59010cee4e00da1f9c7bdb07a025dc2 patch link: https://lore.kernel.org/r/20230628-topic-refgen-v2-2-6136487c78c5%40linaro.org patch subject: [PATCH v2 2/4] regulator: Introduce Qualcomm REFGEN regulator driver config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20230630/202306300643.lhn1fbot-...@intel.com/config) compiler: s390-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230630/202306300643.lhn1fbot-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306300643.lhn1fbot-...@intel.com/ All errors (new ones prefixed by >>, old ones prefixed by <<): WARNING: modpost: missing MODULE_DESCRIPTION() in net/netfilter/ipvs/ip_vs_sed.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/netfilter/ipvs/ip_vs_nq.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/netfilter/ipvs/ip_vs_twos.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/netfilter/ipvs/ip_vs_ftp.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/netfilter/ipvs/ip_vs_pe_sip.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/nf_defrag_ipv4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/nf_reject_ipv4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/iptable_nat.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/netfilter/iptable_raw.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_tunnel.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ipip.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_gre.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/udp_tunnel.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_vti.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ah4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/esp4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/xfrm4_tunnel.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/tunnel4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/inet_diag.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/tcp_diag.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/udp_diag.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/raw_diag.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_algo.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_user.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/unix/unix_diag.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/netfilter/ip6table_raw.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/netfilter/ip6table_nat.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/netfilter/nf_defrag_ipv6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/netfilter/nf_reject_ipv6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/ah6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/esp6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/xfrm6_tunnel.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/tunnel6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/mip6.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/sit.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/ip6_udp_tunnel.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_ar9331.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_brcm.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_dsa.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_gswip.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_hellcreek.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_ksz.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_lan9303.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_mtk.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_none.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_ocelot.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_ocelot_8021q.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_qca.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_rtl4_a.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_rtl8_4.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_rzn1_a5psw.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_sja1105.o WARNING: modpost: missing MODULE_DESCRIPTION() in net/dsa/tag_trail
Re: [Freedreno] [PATCH 2/4] regulator: Introduce Qualcomm REFGEN regulator driver
Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 5c875096d59010cee4e00da1f9c7bdb07a025dc2] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-regulator-Describe-Qualcomm-REFGEN-regulator/20230629-003148 base: 5c875096d59010cee4e00da1f9c7bdb07a025dc2 patch link: https://lore.kernel.org/r/20230628-topic-refgen-v1-2-126e59573eeb%40linaro.org patch subject: [PATCH 2/4] regulator: Introduce Qualcomm REFGEN regulator driver config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230629/202306290533.nqqghj1w-...@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230629/202306290533.nqqghj1w-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306290533.nqqghj1w-...@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/irqflags.h:17, from include/linux/spinlock.h:59, from include/linux/kref.h:16, from include/linux/mm_types.h:8, from include/linux/buildid.h:5, from include/linux/module.h:14, from drivers/regulator/qcom-refgen-regulator.c:7: arch/loongarch/include/asm/percpu.h:20:4: error: #error compiler support for the model attribute is necessary when a recent assembler is used 20 | # error compiler support for the model attribute is necessary when a recent assembler is used |^ drivers/regulator/qcom-refgen-regulator.c: In function 'qcom_sdm845_refgen_is_enabled': >> drivers/regulator/qcom-refgen-regulator.c:64:13: error: implicit declaration >> of function 'FIELD_GET' [-Werror=implicit-function-declaration] 64 | if (FIELD_GET(REFGEN_BG_CTRL_MASK, val) != REFGEN_BG_CTRL_ENABLE) | ^ cc1: some warnings being treated as errors vim +/FIELD_GET +64 drivers/regulator/qcom-refgen-regulator.c 57 58 static int qcom_sdm845_refgen_is_enabled(struct regulator_dev *rdev) 59 { 60 struct qcom_refgen *vreg = rdev_get_drvdata(rdev); 61 u32 val; 62 63 regmap_read(vreg->base, REFGEN_REG_BG_CTRL, ); > 64 if (FIELD_GET(REFGEN_BG_CTRL_MASK, val) != REFGEN_BG_CTRL_ENABLE) 65 return 0; 66 67 regmap_read(vreg->base, REFGEN_REG_BIAS_EN, ); 68 if (FIELD_GET(REFGEN_BIAS_EN_MASK, val) != REFGEN_BIAS_EN_ENABLE) 69 return 0; 70 71 return 1; 72 } 73 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [Freedreno] [PATCH v3 2/6] drm/msm/a6xx: Use descriptive bitfield names for CP_PROTECT_CNTL
Hi Konrad, kernel test robot noticed the following build errors: [auto build test ERROR on 47045630bc409ce6606d97b790895210dd1d517d] url: https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/drm-msm-a6xx-Add-some-missing-header-definitions/20230620-004639 base: 47045630bc409ce6606d97b790895210dd1d517d patch link: https://lore.kernel.org/r/20230517-topic-a7xx_prep-v3-2-a3ce3725385b%40linaro.org patch subject: [PATCH v3 2/6] drm/msm/a6xx: Use descriptive bitfield names for CP_PROTECT_CNTL config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20230620/202306201502.pisn6tpr-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230620/202306201502.pisn6tpr-...@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306201502.pisn6tpr-...@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/msm/adreno/a6xx_gpu.c: In function 'a6xx_set_cp_protect': >> drivers/gpu/drm/msm/adreno/a6xx_gpu.c:934:19: error: >> 'A6XX_CP_PROTECT_CNTL_ACCESS_PROT_EN' undeclared (first use in this function) 934 | A6XX_CP_PROTECT_CNTL_ACCESS_PROT_EN | | ^~~ drivers/gpu/drm/msm/adreno/a6xx_gpu.c:934:19: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/msm/adreno/a6xx_gpu.c:935:19: error: >> 'A6XX_CP_PROTECT_CNTL_ACCESS_FAULT_ON_VIOL_EN' undeclared (first use in this >> function) 935 | A6XX_CP_PROTECT_CNTL_ACCESS_FAULT_ON_VIOL_EN | | ^~~~ >> drivers/gpu/drm/msm/adreno/a6xx_gpu.c:936:19: error: >> 'A6XX_CP_PROTECT_CNTL_LAST_SPAN_INF_RANGE' undeclared (first use in this >> function) 936 | A6XX_CP_PROTECT_CNTL_LAST_SPAN_INF_RANGE); | ^~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SM_GCC_8350 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_VIDEOCC_8350 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] WARNING: unmet direct dependencies detected for SM_GCC_8450 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_GPUCC_8450 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - SM_VIDEOCC_8450 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] WARNING: unmet direct dependencies detected for SM_GCC_8550 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_GPUCC_8550 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - SM_VIDEOCC_8550 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] vim +/A6XX_CP_PROTECT_CNTL_ACCESS_PROT_EN +934 drivers/gpu/drm/msm/adreno/a6xx_gpu.c 899 900 static void a6xx_set_cp_protect(struct msm_gpu *gpu) 901 { 902 struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); 903 const u32 *regs = a6xx_protect; 904 unsigned i, count, count_max; 905 906 if (adreno_is_a650(adreno_gpu)) { 907 regs = a650_protect; 908 count = ARRAY_SIZE(a650_protect); 909 count_max = 48; 910 BUILD_BUG_ON(ARRAY_SIZE(a650_protect) > 48); 911 } else if (adreno_is_a690(adreno_gpu)) { 912 regs = a690_protect; 913 count = ARRAY_SIZE(a690_protect); 914 count_max = 48; 915 BUILD_BUG_ON(ARRAY_SIZE(a690_protect) > 48); 916 } else if (adreno_is_a660_family(adreno_gpu)) { 917 regs = a660_protect; 918 count = ARRAY_SIZE(a660_protect); 919 count_max = 48; 920 BUILD_BUG_ON(ARRAY_SIZE(a660_protect) > 48); 921 } else { 922 regs = a6xx_protect; 923 count = ARRAY_SIZE(a6xx_protect); 924 count_max = 32; 925 BUILD_BUG_ON(ARRAY_SIZE(a6xx_protect) > 32); 926 } 927 928 /* 929 * Enable access protection to privileged registers, fault on an access 930 * protect violation and select the last span to protect from the start 931 * address all the way to the end of the register address space 932 */ 933
Re: [Freedreno] [Intel-gfx] [PATCH 07/11] drm/omapdrm: Use regular fbdev I/O helpers
Hi Thomas, kernel test robot noticed the following build errors: [auto build test ERROR on 451e49cfbaa90720149e63f4fa9c7824013c783d] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-armada-Use-regular-fbdev-I-O-helpers/20230512-164432 base: 451e49cfbaa90720149e63f4fa9c7824013c783d patch link: https://lore.kernel.org/r/20230512084152.31233-8-tzimmermann%40suse.de patch subject: [Intel-gfx] [PATCH 07/11] drm/omapdrm: Use regular fbdev I/O helpers config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20230513/202305130058.vuw3nbps-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/f9113ec6815b748d0b917f78527582b8b08deb40 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Zimmermann/drm-armada-Use-regular-fbdev-I-O-helpers/20230512-164432 git checkout f9113ec6815b748d0b917f78527582b8b08deb40 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/omapdrm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305130058.vuw3nbps-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/omapdrm/omap_fbdev.c:306:6: error: redefinition of >> 'omap_fbdev_setup' 306 | void omap_fbdev_setup(struct drm_device *dev) | ^~~~ In file included from drivers/gpu/drm/omapdrm/omap_fbdev.c:19: drivers/gpu/drm/omapdrm/omap_fbdev.h:17:20: note: previous definition of 'omap_fbdev_setup' with type 'void(struct drm_device *)' 17 | static inline void omap_fbdev_setup(struct drm_device *dev) |^~~~ vim +/omap_fbdev_setup +306 drivers/gpu/drm/omapdrm/omap_fbdev.c 9e69bcd88e4593 Thomas Zimmermann 2023-04-03 305 9e69bcd88e4593 Thomas Zimmermann 2023-04-03 @306 void omap_fbdev_setup(struct drm_device *dev) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v1 1/5] drm/msm/dpu: add support for DSC encoder v1.2 engine
Hi Kuogee, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc7 next-20230420] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dpu-add-support-for-DSC-encoder-v1-2-engine/20230421-072925 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1682033114-28483-2-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1 1/5] drm/msm/dpu: add support for DSC encoder v1.2 engine config: riscv-randconfig-r013-20230421 (https://download.01.org/0day-ci/archive/20230422/202304220258.dmrglaf1-...@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 437b7602e4a998220871de78afcb020b9c14a661) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/1c3eede9e4f8fc63f52eddb0c55f63d59fad4b68 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dpu-add-support-for-DSC-encoder-v1-2-engine/20230421-072925 git checkout 1c3eede9e4f8fc63f52eddb0c55f63d59fad4b68 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304220258.dmrglaf1-...@intel.com/ All error/warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c:227:24: error: call to >> undeclared function 'drm_dsc_calculate_flatness_det_thresh'; ISO C99 and >> later do not support implicit function declarations >> [-Wimplicit-function-declaration] det_thresh_flatness = drm_dsc_calculate_flatness_det_thresh(dsc); ^ >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c:124:16: warning: variable >> 'off' set but not used [-Wunused-but-set-variable] void __iomem *off; ^ 1 warning and 1 error generated. vim +/drm_dsc_calculate_flatness_det_thresh +227 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c 112 113 static void dpu_hw_dsc_config_1_2(struct dpu_hw_dsc *hw_dsc, 114struct drm_dsc_config *dsc, 115u32 mode, 116u32 initial_lines) 117 { 118 struct dpu_hw_blk_reg_map *hw; 119 u32 offset; 120 u32 data = 0; 121 u32 det_thresh_flatness; 122 u32 num_active_ss_per_enc; 123 u32 bpp; > 124 void __iomem *off; 125 126 if (!hw_dsc || !dsc) 127 return; 128 129 hw = _dsc->hw; 130 131 _dsc_subblk_offset(hw_dsc, DPU_DSC_ENC, ); 132 133 if (mode & DSC_MODE_SPLIT_PANEL) 134 data |= BIT(0); 135 136 if (mode & DSC_MODE_MULTIPLEX) 137 data |= BIT(1); 138 139 num_active_ss_per_enc = dsc->slice_count; 140 if (mode & DSC_MODE_MULTIPLEX) 141 num_active_ss_per_enc = dsc->slice_count >> 1; 142 143 data |= (num_active_ss_per_enc & 0x3) << 7; 144 145 DPU_REG_WRITE(hw, DSC_CMN_MAIN_CNF, data); 146 147 data = (initial_lines & 0xff); 148 149 if (mode & DSC_MODE_VIDEO) 150 data |= BIT(9); 151 152 data |= (_dsc_calc_ob_max_addr(hw_dsc, num_active_ss_per_enc) << 18); 153 154 DPU_REG_WRITE(hw, offset + ENC_DF_CTRL, data); 155 156 data = (dsc->dsc_version_minor & 0xf) << 28; 157 if (dsc->dsc_version_minor == 0x2) { 158 if (dsc->native_422) 159 data |= BIT(22); 160 if (dsc->native_420) 161 data |= BIT(21); 162
Re: [Freedreno] [PATCH v1 1/5] drm/msm/dpu: add support for DSC encoder v1.2 engine
Hi Kuogee, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc7 next-20230420] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dpu-add-support-for-DSC-encoder-v1-2-engine/20230421-072925 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1682033114-28483-2-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1 1/5] drm/msm/dpu: add support for DSC encoder v1.2 engine config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230421/202304211131.lqjki60t-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/1c3eede9e4f8fc63f52eddb0c55f63d59fad4b68 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dpu-add-support-for-DSC-encoder-v1-2-engine/20230421-072925 git checkout 1c3eede9e4f8fc63f52eddb0c55f63d59fad4b68 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304211131.lqjki60t-...@intel.com/ All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c: In function 'dpu_hw_dsc_config_1_2': drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c:227:31: error: implicit declaration of function 'drm_dsc_calculate_flatness_det_thresh' [-Werror=implicit-function-declaration] 227 | det_thresh_flatness = drm_dsc_calculate_flatness_det_thresh(dsc); | ^ >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c:124:23: warning: variable >> 'off' set but not used [-Wunused-but-set-variable] 124 | void __iomem *off; | ^~~ cc1: some warnings being treated as errors vim +/off +124 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc_1_2.c 112 113 static void dpu_hw_dsc_config_1_2(struct dpu_hw_dsc *hw_dsc, 114struct drm_dsc_config *dsc, 115u32 mode, 116u32 initial_lines) 117 { 118 struct dpu_hw_blk_reg_map *hw; 119 u32 offset; 120 u32 data = 0; 121 u32 det_thresh_flatness; 122 u32 num_active_ss_per_enc; 123 u32 bpp; > 124 void __iomem *off; 125 126 if (!hw_dsc || !dsc) 127 return; 128 129 hw = _dsc->hw; 130 131 _dsc_subblk_offset(hw_dsc, DPU_DSC_ENC, ); 132 133 if (mode & DSC_MODE_SPLIT_PANEL) 134 data |= BIT(0); 135 136 if (mode & DSC_MODE_MULTIPLEX) 137 data |= BIT(1); 138 139 num_active_ss_per_enc = dsc->slice_count; 140 if (mode & DSC_MODE_MULTIPLEX) 141 num_active_ss_per_enc = dsc->slice_count >> 1; 142 143 data |= (num_active_ss_per_enc & 0x3) << 7; 144 145 DPU_REG_WRITE(hw, DSC_CMN_MAIN_CNF, data); 146 147 data = (initial_lines & 0xff); 148 149 if (mode & DSC_MODE_VIDEO) 150 data |= BIT(9); 151 152 data |= (_dsc_calc_ob_max_addr(hw_dsc, num_active_ss_per_enc) << 18); 153 154 DPU_REG_WRITE(hw, offset + ENC_DF_CTRL, data); 155 156 data = (dsc->dsc_version_minor & 0xf) << 28; 157 if (dsc->dsc_version_minor == 0x2) { 158 if (dsc->native_422) 159 data |= BIT(22); 160 if (dsc->native_420) 161 data |= BIT(21); 162 } 163 164 bpp = dsc->bits_per_pixel; 165 /* as per hw requirement bpp should be programmed 166
Re: [Freedreno] [PATCH v10 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers
Hi Mark, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next-fixes] [also build test ERROR on linus/master v6.3-rc7] [cannot apply to drm-misc/drm-misc-next drm-intel/for-linux-next drm/drm-next next-20230419] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230419-234833 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230419154321.1993419-11-markyacoub%40google.com patch subject: [PATCH v10 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers config: ia64-randconfig-r011-20230416 (https://download.01.org/0day-ci/archive/20230420/202304201909.d57x63j5-...@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/6fb5b032262769c786a7a8c9ed522d936dcf14c2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230419-234833 git checkout 6fb5b032262769c786a7a8c9ed522d936dcf14c2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304201909.d57x63j5-...@intel.com/ All errors (new ones prefixed by >>): ia64-linux-ld: ia64-linux-ld: DWARF error: could not find abbrev number 1548101 drivers/gpu/drm/msm/msm_atomic.o: in function `msm_atomic_commit_tail': >> msm_atomic.c:(.text+0xe02): undefined reference to `dp_drm_is_bridge_msm_dp' >> ia64-linux-ld: msm_atomic.c:(.text+0xe22): undefined reference to >> `dp_drm_atomic_commit' ia64-linux-ld: ia64-linux-ld: DWARF error: could not find abbrev number 872 drivers/gpu/drm/msm/dp/dp_debug.o: in function `dp_hdcp_key_write': >> dp_debug.c:(.text+0xa2): undefined reference to `dp_hdcp_ingest_key' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v10 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers
Hi Mark, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next-fixes] [also build test ERROR on linus/master v6.3-rc7] [cannot apply to drm-misc/drm-misc-next drm-intel/for-linux-next drm/drm-next next-20230419] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230419-234833 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230419154321.1993419-11-markyacoub%40google.com patch subject: [PATCH v10 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers config: arm64-randconfig-r022-20230416 (https://download.01.org/0day-ci/archive/20230420/202304201512.cllnzi0u-...@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/6fb5b032262769c786a7a8c9ed522d936dcf14c2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230419-234833 git checkout 6fb5b032262769c786a7a8c9ed522d936dcf14c2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304201512.cllnzi0u-...@intel.com/ All errors (new ones prefixed by >>): aarch64-linux-ld: drivers/gpu/drm/msm/msm_atomic.o: in function `msm_atomic_commit_connectors': >> drivers/gpu/drm/msm/msm_atomic.c:193: undefined reference to >> `dp_drm_is_bridge_msm_dp' drivers/gpu/drm/msm/msm_atomic.c:193:(.text+0x1368): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dp_drm_is_bridge_msm_dp' >> aarch64-linux-ld: drivers/gpu/drm/msm/msm_atomic.c:194: undefined reference >> to `dp_drm_atomic_commit' drivers/gpu/drm/msm/msm_atomic.c:194:(.text+0x137c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dp_drm_atomic_commit' aarch64-linux-ld: drivers/gpu/drm/msm/dp/dp_debug.o: in function `dp_hdcp_key_write': >> drivers/gpu/drm/msm/dp/dp_debug.c:219: undefined reference to >> `dp_hdcp_ingest_key' drivers/gpu/drm/msm/dp/dp_debug.c:219:(.text+0x98): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dp_hdcp_ingest_key' vim +193 drivers/gpu/drm/msm/msm_atomic.c 184 185 static void msm_atomic_commit_connectors(struct drm_atomic_state *state) 186 { 187 struct drm_device *dev = state->dev; 188 struct msm_drm_private *priv = dev->dev_private; 189 int i; 190 191 for (i = 0; i < priv->num_bridges; ++i) { 192 struct drm_bridge *bridge = priv->bridges[i]; > 193 if (dp_drm_is_bridge_msm_dp(bridge)) { > 194 dp_drm_atomic_commit(bridge, state); 195 } 196 } 197 } 198 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [Intel-gfx] [PATCH v9 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers
Hi Mark, kernel test robot noticed the following build errors: [auto build test ERROR on drm-intel/for-linux-next-fixes] [also build test ERROR on linus/master v6.3-rc7] [cannot apply to drm-tip/drm-tip drm-misc/drm-misc-next drm-intel/for-linux-next drm/drm-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230411192134.508113-11-markyacoub%40google.com patch subject: [Intel-gfx] [PATCH v9 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers config: loongarch-randconfig-r015-20230417 (https://download.01.org/0day-ci/archive/20230417/202304172130.pxi8pggx-...@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/93651da28f1a578d2edab2d2b47d9935145d675f git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 git checkout 93651da28f1a578d2edab2d2b47d9935145d675f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304172130.pxi8pggx-...@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/msm_atomic.c:12:10: fatal error: dp_drm.h: No such file >> or directory 12 | #include "dp_drm.h" | ^~ compilation terminated. vim +12 drivers/gpu/drm/msm/msm_atomic.c 11 > 12 #include "dp_drm.h" 13 #include "msm_atomic_trace.h" 14 #include "msm_drv.h" 15 #include "msm_gem.h" 16 #include "msm_kms.h" 17 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v9 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check
Hi Mark, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-intel/for-linux-next-fixes] [also build test WARNING on drm/drm-next linus/master v6.3-rc6] [cannot apply to drm-tip/drm-tip drm-misc/drm-misc-next drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230411192134.508113-5-markyacoub%40google.com patch subject: [PATCH v9 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check config: i386-randconfig-s001 (https://download.01.org/0day-ci/archive/20230416/202304162307.7pcvuwlb-...@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/972a98f65fb56b3be4370593c2b81f1283750db7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 git checkout 972a98f65fb56b3be4370593c2b81f1283750db7 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304162307.7pcvuwlb-...@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/display/drm_hdcp_helper.c:675:5: sparse: sparse: symbol >> 'drm_hdcp_helper_hdcp1_capable_dp' was not declared. Should it be static? -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v9 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check
Hi Mark, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-intel/for-linux-next-fixes] [also build test WARNING on drm/drm-next linus/master v6.3-rc6 next-20230411] [cannot apply to drm-tip/drm-tip drm-misc/drm-misc-next drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230411192134.508113-5-markyacoub%40google.com patch subject: [PATCH v9 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230412/202304120709.of7bkzuf-...@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/972a98f65fb56b3be4370593c2b81f1283750db7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230412-032412 git checkout 972a98f65fb56b3be4370593c2b81f1283750db7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304120709.of7bkzuf-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_hdcp_helper.c:675:5: warning: no previous >> prototype for 'drm_hdcp_helper_hdcp1_capable_dp' [-Wmissing-prototypes] 675 | int drm_hdcp_helper_hdcp1_capable_dp(struct drm_hdcp_helper_data *data, | ^~~~ >> drivers/gpu/drm/display/drm_hdcp_helper.c:1325:5: warning: no previous >> prototype for 'drm_hdcp_hdcp1_check_link_registers_dp' [-Wmissing-prototypes] 1325 | int drm_hdcp_hdcp1_check_link_registers_dp(struct drm_device *dev, | ^~ vim +/drm_hdcp_helper_hdcp1_capable_dp +675 drivers/gpu/drm/display/drm_hdcp_helper.c 674 > 675 int drm_hdcp_helper_hdcp1_capable_dp(struct drm_hdcp_helper_data *data, 676 bool *capable) 677 { 678 int ret; 679 u8 bcaps; 680 681 ret = data->display_type_funcs->remote_read( 682 data, data->hdcp1_lut->bcaps, , 1); 683 *capable = !ret && (bcaps & DP_BCAPS_HDCP_CAPABLE); 684 685 return 0; 686 } 687 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [Intel-gfx] [PATCH v8 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers
Hi Mark, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next-fixes] [also build test ERROR on linus/master v6.3-rc4] [cannot apply to drm-misc/drm-misc-next drm-intel/for-linux-next drm/drm-next next-20230331] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230401-061425 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230331221213.1691997-11-markyacoub%40google.com patch subject: [Intel-gfx] [PATCH v8 10/10] drm/msm: Implement HDCP 1.x using the new drm HDCP helpers config: arc-randconfig-r043-20230329 (https://download.01.org/0day-ci/archive/20230401/202304011152.dsr8g6yx-...@intel.com/config) compiler: arc-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/697c762c590d862f4f6ed4a8cac97ac2de815f73 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230401-061425 git checkout 697c762c590d862f4f6ed4a8cac97ac2de815f73 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304011152.dsr8g6yx-...@intel.com/ All errors (new ones prefixed by >>): arc-elf-ld: drivers/gpu/drm/msm/msm_atomic.o: in function `msm_atomic_commit_tail': >> drivers/gpu/drm/msm/msm_atomic.c:193: undefined reference to >> `dp_drm_is_bridge_msm_dp' >> arc-elf-ld: drivers/gpu/drm/msm/msm_atomic.c:193: undefined reference to >> `dp_drm_is_bridge_msm_dp' >> arc-elf-ld: drivers/gpu/drm/msm/msm_atomic.c:194: undefined reference to >> `dp_drm_atomic_commit' >> arc-elf-ld: drivers/gpu/drm/msm/msm_atomic.c:194: undefined reference to >> `dp_drm_atomic_commit' arc-elf-ld: drivers/gpu/drm/msm/dp/dp_debug.o: in function `dp_hdcp_key_write': >> drivers/gpu/drm/msm/dp/dp_debug.c:219: undefined reference to >> `dp_hdcp_ingest_key' >> arc-elf-ld: drivers/gpu/drm/msm/dp/dp_debug.c:219: undefined reference to >> `dp_hdcp_ingest_key' vim +193 drivers/gpu/drm/msm/msm_atomic.c 184 185 static void msm_atomic_commit_connectors(struct drm_atomic_state *state) 186 { 187 struct drm_device *dev = state->dev; 188 struct msm_drm_private *priv = dev->dev_private; 189 int i; 190 191 for (i = 0; i < priv->num_bridges; ++i) { 192 struct drm_bridge *bridge = priv->bridges[i]; > 193 if (dp_drm_is_bridge_msm_dp(bridge)) { > 194 dp_drm_atomic_commit(bridge, state); 195 } 196 } 197 } 198 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v8 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check
Hi Mark, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next-fixes] [also build test WARNING on drm/drm-next linus/master v6.3-rc4 next-20230331] [cannot apply to drm-misc/drm-misc-next drm-intel/for-linux-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230401-061425 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link: https://lore.kernel.org/r/20230331221213.1691997-5-markyacoub%40google.com patch subject: [PATCH v8 04/10] drm/hdcp: Expand HDCP helper library for enable/disable/check config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20230401/202304010815.5ivfi5nv-...@intel.com/config) compiler: riscv64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/82a092e7e090cdeb3ff18498e6ad671906268631 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mark-Yacoub/drm-hdcp-Add-drm_hdcp_atomic_check/20230401-061425 git checkout 82a092e7e090cdeb3ff18498e6ad671906268631 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304010815.5ivfi5nv-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_hdcp_helper.c:719: warning: This comment starts >> with '/**', but isn't a kernel-doc comment. Refer >> Documentation/doc-guide/kernel-doc.rst * Check if the sink is capable of HDCP 1.x. DisplayPort has a dedicated bit drivers/gpu/drm/display/drm_hdcp_helper.c:742: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Check if the sink is capable of HDCP 1.x. HDMI spec states that transmitters drivers/gpu/drm/display/drm_hdcp_helper.c:1633: warning: Function parameter or member 'aux' not described in 'drm_hdcp_helper_initialize_dp' vim +719 drivers/gpu/drm/display/drm_hdcp_helper.c 717 718 /** > 719 * Check if the sink is capable of HDCP 1.x. DisplayPort has a > dedicated bit 720 * for this in DPCD. 721 * 722 * @data: pointer to the HDCP helper data. 723 * @capable: pointer to a bool which will contain true if the sink is capable. 724 * 725 * Returns: 726 * -errno if the transacation between source and sink fails. 727 */ 728 int drm_hdcp_helper_hdcp1_capable_dp(struct drm_hdcp_helper_data *data, 729 bool *capable) 730 { 731 int ret; 732 u8 bcaps; 733 734 ret = data->funcs->remote_read(data, data->hdcp1_lut->bcaps, , 1); 735 *capable = !ret && (bcaps & DP_BCAPS_HDCP_CAPABLE); 736 737 return 0; 738 } 739 EXPORT_SYMBOL(drm_hdcp_helper_hdcp1_capable_dp); 740 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH 6/6] drm/msm: Implement fbdev emulation as in-kernel client
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v6.3-rc4] [cannot apply to next-20230330] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-msm-Clear-aperture-ownership-outside-of-fbdev-code/20230330-154729 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230330074150.7637-7-tzimmermann%40suse.de patch subject: [PATCH 6/6] drm/msm: Implement fbdev emulation as in-kernel client config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230330/202303301856.zsmpwzjj-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/ec39cb11cf72fb01ada6fe51c7c572a31dcc805d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Zimmermann/drm-msm-Clear-aperture-ownership-outside-of-fbdev-code/20230330-154729 git checkout ec39cb11cf72fb01ada6fe51c7c572a31dcc805d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303301856.zsmpwzjj-...@intel.com/ All error/warnings (new ones prefixed by >>): drivers/gpu/drm/msm/msm_io_utils.c: In function '_msm_ioremap': >> drivers/gpu/drm/msm/msm_io_utils.c:72:15: error: implicit declaration of >> function 'devm_ioremap'; did you mean '_msm_ioremap'? >> [-Werror=implicit-function-declaration] 72 | ptr = devm_ioremap(>dev, res->start, size); | ^~~~ | _msm_ioremap >> drivers/gpu/drm/msm/msm_io_utils.c:72:13: warning: assignment to 'void *' >> from 'int' makes pointer from integer without a cast [-Wint-conversion] 72 | ptr = devm_ioremap(>dev, res->start, size); | ^ cc1: some warnings being treated as errors vim +72 drivers/gpu/drm/msm/msm_io_utils.c d89e5028346bd80 Dmitry Baryshkov 2022-01-20 51 d89e5028346bd80 Dmitry Baryshkov 2022-01-20 52 static void __iomem *_msm_ioremap(struct platform_device *pdev, const char *name, d89e5028346bd80 Dmitry Baryshkov 2022-01-20 53 bool quiet, phys_addr_t *psize) d89e5028346bd80 Dmitry Baryshkov 2022-01-20 54 { d89e5028346bd80 Dmitry Baryshkov 2022-01-20 55 struct resource *res; d89e5028346bd80 Dmitry Baryshkov 2022-01-20 56 unsigned long size; d89e5028346bd80 Dmitry Baryshkov 2022-01-20 57 void __iomem *ptr; d89e5028346bd80 Dmitry Baryshkov 2022-01-20 58 d89e5028346bd80 Dmitry Baryshkov 2022-01-20 59 if (name) d89e5028346bd80 Dmitry Baryshkov 2022-01-20 60 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, name); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 61 else d89e5028346bd80 Dmitry Baryshkov 2022-01-20 62 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 63 d89e5028346bd80 Dmitry Baryshkov 2022-01-20 64 if (!res) { d89e5028346bd80 Dmitry Baryshkov 2022-01-20 65 if (!quiet) d89e5028346bd80 Dmitry Baryshkov 2022-01-20 66 DRM_DEV_ERROR(>dev, "failed to get memory resource: %s\n", name); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 67 return ERR_PTR(-EINVAL); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 68 } d89e5028346bd80 Dmitry Baryshkov 2022-01-20 69 d89e5028346bd80 Dmitry Baryshkov 2022-01-20 70 size = resource_size(res); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 71 d89e5028346bd80 Dmitry Baryshkov 2022-01-20 @72 ptr = devm_ioremap(>dev, res->start, size); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 73 if (!ptr) { d89e5028346bd80 Dmitry Baryshkov 2022-01-20 74 if (!quiet) d89e5028346bd80 Dmitry Baryshkov 2022-01-20 75 DRM_DEV_ERROR(>dev, "failed to ioremap: %s\n", name); d89e5028346bd80 Dmitry Baryshkov 2022-01-20 76 return ERR_PTR(-ENOMEM); d89e5028346bd80 D
Re: [Freedreno] [PATCH 6/6] drm/msm: Implement fbdev emulation as in-kernel client
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v6.3-rc4] [cannot apply to next-20230330] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-msm-Clear-aperture-ownership-outside-of-fbdev-code/20230330-154729 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230330074150.7637-7-tzimmermann%40suse.de patch subject: [PATCH 6/6] drm/msm: Implement fbdev emulation as in-kernel client config: csky-randconfig-r011-20230329 (https://download.01.org/0day-ci/archive/20230330/202303301849.hjmnkxni-...@intel.com/config) compiler: csky-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/ec39cb11cf72fb01ada6fe51c7c572a31dcc805d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Zimmermann/drm-msm-Clear-aperture-ownership-outside-of-fbdev-code/20230330-154729 git checkout ec39cb11cf72fb01ada6fe51c7c572a31dcc805d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303301849.hjmnkxni-...@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/msm/msm_drv.c: In function 'msm_drm_init': >> drivers/gpu/drm/msm/msm_drv.c:538:20: error: 'fbdev' undeclared (first use >> in this function) 538 | if (kms && fbdev) |^ drivers/gpu/drm/msm/msm_drv.c:538:20: note: each undeclared identifier is reported only once for each function it appears in vim +/fbdev +538 drivers/gpu/drm/msm/msm_drv.c 398 399 static int msm_drm_init(struct device *dev, const struct drm_driver *drv) 400 { 401 struct msm_drm_private *priv = dev_get_drvdata(dev); 402 struct drm_device *ddev; 403 struct msm_kms *kms; 404 int ret, i; 405 406 if (drm_firmware_drivers_only()) 407 return -ENODEV; 408 409 /* the fw fb could be anywhere in memory */ 410 ret = drm_aperture_remove_framebuffers(false, drv); 411 if (ret) 412 return ret; 413 414 ddev = drm_dev_alloc(drv, dev); 415 if (IS_ERR(ddev)) { 416 DRM_DEV_ERROR(dev, "failed to allocate drm_device\n"); 417 return PTR_ERR(ddev); 418 } 419 ddev->dev_private = priv; 420 priv->dev = ddev; 421 422 priv->wq = alloc_ordered_workqueue("msm", 0); 423 if (!priv->wq) 424 return -ENOMEM; 425 426 INIT_LIST_HEAD(>objects); 427 mutex_init(>obj_lock); 428 429 /* 430 * Initialize the LRUs: 431 */ 432 mutex_init(>lru.lock); 433 drm_gem_lru_init(>lru.unbacked, >lru.lock); 434 drm_gem_lru_init(>lru.pinned, >lru.lock); 435 drm_gem_lru_init(>lru.willneed, >lru.lock); 436 drm_gem_lru_init(>lru.dontneed, >lru.lock); 437 438 /* Teach lockdep about lock ordering wrt. shrinker: */ 439 fs_reclaim_acquire(GFP_KERNEL); 440 might_lock(>lru.lock); 441 fs_reclaim_release(GFP_KERNEL); 442 443 drm_mode_config_init(ddev); 444 445 ret = msm_init_vram(ddev); 446 if (ret) 447 goto err_drm_dev_put; 448 449 /* Bind all our sub-components: */ 450 ret = component_bind_all(dev, ddev); 451 if (ret) 452 goto err_drm_dev_put; 453 454 dma_set_max_seg_size(dev, UINT_MAX); 455 456 msm_gem_shrinker_init(ddev); 457 458 if (priv->kms_init) { 459 ret = priv->kms_init(ddev); 460 if (ret) { 461 DRM_DEV_ERROR(dev, "failed to load kms\n"); 462
Re: [Freedreno] [PATCH v2 18/23] PM / QoS: Decouple request alloc from dev_pm_qos_mtx
Hi Rob, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on rafael-pm/linux-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc3 next-20230320] [cannot apply to chanwoo/devfreq-testing] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rob-Clark/drm-msm-Pre-allocate-hw_fence/20230320-224826 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230320144356.803762-19-robdclark%40gmail.com patch subject: [PATCH v2 18/23] PM / QoS: Decouple request alloc from dev_pm_qos_mtx config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20230321/202303210420.9g2z6mgo-...@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/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/2d7e4629d7265d7e77fc72d01e84d27d805b7485 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rob-Clark/drm-msm-Pre-allocate-hw_fence/20230320-224826 git checkout 2d7e4629d7265d7e77fc72d01e84d27d805b7485 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/base/power/ drivers/char/tpm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303210420.9g2z6mgo-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/base/power/qos.c:947:8: warning: variable 'req' is uninitialized >> when used here [-Wuninitialized] if (!req) { ^~~ drivers/base/power/qos.c:938:33: note: initialize the variable 'req' to silence this warning struct dev_pm_qos_request *req; ^ = NULL 1 warning generated. vim +/req +947 drivers/base/power/qos.c 2d984ad132a87c Rafael J. Wysocki 2014-02-11 917 2d984ad132a87c Rafael J. Wysocki 2014-02-11 918 /** 2d984ad132a87c Rafael J. Wysocki 2014-02-11 919 * dev_pm_qos_update_user_latency_tolerance - Update user space latency tolerance. 2d984ad132a87c Rafael J. Wysocki 2014-02-11 920 * @dev: Device to update the user space latency tolerance for. 2d984ad132a87c Rafael J. Wysocki 2014-02-11 921 * @val: New user space latency tolerance for @dev (negative values disable). 2d984ad132a87c Rafael J. Wysocki 2014-02-11 922 */ 2d984ad132a87c Rafael J. Wysocki 2014-02-11 923 int dev_pm_qos_update_user_latency_tolerance(struct device *dev, s32 val) 2d984ad132a87c Rafael J. Wysocki 2014-02-11 924 { 2d7e4629d7265d Rob Clark 2023-03-20 925struct dev_pm_qos_request *req = NULL; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 926int ret; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 927 00dd582e52a535 Rob Clark 2023-03-20 928ret = dev_pm_qos_constraints_ensure_allocated(dev); 00dd582e52a535 Rob Clark 2023-03-20 929if (ret) 00dd582e52a535 Rob Clark 2023-03-20 930return ret; 00dd582e52a535 Rob Clark 2023-03-20 931 2d7e4629d7265d Rob Clark 2023-03-20 932if (!dev->power.qos->latency_tolerance_req) 2d7e4629d7265d Rob Clark 2023-03-20 933req = kzalloc(sizeof(*req), GFP_KERNEL); 2d7e4629d7265d Rob Clark 2023-03-20 934 2d984ad132a87c Rafael J. Wysocki 2014-02-11 935 mutex_lock(_pm_qos_mtx); 2d984ad132a87c Rafael J. Wysocki 2014-02-11 936 00dd582e52a535 Rob Clark 2023-03-20 937if (!dev->power.qos->latency_tolerance_req) { 2d984ad132a87c Rafael J. Wysocki 2014-02-11 938struct dev_pm_qos_request *req; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 939 2d984ad132a87c Rafael J. Wysocki 2014-02-11 940if (val < 0) { 80a6f7c79b7822 Andrew Lutomirski 2016-11-29 941if (val == PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT) 80a6f7c79b7822 Andrew Lutomirski 2016-11-29 942 ret = 0; 80a6f7c79b7822 Andrew Lutomirski 2016-11-29 943else 2d984ad
Re: [Freedreno] [PATCH v2 18/23] PM / QoS: Decouple request alloc from dev_pm_qos_mtx
Hi Rob, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on rafael-pm/linux-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.3-rc3 next-20230320] [cannot apply to chanwoo/devfreq-testing] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rob-Clark/drm-msm-Pre-allocate-hw_fence/20230320-224826 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230320144356.803762-19-robdclark%40gmail.com patch subject: [PATCH v2 18/23] PM / QoS: Decouple request alloc from dev_pm_qos_mtx config: arm-randconfig-r005-20230319 (https://download.01.org/0day-ci/archive/20230321/202303210444.qtybv08z-...@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/intel-lab-lkp/linux/commit/2d7e4629d7265d7e77fc72d01e84d27d805b7485 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rob-Clark/drm-msm-Pre-allocate-hw_fence/20230320-224826 git checkout 2d7e4629d7265d7e77fc72d01e84d27d805b7485 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/base/power/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303210444.qtybv08z-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/base/power/qos.c:947:8: warning: variable 'req' is uninitialized >> when used here [-Wuninitialized] if (!req) { ^~~ drivers/base/power/qos.c:938:33: note: initialize the variable 'req' to silence this warning struct dev_pm_qos_request *req; ^ = NULL 1 warning generated. vim +/req +947 drivers/base/power/qos.c 2d984ad132a87c Rafael J. Wysocki 2014-02-11 917 2d984ad132a87c Rafael J. Wysocki 2014-02-11 918 /** 2d984ad132a87c Rafael J. Wysocki 2014-02-11 919 * dev_pm_qos_update_user_latency_tolerance - Update user space latency tolerance. 2d984ad132a87c Rafael J. Wysocki 2014-02-11 920 * @dev: Device to update the user space latency tolerance for. 2d984ad132a87c Rafael J. Wysocki 2014-02-11 921 * @val: New user space latency tolerance for @dev (negative values disable). 2d984ad132a87c Rafael J. Wysocki 2014-02-11 922 */ 2d984ad132a87c Rafael J. Wysocki 2014-02-11 923 int dev_pm_qos_update_user_latency_tolerance(struct device *dev, s32 val) 2d984ad132a87c Rafael J. Wysocki 2014-02-11 924 { 2d7e4629d7265d Rob Clark 2023-03-20 925struct dev_pm_qos_request *req = NULL; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 926int ret; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 927 00dd582e52a535 Rob Clark 2023-03-20 928ret = dev_pm_qos_constraints_ensure_allocated(dev); 00dd582e52a535 Rob Clark 2023-03-20 929if (ret) 00dd582e52a535 Rob Clark 2023-03-20 930return ret; 00dd582e52a535 Rob Clark 2023-03-20 931 2d7e4629d7265d Rob Clark 2023-03-20 932if (!dev->power.qos->latency_tolerance_req) 2d7e4629d7265d Rob Clark 2023-03-20 933req = kzalloc(sizeof(*req), GFP_KERNEL); 2d7e4629d7265d Rob Clark 2023-03-20 934 2d984ad132a87c Rafael J. Wysocki 2014-02-11 935 mutex_lock(_pm_qos_mtx); 2d984ad132a87c Rafael J. Wysocki 2014-02-11 936 00dd582e52a535 Rob Clark 2023-03-20 937if (!dev->power.qos->latency_tolerance_req) { 2d984ad132a87c Rafael J. Wysocki 2014-02-11 938struct dev_pm_qos_request *req; 2d984ad132a87c Rafael J. Wysocki 2014-02-11 939 2d984ad132a87c Rafael J. Wysocki 2014-02-11 940if (val < 0) { 80a6f7c79b7822 Andrew Lutomirski 2016-11-29 941if (val == PM_QOS_LATENCY_TOLERANCE_NO_CONSTRAINT) 80a6f7c79b7822 Andrew Lutomirski 2016-11-29 942 ret = 0; 80a6f7c
Re: [Freedreno] [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next v6.2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230228113342.2051425-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper config: x86_64-randconfig-a002-20230227 (https://download.01.org/0day-ci/archive/20230228/202302282241.qrmajdx8-...@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/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 git checkout ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302282241.qrmajdx8-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dsc_helper.c:635: warning: expecting prototype >> for drm_dsc_compute_rc_parameters(). Prototype was for >> drm_dsc_setup_rc_params() instead vim +635 drivers/gpu/drm/display/drm_dsc_helper.c 627 628 /** 629 * drm_dsc_compute_rc_parameters() - Set parameters and limits for RC model in 630 * accordance with the DSC 1.1 or 1.2 specification and DSC C Model 631 * 632 * @vdsc_cfg: DSC Configuration data partially filled by driver 633 */ 634 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg) > 635 { 636 const struct rc_parameters *rc_params; 637 int i; 638 639 /* fractional BPP is not supported */ 640 if (vdsc_cfg->bits_per_pixel & 0xf) 641 return -EINVAL; 642 643 rc_params = get_rc_params(vdsc_cfg->bits_per_pixel >> 4, 644vdsc_cfg->bits_per_component); 645 if (!rc_params) 646 return -EINVAL; 647 648 vdsc_cfg->first_line_bpg_offset = rc_params->first_line_bpg_offset; 649 vdsc_cfg->initial_xmit_delay = rc_params->initial_xmit_delay; 650 vdsc_cfg->initial_offset = rc_params->initial_offset; 651 vdsc_cfg->flatness_min_qp = rc_params->flatness_min_qp; 652 vdsc_cfg->flatness_max_qp = rc_params->flatness_max_qp; 653 vdsc_cfg->rc_quant_incr_limit0 = rc_params->rc_quant_incr_limit0; 654 vdsc_cfg->rc_quant_incr_limit1 = rc_params->rc_quant_incr_limit1; 655 656 for (i = 0; i < DSC_NUM_BUF_RANGES; i++) { 657 vdsc_cfg->rc_range_params[i].range_min_qp = 658 rc_params->rc_range_params[i].range_min_qp; 659 vdsc_cfg->rc_range_params[i].range_max_qp = 660 rc_params->rc_range_params[i].range_max_qp; 661 /* 662 * Range BPG Offset uses 2's complement and is only a 6 bits. So 663 * mask it to get only 6 bits. 664 */ 665 vdsc_cfg->rc_range_params[i].range_bpg_offset = 666 rc_params->rc_range_params[i].range_bpg_offset & 667 DSC_RANGE_BPG_OFFSET_MASK; 668 } 669 670 return 0; 671 } 672 EXPORT_SYMBOL(drm_dsc_setup_rc_params); 673 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next linus/master v6.2 next-20230228] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230228113342.2051425-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230228/202302282203.ghupsryf-...@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 git checkout ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302282203.ghupsryf-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dsc_helper.c:635: warning: expecting prototype >> for drm_dsc_compute_rc_parameters(). Prototype was for >> drm_dsc_setup_rc_params() instead vim +635 drivers/gpu/drm/display/drm_dsc_helper.c 627 628 /** 629 * drm_dsc_compute_rc_parameters() - Set parameters and limits for RC model in 630 * accordance with the DSC 1.1 or 1.2 specification and DSC C Model 631 * 632 * @vdsc_cfg: DSC Configuration data partially filled by driver 633 */ 634 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg) > 635 { 636 const struct rc_parameters *rc_params; 637 int i; 638 639 /* fractional BPP is not supported */ 640 if (vdsc_cfg->bits_per_pixel & 0xf) 641 return -EINVAL; 642 643 rc_params = get_rc_params(vdsc_cfg->bits_per_pixel >> 4, 644vdsc_cfg->bits_per_component); 645 if (!rc_params) 646 return -EINVAL; 647 648 vdsc_cfg->first_line_bpg_offset = rc_params->first_line_bpg_offset; 649 vdsc_cfg->initial_xmit_delay = rc_params->initial_xmit_delay; 650 vdsc_cfg->initial_offset = rc_params->initial_offset; 651 vdsc_cfg->flatness_min_qp = rc_params->flatness_min_qp; 652 vdsc_cfg->flatness_max_qp = rc_params->flatness_max_qp; 653 vdsc_cfg->rc_quant_incr_limit0 = rc_params->rc_quant_incr_limit0; 654 vdsc_cfg->rc_quant_incr_limit1 = rc_params->rc_quant_incr_limit1; 655 656 for (i = 0; i < DSC_NUM_BUF_RANGES; i++) { 657 vdsc_cfg->rc_range_params[i].range_min_qp = 658 rc_params->rc_range_params[i].range_min_qp; 659 vdsc_cfg->rc_range_params[i].range_max_qp = 660 rc_params->rc_range_params[i].range_max_qp; 661 /* 662 * Range BPG Offset uses 2's complement and is only a 6 bits. So 663 * mask it to get only 6 bits. 664 */ 665 vdsc_cfg->rc_range_params[i].range_bpg_offset = 666 rc_params->rc_range_params[i].range_bpg_offset & 667 DSC_RANGE_BPG_OFFSET_MASK; 668 } 669 670 return 0; 671 } 672 EXPORT_SYMBOL(drm_dsc_setup_rc_params); 673 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [v1 3/3] drm/msm/disp/dpu1: reserve the resources on topology change
Hi Kalyan, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.2-rc6] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kalyan-Thota/drm-msm-disp-dpu1-clear-dspp-reservations-in-rm-release/20230130-232224 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1675092092-26412-4-git-send-email-quic_kalyant%40quicinc.com patch subject: [v1 3/3] drm/msm/disp/dpu1: reserve the resources on topology change config: arm64-randconfig-r034-20230129 (https://download.01.org/0day-ci/archive/20230202/202302022254.37xyfgnr-...@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/4c49c3233fc18f3b746a96b5ff4ce5008da3bfec git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kalyan-Thota/drm-msm-disp-dpu1-clear-dspp-reservations-in-rm-release/20230130-232224 git checkout 4c49c3233fc18f3b746a96b5ff4ce5008da3bfec # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:2091:6: error: conflicting types >> for 'dpu_encoder_prepare_commit'; have 'void(struct drm_encoder *)' 2091 | void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc) | ^~ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h:19, from drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:29: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h:155:6: note: previous declaration of 'dpu_encoder_prepare_commit' with type 'void(struct drm_encoder *, struct drm_crtc_state *)' 155 | void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc, | ^~ -- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function 'dpu_kms_prepare_commit': >> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:443:25: error: too few arguments to >> function 'dpu_encoder_prepare_commit' 443 | dpu_encoder_prepare_commit(encoder); | ^~ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:30: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h:155:6: note: declared here 155 | void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc, | ^~ vim +2091 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ae4d721ce10057 Abhinav Kumar 2022-04-26 2090 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 @2091 void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc) 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2092 { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2093 struct dpu_encoder_virt *dpu_enc; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2094 struct dpu_encoder_phys *phys; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2095 int i; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2096 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2097 if (!drm_enc) { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2098 DPU_ERROR("invalid encoder\n"); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2099 return; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2100 } 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2101 dpu_enc = to_dpu_encoder_virt(drm_enc); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2102 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2103 for (i = 0; i < dpu_enc->num_phys_encs; i++) { 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2104 phys = dpu_enc->phys_encs[i]; b6fadcade62704 Drew Davenport2019-12-06 2105 if (phys->ops.prepare_commit) 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2106 phys->ops.prepare_commit(phys); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2107 } 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 2108 } 25fdd5933e4c0f Jeykumar Sank
Re: [Freedreno] [v1 3/3] drm/msm/disp/dpu1: reserve the resources on topology change
Hi Kalyan, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.2-rc6 next-20230201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kalyan-Thota/drm-msm-disp-dpu1-clear-dspp-reservations-in-rm-release/20230130-232224 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/1675092092-26412-4-git-send-email-quic_kalyant%40quicinc.com patch subject: [v1 3/3] drm/msm/disp/dpu1: reserve the resources on topology change config: riscv-randconfig-r042-20230130 (https://download.01.org/0day-ci/archive/20230202/202302021238.o9yx7mks-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/4c49c3233fc18f3b746a96b5ff4ce5008da3bfec git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kalyan-Thota/drm-msm-disp-dpu1-clear-dspp-reservations-in-rm-release/20230130-232224 git checkout 4c49c3233fc18f3b746a96b5ff4ce5008da3bfec # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:2091:6: error: conflicting types >> for 'dpu_encoder_prepare_commit' void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc) ^ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h:155:6: note: previous declaration is here void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc, ^ 1 error generated. -- >> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:443:38: error: too few arguments to >> function call, expected 2, have 1 dpu_encoder_prepare_commit(encoder); ~~^ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h:155:6: note: 'dpu_encoder_prepare_commit' declared here void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc, ^ 1 error generated. vim +/dpu_encoder_prepare_commit +2091 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ae4d721ce10057a Abhinav Kumar 2022-04-26 2090 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 @2091 void dpu_encoder_prepare_commit(struct drm_encoder *drm_enc) 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2092 { 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2093 struct dpu_encoder_virt *dpu_enc; 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2094 struct dpu_encoder_phys *phys; 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2095 int i; 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2096 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2097 if (!drm_enc) { 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2098 DPU_ERROR("invalid encoder\n"); 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2099 return; 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2100 } 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2101 dpu_enc = to_dpu_encoder_virt(drm_enc); 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2102 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2103 for (i = 0; i < dpu_enc->num_phys_encs; i++) { 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2104 phys = dpu_enc->phys_encs[i]; b6fadcade627040 Drew Davenport2019-12-06 2105 if (phys->ops.prepare_commit) 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2106 phys->ops.prepare_commit(phys); 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2107 } 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2108 } 25fdd5933e4c0f5 Jeykumar Sankaran 2018-06-27 2109 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [Intel-gfx] [PATCH v2 06/10] drm/fb-helper: Initialize fb-helper's preferred BPP in prepare function
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on 7d3e7f64a42d66ba8da6e7b66a8d85457ef84570] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-client-Test-for-connectors-before-sending-hotplug-event/20230124-214220 base: 7d3e7f64a42d66ba8da6e7b66a8d85457ef84570 patch link: https://lore.kernel.org/r/20230124134010.30263-7-tzimmermann%40suse.de patch subject: [Intel-gfx] [PATCH v2 06/10] drm/fb-helper: Initialize fb-helper's preferred BPP in prepare function config: x86_64-randconfig-a014-20230123 (https://download.01.org/0day-ci/archive/20230125/202301252016.vm7ksfra-...@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/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/70e38534e74e4d12bb02b3b352bba2aed417f541 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Zimmermann/drm-client-Test-for-connectors-before-sending-hotplug-event/20230124-214220 git checkout 70e38534e74e4d12bb02b3b352bba2aed417f541 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/gma500/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/gma500/framebuffer.c:412:44: error: too many arguments to >> function call, expected 3, have 4 drm_fb_helper_prepare(dev, fb_helper, 32, _fb_helper_funcs); ~ ^~~~ include/drm/drm_fb_helper.h:295:20: note: 'drm_fb_helper_prepare' declared here static inline void drm_fb_helper_prepare(struct drm_device *dev, ^ >> drivers/gpu/drm/gma500/framebuffer.c:421:46: error: too few arguments to >> function call, expected 2, have 1 ret = drm_fb_helper_initial_config(fb_helper); ^ include/drm/drm_fb_helper.h:459:19: note: 'drm_fb_helper_initial_config' declared here static inline int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, ^ 2 errors generated. vim +412 drivers/gpu/drm/gma500/framebuffer.c 397 398 int psb_fbdev_init(struct drm_device *dev) 399 { 400 struct drm_fb_helper *fb_helper; 401 struct drm_psb_private *dev_priv = to_drm_psb_private(dev); 402 int ret; 403 404 fb_helper = kzalloc(sizeof(*fb_helper), GFP_KERNEL); 405 if (!fb_helper) { 406 dev_err(dev->dev, "no memory\n"); 407 return -ENOMEM; 408 } 409 410 dev_priv->fb_helper = fb_helper; 411 > 412 drm_fb_helper_prepare(dev, fb_helper, 32, _fb_helper_funcs); 413 414 ret = drm_fb_helper_init(dev, fb_helper); 415 if (ret) 416 goto free; 417 418 /* disable all the possible outputs/crtcs before entering KMS mode */ 419 drm_helper_disable_unused_functions(dev); 420 > 421 ret = drm_fb_helper_initial_config(fb_helper); 422 if (ret) 423 goto fini; 424 425 return 0; 426 427 fini: 428 drm_fb_helper_fini(fb_helper); 429 free: 430 kfree(fb_helper); 431 return ret; 432 } 433 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [Intel-gfx] [PATCH v2 06/10] drm/fb-helper: Initialize fb-helper's preferred BPP in prepare function
Hi Thomas, I love your patch! Yet something to improve: [auto build test ERROR on 7d3e7f64a42d66ba8da6e7b66a8d85457ef84570] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-client-Test-for-connectors-before-sending-hotplug-event/20230124-214220 base: 7d3e7f64a42d66ba8da6e7b66a8d85457ef84570 patch link: https://lore.kernel.org/r/20230124134010.30263-7-tzimmermann%40suse.de patch subject: [Intel-gfx] [PATCH v2 06/10] drm/fb-helper: Initialize fb-helper's preferred BPP in prepare function config: riscv-randconfig-r042-20230123 (https://download.01.org/0day-ci/archive/20230125/202301251250.eyin4zjn-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/70e38534e74e4d12bb02b3b352bba2aed417f541 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Thomas-Zimmermann/drm-client-Test-for-connectors-before-sending-hotplug-event/20230124-214220 git checkout 70e38534e74e4d12bb02b3b352bba2aed417f541 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/drm/radeon/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/radeon/radeon_fb.c:352:10: error: too many arguments to >> function call, expected 3, have 4 _fb_helper_funcs); ^~~ include/drm/drm_fb_helper.h:295:20: note: 'drm_fb_helper_prepare' declared here static inline void drm_fb_helper_prepare(struct drm_device *dev, ^ >> drivers/gpu/drm/radeon/radeon_fb.c:361:52: error: too few arguments to >> function call, expected 2, have 1 ret = drm_fb_helper_initial_config(>helper); ^ include/drm/drm_fb_helper.h:459:19: note: 'drm_fb_helper_initial_config' declared here static inline int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, ^ 2 errors generated. vim +352 drivers/gpu/drm/radeon/radeon_fb.c 386516744ba45d Dave Airlie 2010-03-30 326 386516744ba45d Dave Airlie 2010-03-30 327 int radeon_fbdev_init(struct radeon_device *rdev) 386516744ba45d Dave Airlie 2010-03-30 328 { 8be48d924c307e Dave Airlie 2010-03-30 329struct radeon_fbdev *rfbdev; 4abe35204af82a Dave Airlie 2010-03-30 330int bpp_sel = 32; 5a79395b2791cc Chris Wilson 2010-06-06 331int ret; 4abe35204af82a Dave Airlie 2010-03-30 332 e5f243bd2edd95 Alex Deucher 2016-03-10 333/* don't enable fbdev if no connectors */ e5f243bd2edd95 Alex Deucher 2016-03-10 334if (list_empty(>ddev->mode_config.connector_list)) e5f243bd2edd95 Alex Deucher 2016-03-10 335return 0; e5f243bd2edd95 Alex Deucher 2016-03-10 336 7b8bd6bb4298ac Egbert Eich 2017-07-18 337/* select 8 bpp console on 8MB cards, or 16 bpp on RN50 or 32MB */ 7b8bd6bb4298ac Egbert Eich 2017-07-18 338if (rdev->mc.real_vram_size <= (8*1024*1024)) 4abe35204af82a Dave Airlie 2010-03-30 339bpp_sel = 8; 7b8bd6bb4298ac Egbert Eich 2017-07-18 340else if (ASIC_IS_RN50(rdev) || 7b8bd6bb4298ac Egbert Eich 2017-07-18 341 rdev->mc.real_vram_size <= (32*1024*1024)) 7b8bd6bb4298ac Egbert Eich 2017-07-18 342bpp_sel = 16; 8be48d924c307e Dave Airlie 2010-03-30 343 8be48d924c307e Dave Airlie 2010-03-30 344rfbdev = kzalloc(sizeof(struct radeon_fbdev), GFP_KERNEL); 8be48d924c307e Dave Airlie 2010-03-30 345if (!rfbdev) 8be48d924c307e Dave Airlie 2010-03-30 346return -ENOMEM; 771fe6b912fca5 Jerome Glisse 2009-06-05 347 8be48d924c307e Dave Airlie 2010-03-30 348rfbdev->rdev = rdev; 8be48d924c307e Dave Airlie 2010-03-30 349rdev->mode_info.rfbdev = rfbdev; 10a231026574f9 Thierry Reding2014-06-27 350 70e38534e74e4d Thomas Zimmermann 2023-01-24 351 drm_fb_helper_prepare(rdev->ddev, >helper, bpp_sel, 10a231026574f9 Thierry Reding2014-06-
Re: [Freedreno] [Intel-gfx] [PATCH 3/3] drm/connector: move ELD and video/audio latencies to display info
Hi Jani, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-connector-move-HDR-sink-metadata-to-display-info/20230124-174322 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230124094154.2282778-3-jani.nikula%40intel.com patch subject: [Intel-gfx] [PATCH 3/3] drm/connector: move ELD and video/audio latencies to display info config: hexagon-randconfig-r045-20230123 (https://download.01.org/0day-ci/archive/20230124/202301242053.vcyjqiue-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/1e92b5478cfc1b0df6615365217e9548b0d5 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jani-Nikula/drm-connector-move-HDR-sink-metadata-to-display-info/20230124-174322 git checkout 1e92b5478cfc1b0df6615365217e9548b0d5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/bridge/ drivers/gpu/drm/i2c/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/bridge/sii902x.c:17: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from drivers/gpu/drm/bridge/sii902x.c:17: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from drivers/gpu/drm/bridge/sii902x.c:17: In file included from include/linux/i2c.h:19: In file included from include/linux/regulator/consumer.h:35: In file included from include/linux/suspend.h:5: In file included from include/linux/swap.h:9: In file
Re: [Freedreno] [Intel-gfx] [PATCH 3/3] drm/connector: move ELD and video/audio latencies to display info
Hi Jani, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-connector-move-HDR-sink-metadata-to-display-info/20230124-174322 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230124094154.2282778-3-jani.nikula%40intel.com patch subject: [Intel-gfx] [PATCH 3/3] drm/connector: move ELD and video/audio latencies to display info config: arm-defconfig (https://download.01.org/0day-ci/archive/20230124/202301242049.ekzx7rzz-...@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/1e92b5478cfc1b0df6615365217e9548b0d5 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jani-Nikula/drm-connector-move-HDR-sink-metadata-to-display-info/20230124-174322 git checkout 1e92b5478cfc1b0df6615365217e9548b0d5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/tegra/hdmi.c: In function 'tegra_hdmi_write_eld': >> drivers/gpu/drm/tegra/hdmi.c:620:60: error: 'struct drm_connector' has no >> member named 'eld' 620 | size_t length = drm_eld_size(hdmi->output.connector.eld), i; |^ drivers/gpu/drm/tegra/hdmi.c:624:72: error: 'struct drm_connector' has no member named 'eld' 624 | tegra_hdmi_writel(hdmi, i << 8 | hdmi->output.connector.eld[i], | ^ -- drivers/gpu/drm/tegra/sor.c: In function 'tegra_sor_write_eld': >> drivers/gpu/drm/tegra/sor.c:1951:59: error: 'struct drm_connector' has no >> member named 'eld' 1951 | size_t length = drm_eld_size(sor->output.connector.eld), i; | ^ drivers/gpu/drm/tegra/sor.c:1954:69: error: 'struct drm_connector' has no member named 'eld' 1954 | tegra_sor_writel(sor, i << 8 | sor->output.connector.eld[i], | ^ vim +620 drivers/gpu/drm/tegra/hdmi.c edec4af4c3d6d2 Thierry Reding 2012-11-15 617 5234549b93aa2a Thierry Reding 2015-08-07 618 static void tegra_hdmi_write_eld(struct tegra_hdmi *hdmi) 5234549b93aa2a Thierry Reding 2015-08-07 619 { 5234549b93aa2a Thierry Reding 2015-08-07 @620 size_t length = drm_eld_size(hdmi->output.connector.eld), i; 5234549b93aa2a Thierry Reding 2015-08-07 621 u32 value; edec4af4c3d6d2 Thierry Reding 2012-11-15 622 5234549b93aa2a Thierry Reding 2015-08-07 623 for (i = 0; i < length; i++) 5234549b93aa2a Thierry Reding 2015-08-07 624 tegra_hdmi_writel(hdmi, i << 8 | hdmi->output.connector.eld[i], 5234549b93aa2a Thierry Reding 2015-08-07 625 HDMI_NV_PDISP_SOR_AUDIO_HDA_ELD_BUFWR); edec4af4c3d6d2 Thierry Reding 2012-11-15 626 5234549b93aa2a Thierry Reding 2015-08-07 627 /* 5234549b93aa2a Thierry Reding 2015-08-07 628* The HDA codec will always report an ELD buffer size of 96 bytes and 5234549b93aa2a Thierry Reding 2015-08-07 629* the HDA codec driver will check that each byte read from the buffer 5234549b93aa2a Thierry Reding 2015-08-07 630* is valid. Therefore every byte must be written, even if no 96 bytes 5234549b93aa2a Thierry Reding 2015-08-07 631* were parsed from EDID. 5234549b93aa2a Thierry Reding 2015-08-07 632*/ 5234549b93aa2a Thierry Reding 2015-08-07 633 for (i = length; i < HDMI_ELD_BUFFER_SIZE; i++) 5234549b93aa2a Thierry Reding 2015-08-07 634 tegra_hdmi_writel(hdmi, i << 8 | 0, 5234549b93aa2a Thierry Reding 2015-08-07 635 HDMI_NV_PDISP_SOR_AUDIO_HDA_ELD_BUFWR); 5234549b93aa2a Thierry Reding 2015-08-07 636 5234549b93aa2a Thierry Reding 2015-08-07 637 value = SOR_AUDIO_HDA_PRESENSE_VALID | SOR_AUDIO_HDA_PRESENSE_PRESENT; 5234549b93aa2a Thierry Reding 2015-08-07 638 tegra_hdmi_writel(hdmi, value, HDMI_NV_PDISP_SOR_AUDIO_HDA_PRESENSE); edec4af4c3d6d2 Thierry Reding 2012-11-15 639 } edec4af4c3d6d2 Thierry Reding 2012-11-15 640 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v1 04/14] drm/msm/dp: correct configure Colorimetry Indicator Field at MISC0
Hi Kuogee, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20230123] [also build test WARNING on linus/master v6.2-rc5] [cannot apply to drm-misc/drm-misc-next drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.2-rc5 v6.2-rc4 v6.2-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 patch link: https://lore.kernel.org/r/1674498274-6010-5-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1 04/14] drm/msm/dp: correct configure Colorimetry Indicator Field at MISC0 config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230124/202301240836.ik3aytbc-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/834f569a141af42cb93424c24e7d146f3b88405b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 git checkout 834f569a141af42cb93424c24e7d146f3b88405b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/dp/dp_panel.c:571: warning: This comment starts with >> '/**', but isn't a kernel-doc comment. Refer >> Documentation/doc-guide/kernel-doc.rst * Mapper function which outputs colorimetry to be used for a vim +571 drivers/gpu/drm/msm/dp/dp_panel.c 569 570 /** > 571 * Mapper function which outputs colorimetry to be used for a 572 * given colorspace value when misc field of MSA is used to 573 * change the colorimetry. Currently only RGB formats have been 574 * added. This API will be extended to YUV once its supported on DP. 575 */ 576 u8 dp_panel_get_misc_colorimetry_val(struct dp_panel *dp_panel) 577 { 578 u8 colorimetry; 579 u32 colorspace; 580 u32 cc; 581 struct dp_panel_private *panel; 582 583 panel = container_of(dp_panel, struct dp_panel_private, dp_panel); 584 585 cc = dp_link_get_colorimetry_config(panel->link); 586 /* 587 * If there is a non-zero value then compliance test-case 588 * is going on, otherwise we can honor the colorspace setting 589 */ 590 if (cc) 591 return cc; 592 593 colorspace = dp_panel->connector->state->colorspace; 594 switch (colorspace) { 595 case DRM_MODE_COLORIMETRY_DCI_P3_RGB_D65: 596 case DRM_MODE_COLORIMETRY_DCI_P3_RGB_THEATER: 597 colorimetry = 0x7; 598 break; 599 case DRM_MODE_COLORIMETRY_RGB_WIDE_FIXED: 600 colorimetry = 0x3; 601 break; 602 case DRM_MODE_COLORIMETRY_RGB_WIDE_FLOAT: 603 colorimetry = 0xb; 604 break; 605 case DRM_MODE_COLORIMETRY_OPRGB: 606 colorimetry = 0xc; 607 break; 608 default: 609 colorimetry = 0; 610 } 611 612 return colorimetry; 613 } 614 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v1 05/14] drm/msm/dp: upgrade tu calculation base on newest algorithm
Hi Kuogee, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20230123] [also build test WARNING on linus/master v6.2-rc5] [cannot apply to drm-misc/drm-misc-next drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.2-rc5 v6.2-rc4 v6.2-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 patch link: https://lore.kernel.org/r/1674498274-6010-6-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1 05/14] drm/msm/dp: upgrade tu calculation base on newest algorithm config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230124/202301240854.5yjvg3rr-...@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/286a3dd6028ada56b471b5cb977f5ed461b094e4 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 git checkout 286a3dd6028ada56b471b5cb977f5ed461b094e4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/dp/dp_ctrl.c: In function '_tu_param_compare': drivers/gpu/drm/msm/dp/dp_ctrl.c:282:20: warning: variable 'b_frac' set but not used [-Wunused-but-set-variable] 282 | u32 b_int, b_frac, b_sign; |^~ drivers/gpu/drm/msm/dp/dp_ctrl.c:282:13: warning: variable 'b_int' set but not used [-Wunused-but-set-variable] 282 | u32 b_int, b_frac, b_sign; | ^ drivers/gpu/drm/msm/dp/dp_ctrl.c:281:20: warning: variable 'a_frac' set but not used [-Wunused-but-set-variable] 281 | u32 a_int, a_frac, a_sign; |^~ drivers/gpu/drm/msm/dp/dp_ctrl.c:281:13: warning: variable 'a_int' set but not used [-Wunused-but-set-variable] 281 | u32 a_int, a_frac, a_sign; | ^ drivers/gpu/drm/msm/dp/dp_ctrl.c: In function 'dp_panel_update_tu_timings': drivers/gpu/drm/msm/dp/dp_ctrl.c:344:13: warning: variable 'overhead_dsc' set but not used [-Wunused-but-set-variable] 344 | s64 overhead_dsc; | ^~~~ In file included from drivers/gpu/drm/msm/dp/dp_ctrl.c:18: drivers/gpu/drm/msm/dp/dp_ctrl.c: In function '_dp_ctrl_calc_tu': drivers/gpu/drm/msm/dp/dp_ctrl.c:823:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 's64' {aka 'long long int'} [-Wformat=] 823 | DRM_DEBUG("Info: increase HBLANK_MARGIN to %d. (PLUS%d)\n", HBLANK_MARGIN, | ^~~~ ~ | | | s64 {aka long long int} include/drm/drm_print.h:524:65: note: in definition of macro '__drm_dbg' 524 | #define __drm_dbg(fmt, ...) ___drm_dbg(NULL, fmt, ##__VA_ARGS__) | ^~~ drivers/gpu/drm/msm/dp/dp_ctrl.c:823:17: note: in expansion of macro 'DRM_DEBUG' 823 | DRM_DEBUG("Info: increase HBLANK_MARGIN to %d. (PLUS%d)\n", HBLANK_MARGIN, | ^ drivers/gpu/drm/msm/dp/dp_ctrl.c:823:61: note: format string is defined here 823 | DRM_DEBUG("Info: increase HBLANK_MARGIN to %d. (PLUS%d)\n", HBLANK_MARGIN, |~^ | | | int |%lld drivers/gpu/drm/msm/dp/dp_ctrl.c:823:27: warning: format '%d' expects argument of type 'int', but a
Re: [Freedreno] [PATCH v1 02/14] drm/msm/dp: add dsc factor into calculation of supported bpp
Hi Kuogee, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20230123] [also build test WARNING on linus/master v6.2-rc5] [cannot apply to drm-misc/drm-misc-next drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.2-rc5 v6.2-rc4 v6.2-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 patch link: https://lore.kernel.org/r/1674498274-6010-3-git-send-email-quic_khsieh%40quicinc.com patch subject: [PATCH v1 02/14] drm/msm/dp: add dsc factor into calculation of supported bpp config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230124/202301240748.rcxiazh1-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/745d7acf9ef8affe996fce2f0658a6d95ac151fd git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dp-add-dpcd-read-of-both-dsc-and-fec-capability/20230124-022759 git checkout 745d7acf9ef8affe996fce2f0658a6d95ac151fd # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/dp/dp_panel.c: In function 'dp_panel_get_supported_bpp': >> drivers/gpu/drm/msm/dp/dp_panel.c:125:34: warning: variable 'panel' set but >> not used [-Wunused-but-set-variable] 125 | struct dp_panel_private *panel; | ^ vim +/panel +125 drivers/gpu/drm/msm/dp/dp_panel.c 120 121 static u32 dp_panel_get_supported_bpp(struct dp_panel *dp_panel, 122 u32 mode_edid_bpp, u32 mode_pclk_khz) 123 { 124 struct dp_link_info *link_info; > 125 struct dp_panel_private *panel; 126 const u32 max_supported_bpp = 30; 127 u32 min_supported_bpp = 18; 128 u32 bpp = 0, link_bitrate = 0, mode_bitrate; 129 s64 rate_fp = 0; 130 131 panel = container_of(dp_panel, struct dp_panel_private, dp_panel); 132 133 if (dp_panel->dsc_en) 134 min_supported_bpp = 24; 135 136 bpp = min_t(u32, mode_edid_bpp, max_supported_bpp); 137 138 link_info = _panel->link_info; 139 140 rate_fp = drm_int2fixp(link_info->num_lanes * link_info->rate * 8); 141 142 if (dp_panel->fec_en) 143 rate_fp = drm_fixp_div(rate_fp, dp_panel->fec_overhead_fp); 144 145 link_bitrate = drm_fixp2int(rate_fp); 146 147 for (; bpp > min_supported_bpp; bpp -= 6) { 148 if (dp_panel->dsc_en) { 149 if (bpp == 30 && !(dp_panel->sink_dsc_caps.color_depth & DP_DSC_10_BPC)) 150 continue; 151 else if (bpp == 24 && !(dp_panel->sink_dsc_caps.color_depth & DP_DSC_8_BPC)) 152 continue; 153 154 mode_bitrate = mode_pclk_khz * DSC_TGT_BPP; 155 } else { 156 mode_bitrate = mode_pclk_khz * bpp; 157 } 158 159 if (mode_bitrate <= link_bitrate) 160 break; 161 } 162 163 if (bpp < min_supported_bpp) 164 DRM_ERROR("bpp %d is below minimum supported bpp %d\n", bpp, 165 min_supported_bpp); 166 167 if (dp_panel->dsc_en && bpp != 24 && bpp != 30 && bpp != 36) 168 DRM_ERROR("bpp %d is not supported when dsc is enabled\n", bpp); 169 170 return bpp; 171 } 172 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [Freedreno] [PATCH v2 1/3] drm/msm/gpu: Add devfreq tuning debugfs
Hi Rob, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.2-rc3 next-20230112] [cannot apply to drm-misc/drm-misc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rob-Clark/drm-msm-gpu-Add-devfreq-tuning-debugfs/20230111-071620 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20230110231447.1939101-2-robdclark%40gmail.com patch subject: [PATCH v2 1/3] drm/msm/gpu: Add devfreq tuning debugfs config: arc-buildonly-randconfig-r003-20230112 compiler: arc-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/a5db640b1edb9bb3a67015ce8183f9b6c2e44fa0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rob-Clark/drm-msm-gpu-Add-devfreq-tuning-debugfs/20230111-071620 git checkout a5db640b1edb9bb3a67015ce8183f9b6c2e44fa0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/msm_kms.h:14, from drivers/gpu/drm/msm/disp/msm_disp_snapshot.h:27, from drivers/gpu/drm/msm/disp/msm_disp_snapshot.c:8: >> drivers/gpu/drm/msm/msm_drv.h:238:45: error: field 'gpu_devfreq_config' has >> incomplete type 238 | struct devfreq_simple_ondemand_data gpu_devfreq_config; | ^~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DEVFREQ_GOV_SIMPLE_ONDEMAND Depends on [n]: PM_DEVFREQ [=n] Selected by [y]: - DRM_MSM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST [=y]) && COMMON_CLK [=y] && IOMMU_SUPPORT [=y] && (QCOM_OCMEM [=n] || QCOM_OCMEM [=n]=n) && (QCOM_LLCC [=y] || QCOM_LLCC [=y]=n) && (QCOM_COMMAND_DB [=n] || QCOM_COMMAND_DB [=n]=n) vim +/gpu_devfreq_config +238 drivers/gpu/drm/msm/msm_drv.h 107 108 struct drm_device *dev; 109 110 struct msm_kms *kms; 111 int (*kms_init)(struct drm_device *dev); 112 113 /* subordinate devices, if present: */ 114 struct platform_device *gpu_pdev; 115 116 /* possibly this should be in the kms component, but it is 117 * shared by both mdp4 and mdp5.. 118 */ 119 struct hdmi *hdmi; 120 121 /* DSI is shared by mdp4 and mdp5 */ 122 struct msm_dsi *dsi[2]; 123 124 struct msm_dp *dp[MSM_DP_CONTROLLER_COUNT]; 125 126 /* when we have more than one 'msm_gpu' these need to be an array: */ 127 struct msm_gpu *gpu; 128 129 /* gpu is only set on open(), but we need this info earlier */ 130 bool is_a2xx; 131 bool has_cached_coherent; 132 133 struct drm_fb_helper *fbdev; 134 135 struct msm_rd_state *rd; /* debugfs to dump all submits */ 136 struct msm_rd_state *hangrd; /* debugfs to dump hanging submits */ 137 struct msm_perf_state *perf; 138 139 /** 140 * List of all GEM objects (mainly for debugfs, protected by obj_lock 141 * (acquire before per GEM object lock) 142 */ 143 struct list_head objects; 144 struct mutex obj_lock; 145 146 /** 147 * lru: 148 * 149 * The various LRU's that a GEM object is in at various stages of 150 * it's lifetime. Objects start out in the unbacked LRU. When 151 * pinned (for scannout or permanently mapped GPU buffers, like 152 * ringbuffer, memptr, fw, etc) it moves to the pinned LRU. When 153 * unpinned, it moves into willneed or dontneed LRU depending on 154 * madvise state. When backing pages are evicted (willneed) or 155
[Freedreno] [linux-next:master] BUILD SUCCESS WITH WARNING 0cdb3579f1ee4c1e55acf8dfb0697b660067b1f8
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 0cdb3579f1ee4c1e55acf8dfb0697b660067b1f8 Add linux-next specific files for 20221104 Warning reports: https://lore.kernel.org/oe-kbuild-all/202211041320.coq8eelj-...@intel.com https://lore.kernel.org/oe-kbuild-all/202211041654.zcupre9o-...@intel.com Warning: (recently discovered and may have been fixed) drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:4878: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5044:24: warning: implicit conversion from 'enum ' to 'enum dc_status' [-Wenum-conversion] drivers/gpu/drm/msm/hdmi/hdmi.c:244:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] drivers/gpu/drm/msm/hdmi/hdmi.c:251:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- arc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- arc-randconfig-r036-20221104 | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status |-- arc-randconfig-r043-20221104 | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status |-- arm-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- arm-defconfig | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- arm64-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- i386-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status |-- ia64-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status |-- ia64-buildonly-randconfig-r006-20221104 | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | `-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status |-- m68k-allmodconfig | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- m68k-allyesconfig | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- mips-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:implicit-conversion-from-enum-anonymous-to-enum-dc_status | `-- drivers-gpu-drm-msm-hdmi-hdmi.c:warning:static-is-not-at-beginning-of-declaration |-- powerpc-allmodconfig | |--
Re: [Freedreno] [PATCH 2/2] drm/msm: move domain allocation into msm_iommu_new()
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.1-rc1 next-20221020] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-clean-up-iommu-interface-a-bit/20221021-033404 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20221020193157.2147112-3-dmitry.baryshkov%40linaro.org patch subject: [PATCH 2/2] drm/msm: move domain allocation into msm_iommu_new() config: hexagon-randconfig-r041-20221018 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/195a104cef7fdbeed05031a81725b6ae7b716bb8 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-clean-up-iommu-interface-a-bit/20221021-033404 git checkout 195a104cef7fdbeed05031a81725b6ae7b716bb8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/adreno/a6xx_gmu.c:11: In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu.h:8: In file included from drivers/gpu/drm/msm/adreno/adreno_gpu.h:13: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from drivers/gpu/drm/msm/adreno/a6xx_gmu.c:11: In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu.h:8: In file included from drivers/gpu/drm/msm/adreno/adreno_gpu.h:13: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from drivers/gpu/drm/msm/adreno/a6xx_gmu.c:11: In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu.h:8: In file included from drivers/gpu/drm/msm/adreno/adreno_gpu.h:13: In file included from include/linux/iopoll.h:14: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~ ^ >> drivers/gpu/drm/m
[Freedreno] [linux-next:master] BUILD REGRESSION 1c6c4f42b3de4f18ea96d62950d0e266ca35a055
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 1c6c4f42b3de4f18ea96d62950d0e266ca35a055 Add linux-next specific files for 20220929 Error/Warning reports: https://lore.kernel.org/linux-mm/202209150141.wgbakqmx-...@intel.com https://lore.kernel.org/llvm/202209300609.14wj5tgf-...@intel.com https://lore.kernel.org/llvm/202209300825.jcuh1oum-...@intel.com Error/Warning: (recently discovered and may have been fixed) /kbuild/src/minority/drivers/gpu/drm/msm/msm_gem_shrinker.c:29:28: error: '__GFP_ATOMIC' undeclared (first use in this function); did you mean 'GFP_ATOMIC'? ERROR: modpost: "devm_iio_channel_get_all" [drivers/power/supply/mt6370-charger.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/fsl-edma.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/idma64.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/qcom/hdma.ko] undefined! ERROR: modpost: "devm_memremap" [drivers/misc/open-dice.ko] undefined! ERROR: modpost: "devm_memunmap" [drivers/misc/open-dice.ko] undefined! ERROR: modpost: "devm_platform_ioremap_resource" [drivers/char/xillybus/xillybus_of.ko] undefined! ERROR: modpost: "devm_platform_ioremap_resource" [drivers/clk/xilinx/clk-xlnx-clock-wizard.ko] undefined! ERROR: modpost: "iio_read_channel_processed" [drivers/power/supply/mt6370-charger.ko] undefined! ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefined! ERROR: modpost: "iounmap" [drivers/net/ethernet/8390/pcnet_cs.ko] undefined! ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined! arch/arm64/kernel/alternative.c:199:6: warning: no previous prototype for 'apply_alternatives_vdso' [-Wmissing-prototypes] arch/arm64/kernel/alternative.c:295:14: warning: no previous prototype for 'alt_cb_patch_nops' [-Wmissing-prototypes] depmod: ERROR: Cycle detected: nf_conntrack -> nf_nat -> nf_conntrack depmod: ERROR: Found 2 modules in dependency cycles! drivers/gpu/drm/msm/msm_gem_shrinker.c:29:28: error: '__GFP_ATOMIC' undeclared (first use in this function); did you mean 'GFP_ATOMIC'? drivers/pinctrl/pinctrl-amd.c:288 amd_gpio_dbg_show() warn: format string contains non-ascii character '\x9a' drivers/pinctrl/pinctrl-amd.c:288 amd_gpio_dbg_show() warn: format string contains non-ascii character '\xa1' drivers/pinctrl/pinctrl-amd.c:370 amd_gpio_dbg_show() warn: format string contains non-ascii character '\x95' grep: smatch_trinity_*: No such file or directory Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- arc-allyesconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- arm-allyesconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- arm-defconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- arm64-allyesconfig | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- arm64-buildonly-randconfig-r001-20220926 | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso |-- arm64-buildonly-randconfig-r002-20220926 | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso |-- arm64-randconfig-r002-20220926 | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso |-- arm64-randconfig-r033-20220926 | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- ia64-allmodconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- m68k-allmodconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- m68k-allyesconfig | `-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) |-- microblaze-randconfig-m041-20220925 | |-- drivers-gpu-drm-display-drm_dp_helper.c-drm_dp_phy_name()-warn:unsigned-dp_phy-is-never-less-than-zero. | |--
[Freedreno] [linux-next:master] BUILD REGRESSION de90d455a35e474a184c898e66a6a108c3a99434
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: de90d455a35e474a184c898e66a6a108c3a99434 Add linux-next specific files for 20220928 Error/Warning reports: https://lore.kernel.org/linux-mm/202209150141.wgbakqmx-...@intel.com https://lore.kernel.org/llvm/202209220019.yr2vuxhg-...@intel.com Error/Warning: (recently discovered and may have been fixed) ERROR: modpost: "devm_iio_channel_get_all" [drivers/power/supply/mt6370-charger.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/fsl-edma.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/idma64.ko] undefined! ERROR: modpost: "devm_ioremap_resource" [drivers/dma/qcom/hdma.ko] undefined! ERROR: modpost: "devm_memremap" [drivers/misc/open-dice.ko] undefined! ERROR: modpost: "devm_memunmap" [drivers/misc/open-dice.ko] undefined! ERROR: modpost: "devm_platform_ioremap_resource" [drivers/char/xillybus/xillybus_of.ko] undefined! ERROR: modpost: "devm_platform_ioremap_resource" [drivers/clk/xilinx/clk-xlnx-clock-wizard.ko] undefined! ERROR: modpost: "iio_read_channel_processed" [drivers/power/supply/mt6370-charger.ko] undefined! ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefined! ERROR: modpost: "iounmap" [drivers/net/ethernet/8390/pcnet_cs.ko] undefined! ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefined! aarch64-linux-ld: security/apparmor/lsm.c:1545: undefined reference to `zstd_max_clevel' arch/arm64/kernel/alternative.c:199:6: warning: no previous prototype for 'apply_alternatives_vdso' [-Wmissing-prototypes] arch/arm64/kernel/alternative.c:295:14: warning: no previous prototype for 'alt_cb_patch_nops' [-Wmissing-prototypes] depmod: ERROR: Cycle detected: nf_conntrack -> nf_nat -> nf_conntrack depmod: ERROR: Found 2 modules in dependency cycles! drivers/gpu/drm/msm/msm_gem_shrinker.c:29:28: error: '__GFP_ATOMIC' undeclared (first use in this function); did you mean 'GFP_ATOMIC'? drivers/gpu/drm/tests/drm_format_helper_test.c:381:31: warning: use of NULL 'buf' where non-null expected [CWE-476] [-Wanalyzer-null-argument] drivers/iommu/ipmmu-vmsa.c:946:34: warning: 'ipmmu_of_ids' defined but not used [-Wunused-const-variable=] include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_243' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_256' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_265' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_284' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_290' declared with attribute error: FIELD_PREP: mask is not constant include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_408' declared with attribute error: FIELD_PREP: mask is not constant security/apparmor/apparmorfs.c:1204: undefined reference to `zstd_min_clevel' security/apparmor/apparmorfs.c:1210: undefined reference to `zstd_max_clevel' security/apparmor/lsm.c:1545: undefined reference to `zstd_min_clevel' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- arc-randconfig-r043-20220926 | |-- drivers-gpu-drm-msm-msm_gem_shrinker.c:error:__GFP_ATOMIC-undeclared-(first-use-in-this-function) | `-- include-linux-compiler_types.h:error:call-to-__compiletime_assert_NNN-declared-with-attribute-error:FIELD_PREP:mask-is-not-constant |-- arm-buildonly-randconfig-r001-20220926 | `-- include-linux-compiler_types.h:error:call-to-__compiletime_assert_NNN-declared-with-attribute-error:FIELD_PREP:mask-is-not-constant |-- arm-randconfig-c002-20220925 | `-- drivers-gpu-drm-tests-drm_format_helper_test.c:warning:use-of-NULL-buf-where-non-null-expected-CWE |-- arm64-allyesconfig | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | `-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso |-- arm64-buildonly-randconfig-r006-20220926 | |-- aarch64-linux-ld:security-apparmor-lsm.c:undefined-reference-to-zstd_max_clevel | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-apply_alternatives_vdso | |-- security-apparmor-apparmorfs.c:undefined-reference-to-zstd_max_clevel | |-- security-apparmor-apparmorfs.c:undefined-reference-to-zstd_min_clevel | `-- security-apparmor-lsm.c:undefined-reference-to-zstd_min_clevel |-- arm64-randconfig-r035-20220926 | |-- arch-arm64-kernel-alternative.c:warning:no-previous-prototype-for-alt_cb_patch_nops | |--
Re: [Freedreno] [PATCH 4/5] drm/msm/dpu: add support for SM8450
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20220921] [also build test WARNING on linus/master v6.0-rc6] [cannot apply to drm-misc/drm-misc-next v6.0-rc6 v6.0-rc5 v6.0-rc4] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-add-support-for-SM8450/20220922-193223 base:483fed3b5dc8ce3644c83d24240cf5756fb0993e config: s390-randconfig-r044-20220922 (https://download.01.org/0day-ci/archive/20220923/202209230114.2apdpcjg-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/b25f303f8c65c2776a67e8c6ac66c379d74170ce git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-add-support-for-SM8450/20220922-193223 git checkout b25f303f8c65c2776a67e8c6ac66c379d74170ce # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:8: In file included from include/linux/of_address.h:7: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) ^ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:8: In file included from include/linux/of_address.h:7: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) ^ In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:8: In file included from include/linux/of_address.h:7: In file included from include/linux/io.h:13: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI
Re: [Freedreno] [PATCH 4/7] drm/msm/dp: fix aux-bus EP lifetime
Hi Johan, I love your patch! Yet something to improve: [auto build test ERROR on next-20220912] [also build test ERROR on v6.0-rc5] [cannot apply to drm-misc/drm-misc-next drm/drm-next drm-intel/for-linux-next drm-tip/drm-tip linus/master v6.0-rc5 v6.0-rc4 v6.0-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Johan-Hovold/drm-msm-probe-deferral-fixes/20220912-234351 base:044b771be9c5de9d817dfafb829d2f049c71c3b4 config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220913/202209130930.yri8pqgl-...@intel.com/config) compiler: arceb-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/458c96e19570036b3dd6e48d91f0bf6f67b996fa git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Johan-Hovold/drm-msm-probe-deferral-fixes/20220912-234351 git checkout 458c96e19570036b3dd6e48d91f0bf6f67b996fa # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/bridge/ti-sn65dsi86.c: In function 'ti_sn_aux_probe': >> drivers/gpu/drm/bridge/ti-sn65dsi86.c:632:50: error: passing argument 1 of >> 'devm_of_dp_aux_populate_ep_devices' from incompatible pointer type >> [-Werror=incompatible-pointer-types] 632 | ret = devm_of_dp_aux_populate_ep_devices(>aux); | ^~~ | | | struct drm_dp_aux * In file included from drivers/gpu/drm/bridge/ti-sn65dsi86.c:26: include/drm/display/drm_dp_aux_bus.h:64:69: note: expected 'struct device *' but argument is of type 'struct drm_dp_aux *' 64 | static inline int devm_of_dp_aux_populate_ep_devices(struct device *dev, struct drm_dp_aux *aux) | ~~~^~~ >> drivers/gpu/drm/bridge/ti-sn65dsi86.c:632:15: error: too few arguments to >> function 'devm_of_dp_aux_populate_ep_devices' 632 | ret = devm_of_dp_aux_populate_ep_devices(>aux); | ^~ include/drm/display/drm_dp_aux_bus.h:64:19: note: declared here 64 | static inline int devm_of_dp_aux_populate_ep_devices(struct device *dev, struct drm_dp_aux *aux) | ^~ cc1: some warnings being treated as errors -- drivers/gpu/drm/bridge/analogix/anx7625.c: In function 'anx7625_i2c_probe': >> drivers/gpu/drm/bridge/analogix/anx7625.c:2654:44: error: passing argument 1 >> of 'devm_of_dp_aux_populate_ep_devices' from incompatible pointer type >> [-Werror=incompatible-pointer-types] 2654 | devm_of_dp_aux_populate_ep_devices(>aux); |^~ || |struct drm_dp_aux * In file included from drivers/gpu/drm/bridge/analogix/anx7625.c:24: include/drm/display/drm_dp_aux_bus.h:64:69: note: expected 'struct device *' but argument is of type 'struct drm_dp_aux *' 64 | static inline int devm_of_dp_aux_populate_ep_devices(struct device *dev, struct drm_dp_aux *aux) | ~~~^~~ >> drivers/gpu/drm/bridge/analogix/anx7625.c:2654:9: error: too few arguments >> to function 'devm_of_dp_aux_populate_ep_devices' 2654 | devm_of_dp_aux_populate_ep_devices(>aux); | ^~ include/drm/display/drm_dp_aux_bus.h:64:19: note: declared here 64 | static inline int devm_of_dp_aux_populate_ep_devices(struct device *dev, struct drm_dp_aux *aux) | ^~ cc1: some warnings being treated as errors vim +/devm_of_dp_aux_populate_ep_devices +632 drivers/gpu/drm/bridge/ti-sn65dsi86.c 77674e722f4b27 Laurent Pinchart 2021-06-24 620 77674e722f4b27 Laurent Pinchart 2021-06-24 621 static int ti_sn_aux_probe(struct auxiliary_device *adev, 77674e722f4b27 Laurent Pinchart 2021-06-24 622
[Freedreno] [linux-next:master] BUILD REGRESSION 8755ae45a9e8ae883fa7f4eb0162830c55aacf14
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 8755ae45a9e8ae883fa7f4eb0162830c55aacf14 Add linux-next specific files for 20220819 Error/Warning reports: https://lore.kernel.org/linux-doc/202208192207.a0ram0nj-...@intel.com Error/Warning: (recently discovered and may have been fixed) Documentation/translations/zh_CN/process/5.Posting.rst:197: WARNING: undefined label: cn_email_clients (if the link has no caption the label must precede a section header) drivers/base/regmap/regmap-mmio.c:231:17: error: implicit declaration of function 'writesq'; did you mean 'writeq'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:231:17: error: implicit declaration of function 'writesq'; did you mean 'writesl'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:368:17: error: implicit declaration of function 'readsq'; did you mean 'readq'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:368:17: error: implicit declaration of function 'readsq'; did you mean 'readsl'? [-Werror=implicit-function-declaration] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1046:5: warning: no previous prototype for 'fill_dc_scaling_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1222:6: warning: no previous prototype for 'handle_cursor_update' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:152:6: warning: no previous prototype for 'modifier_has_dcc' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1576:5: warning: no previous prototype for 'amdgpu_dm_plane_init' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:157:10: warning: no previous prototype for 'modifier_gfx9_swizzle_mode' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:752:5: warning: no previous prototype for 'fill_plane_buffer_attributes' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:83:31: warning: no previous prototype for 'amd_get_format_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:88:6: warning: no previous prototype for 'fill_blending_from_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:992:5: warning: no previous prototype for 'dm_plane_helper_check_state' [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:905:28: warning: variable 'top' set but not used [-Wunused-but-set-variable] drivers/platform/mellanox/mlxreg-lc.c:866 mlxreg_lc_probe() warn: passing zero to 'PTR_ERR' sound/soc/sof/compress.c:330:13: warning: variable 'dai_posn' set but not used [-Wunused-but-set-variable] sound/soc/sof/intel/hda-codec.c:216:17: error: too few arguments to function 'hda_codec_device_init' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allmodconfig | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | `-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq |-- alpha-allyesconfig | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_has_dcc | |-- drivers-gpu-drm-msm-disp-dpu1-dpu_kms.c:warning:variable-top-set-but-not-used | `-- sound-soc-sof-compress.c:warning:variable-dai_posn-set-but-not-used |-- alpha-randconfig-r002-20220819 | `-- sound-soc-sof-intel-hda-codec.c:error:too-few-arguments-to-function-hda_codec_device_init |-- arc-allyesconfig | |--
[Freedreno] [linux-next:master] BUILD REGRESSION 5b6a4bf680d61b1dd26629840f848d0df8983c62
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 5b6a4bf680d61b1dd26629840f848d0df8983c62 Add linux-next specific files for 20220818 Error/Warning: (recently discovered and may have been fixed) drivers/base/regmap/regmap-mmio.c:231:17: error: implicit declaration of function 'writesq'; did you mean 'writeq'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:231:17: error: implicit declaration of function 'writesq'; did you mean 'writesl'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:368:17: error: implicit declaration of function 'readsq'; did you mean 'readq'? [-Werror=implicit-function-declaration] drivers/base/regmap/regmap-mmio.c:368:17: error: implicit declaration of function 'readsq'; did you mean 'readsl'? [-Werror=implicit-function-declaration] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1046:5: warning: no previous prototype for 'fill_dc_scaling_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1222:6: warning: no previous prototype for 'handle_cursor_update' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:152:6: warning: no previous prototype for 'modifier_has_dcc' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1576:5: warning: no previous prototype for 'amdgpu_dm_plane_init' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:157:10: warning: no previous prototype for 'modifier_gfx9_swizzle_mode' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:752:5: warning: no previous prototype for 'fill_plane_buffer_attributes' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:83:31: warning: no previous prototype for 'amd_get_format_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:88:6: warning: no previous prototype for 'fill_blending_from_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:992:5: warning: no previous prototype for 'dm_plane_helper_check_state' [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:905:28: warning: variable 'top' set but not used [-Wunused-but-set-variable] drivers/platform/mellanox/mlxreg-lc.c:866 mlxreg_lc_probe() warn: passing zero to 'PTR_ERR' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allmodconfig | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | `-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq |-- alpha-allyesconfig | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_has_dcc | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_kms.c:warning:variable-top-set-but-not-used |-- alpha-buildonly-randconfig-r002-20220818 | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | `-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq |-- alpha-randconfig-r024-20220818 | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-readsq | |-- drivers-base-regmap-regmap-mmio.c:error:implicit-declaration-of-function-writesq | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |--
[Freedreno] [linux-next:master] BUILD SUCCESS WITH WARNING 95d10484d66e54d5c01e36389e9318221fb8f60b
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 95d10484d66e54d5c01e36389e9318221fb8f60b Add linux-next specific files for 20220817 Warning reports: https://lore.kernel.org/linux-doc/202208162058.7appivkl-...@intel.com https://lore.kernel.org/llvm/202207251313.gkhpeleq-...@intel.com Warning: (recently discovered and may have been fixed) Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/gpio/gpio-xilinx.txt drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1046:5: warning: no previous prototype for 'fill_dc_scaling_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1222:6: warning: no previous prototype for 'handle_cursor_update' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:152:6: warning: no previous prototype for 'modifier_has_dcc' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1576:5: warning: no previous prototype for 'amdgpu_dm_plane_init' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:157:10: warning: no previous prototype for 'modifier_gfx9_swizzle_mode' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:752:5: warning: no previous prototype for 'fill_plane_buffer_attributes' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:83:31: warning: no previous prototype for 'amd_get_format_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:88:6: warning: no previous prototype for 'fill_blending_from_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:992:5: warning: no previous prototype for 'dm_plane_helper_check_state' [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:905:28: warning: variable 'top' set but not used [-Wunused-but-set-variable] drivers/iio/accel/bma400_core.c:1091 bma400_activity_event_en() error: uninitialized symbol 'field_value'. drivers/iio/cdc/ad7746.c:336:14: warning: use of uninitialized value '' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] drivers/platform/mellanox/mlxreg-lc.c:866 mlxreg_lc_probe() warn: passing zero to 'PTR_ERR' mm/memory_hotplug.c:343 __add_pages() error: uninitialized symbol 'err'. Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_has_dcc | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_kms.c:warning:variable-top-set-but-not-used |-- alpha-randconfig-c023-20220815 | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | `--
[Freedreno] [linux-next:master] BUILD REGRESSION e1084bacab44f570691c0fdaa1259acf93ed0098
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: e1084bacab44f570691c0fdaa1259acf93ed0098 Add linux-next specific files for 20220816 Error/Warning reports: https://lore.kernel.org/linux-doc/202208162058.7appivkl-...@intel.com Error/Warning: (recently discovered and may have been fixed) Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/gpio/gpio-xilinx.txt drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1046:5: warning: no previous prototype for 'fill_dc_scaling_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1222:6: warning: no previous prototype for 'handle_cursor_update' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:152:6: warning: no previous prototype for 'modifier_has_dcc' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1576:5: warning: no previous prototype for 'amdgpu_dm_plane_init' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:157:10: warning: no previous prototype for 'modifier_gfx9_swizzle_mode' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:752:5: warning: no previous prototype for 'fill_plane_buffer_attributes' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:83:31: warning: no previous prototype for 'amd_get_format_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:88:6: warning: no previous prototype for 'fill_blending_from_plane_state' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:992:5: warning: no previous prototype for 'dm_plane_helper_check_state' [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:905:28: warning: variable 'top' set but not used [-Wunused-but-set-variable] include/linux/random.h:25:46: error: 'latent_entropy' undeclared (first use in this function); did you mean 'add_latent_entropy'? Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_has_dcc | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_kms.c:warning:variable-top-set-but-not-used |-- arc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amdgpu_dm_plane_init | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-dm_plane_helper_check_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_blending_from_plane_state | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_dc_scaling_info | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-fill_plane_buffer_attributes | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-handle_cursor_update | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_gfx9_swizzle_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-modifier_has_dcc | `-- drivers-gpu-drm-msm-disp-dpu1-dpu_kms.c:warning:variable-top-set-but-not-used |-- arm-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-amdgpu_dm-amdgpu_dm_plane.c:warning:no-previous-prototype-for-amd_get_format_info | |--
Re: [Freedreno] [PATCH 2/5] clk: qcom: Allow custom reset ops
Hi Akhil, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on robh/for-next drm-misc/drm-misc-next drm-tip/drm-tip linus/master v5.19-rc8 next-20220728] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Akhil-P-Oommen/clk-qcom-Support-gdsc-collapse-polling-using-reset-inteface/20220730-171922 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: ia64-randconfig-r031-20220729 (https://download.01.org/0day-ci/archive/20220730/202207302137.mpbhpahz-...@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/971a03493e9854ff4a227ee4d80b533997959891 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Akhil-P-Oommen/clk-qcom-Support-gdsc-collapse-polling-using-reset-inteface/20220730-171922 git checkout 971a03493e9854ff4a227ee4d80b533997959891 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/clk/qcom/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/clk/qcom/reset.c: In function 'qcom_reset': >> drivers/clk/qcom/reset.c:17:9: warning: ISO C90 forbids mixed declarations >> and code [-Wdeclaration-after-statement] 17 | const struct qcom_reset_map *map = >reset_map[id]; | ^ vim +17 drivers/clk/qcom/reset.c 13 14 static int qcom_reset(struct reset_controller_dev *rcdev, unsigned long id) 15 { 16 struct qcom_reset_controller *rst = to_qcom_reset_controller(rcdev); > 17 const struct qcom_reset_map *map = >reset_map[id]; 18 19 if (map->op) 20 return map->op(map); 21 22 rcdev->ops->assert(rcdev, id); 23 udelay(1); 24 rcdev->ops->deassert(rcdev, id); 25 return 0; 26 } 27 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Re: [Freedreno] [PATCH] drm/msm/dsi: switch to DRM_PANEL_BRIDGE
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v5.19-rc5 next-20220706] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dsi-switch-to-DRM_PANEL_BRIDGE/20220707-040414 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next config: arc-randconfig-r043-20220706 (https://download.01.org/0day-ci/archive/20220707/202207070852.wwbrofy1-...@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/5eeb41ba36c536b30a6494df55ed441f005a6b11 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-dsi-switch-to-DRM_PANEL_BRIDGE/20220707-040414 git checkout 5eeb41ba36c536b30a6494df55ed441f005a6b11 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'msm_dsi_host_modeset_init': >> drivers/gpu/drm/msm/dsi/dsi_host.c:2159:17: error: implicit declaration of >> function 'msm_dsi_host_get_panel'; did you mean 'msm_dsi_host_get_bridge'? >> [-Werror=implicit-function-declaration] 2159 | panel = msm_dsi_host_get_panel(_host->base); | ^~ | msm_dsi_host_get_bridge >> drivers/gpu/drm/msm/dsi/dsi_host.c:2159:15: warning: assignment to 'struct >> drm_panel *' from 'int' makes pointer from integer without a cast >> [-Wint-conversion] 2159 | panel = msm_dsi_host_get_panel(_host->base); | ^ cc1: some warnings being treated as errors vim +2159 drivers/gpu/drm/msm/dsi/dsi_host.c a689554ba6ed81c Hai Li 2015-03-31 2149 a689554ba6ed81c Hai Li 2015-03-31 2150 int msm_dsi_host_modeset_init(struct mipi_dsi_host *host, a689554ba6ed81c Hai Li 2015-03-31 2151 struct drm_device *dev) a689554ba6ed81c Hai Li 2015-03-31 2152 { a689554ba6ed81c Hai Li 2015-03-31 2153struct msm_dsi_host *msm_host = to_msm_dsi_host(host); 8f7ca5409063ade Sibi Sankar 2018-05-29 2154const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2155struct drm_panel *panel; a689554ba6ed81c Hai Li 2015-03-31 2156int ret; a689554ba6ed81c Hai Li 2015-03-31 2157 a689554ba6ed81c Hai Li 2015-03-31 2158msm_host->dev = dev; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 @2159panel = msm_dsi_host_get_panel(_host->base); 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2160 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2161if (!IS_ERR(panel) && panel->dsc) { 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2162struct msm_display_dsc_config *dsc = msm_host->dsc; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2163 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2164if (!dsc) { 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2165dsc = devm_kzalloc(_host->pdev->dev, sizeof(*dsc), GFP_KERNEL); 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2166if (!dsc) 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2167return -ENOMEM; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2168dsc->drm = panel->dsc; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2169msm_host->dsc = dsc; 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2170} 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2171} 0f40ba48de3b8a4 Vinod Koul 2022-04-06 2172 8f7ca5409063ade Sibi Sankar 2018-05-29 2173ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K); a689554ba6ed81c Hai Li 2015-03-31 2174if (ret) { a689554ba6ed81c Hai Li 2015-03-31 2175pr_err("%s: alloc tx gem obj failed, %d\n", __func__, ret); a689554ba6ed81c Hai Li 2015-03-31 2176return ret; a689554ba6ed81c Hai Li 2015-03-31 2177} a689554ba6ed81c Hai Li 2015-03-31 2178 a689554ba6ed81c Hai Li 2015-03-31 2179return 0; a689554ba6ed81c Hai Li 2015-03-31 2180 } a689554ba6ed81c Hai Li 2015-03-31 2181 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Re: [Freedreno] [v3 5/5] drm/msm/disp/dpu1: add PSR support for eDP interface in dpu driver
Hi Vinod, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-exynos/exynos-drm-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next linus/master v5.19-rc3 next-20220622] [cannot apply to drm-intel/for-linux-next airlied/drm-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Vinod-Polimera/drm-msm-dp-Add-basic-PSR-support-for-eDP/20220621-195406 base: git://anongit.freedesktop.org/drm/drm drm-next config: arm64-randconfig-r025-20220622 (https://download.01.org/0day-ci/archive/20220623/202206230551.h0oxev2e-...@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8b8d126598ce7bd5243da7f94f69fa1104288bee) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/2c3c31343481a4faf2402cf513c85fb7d75ce205 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Vinod-Polimera/drm-msm-dp-Add-basic-PSR-support-for-eDP/20220621-195406 git checkout 2c3c31343481a4faf2402cf513c85fb7d75ce205 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:1064:3: warning: add explicit >> braces to avoid dangling else [-Wdangling-else] drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) ^ include/drm/drm_encoder.h:314:3: note: expanded from macro 'drm_for_each_encoder_mask' for_each_if ((encoder_mask) & drm_encoder_mask(encoder)) ^ include/drm/drm_util.h:63:53: note: expanded from macro 'for_each_if' #define for_each_if(condition) if (!(condition)) {} else ^ 1 warning generated. vim +1064 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1032 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1033 static void dpu_crtc_enable(struct drm_crtc *crtc, 351f950db4ab28 Maxime Ripard 2020-10-08 1034 struct drm_atomic_state *state) 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1035 { e12e5263bf1d8d Rob Clark 2020-09-07 1036 struct dpu_crtc *dpu_crtc = to_dpu_crtc(crtc); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1037 struct drm_encoder *encoder; 35c719da95c0d2 Rob Clark 2020-08-11 1038 bool request_bandwidth = false; 2c3c31343481a4 Vinod Polimera2022-06-21 1039 struct drm_crtc_state *old_crtc_state; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1040 2c3c31343481a4 Vinod Polimera2022-06-21 1041 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); b77d0f0d4ee757 Sean Paul 2018-11-16 1042 pm_runtime_get_sync(crtc->dev->dev); b77d0f0d4ee757 Sean Paul 2018-11-16 1043 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1044 DRM_DEBUG_KMS("crtc%d\n", crtc->base.id); 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1045 241b507c166fef Rob Clark 2019-08-20 1046 drm_for_each_encoder_mask(encoder, crtc->dev, crtc->state->encoder_mask) { 241b507c166fef Rob Clark 2019-08-20 1047 /* in video mode, we hold an extra bandwidth reference 241b507c166fef Rob Clark 2019-08-20 1048* as we cannot drop bandwidth at frame-done if any 241b507c166fef Rob Clark 2019-08-20 1049* crtc is being used in video mode. 241b507c166fef Rob Clark 2019-08-20 1050*/ 241b507c166fef Rob Clark 2019-08-20 1051 if (dpu_encoder_get_intf_mode(encoder) == INTF_MODE_VIDEO) 241b507c166fef Rob Clark 2019-08-20 1052 request_bandwidth = true; 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1053 dpu_encoder_register_frame_event_callback(encoder, 25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 1054 dpu_crtc_frame_event_cb, (void *)crtc); 241b507c166fef Rob Clark 2019-08-20 1055 } 241b507c166fef Rob Clark 2019-08-20 1056 241b507c166fef Rob Clark 2019-08-20 1057 if (r
Re: [Freedreno] [PATCH v8 2/2] drm/msm/dp: clean up pixel_rate from dp_ctrl.c
Hi Kuogee, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-exynos/exynos-drm-next] [cannot apply to drm-intel/for-linux-next tegra-drm/drm/tegra/for-next airlied/drm-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-00 base: git://anongit.freedesktop.org/drm/drm drm-next config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20220617/202206172356.j5cb8zdf-...@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d56846eebf3712ab542979d6) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/b04f0b39a03a9fc3728e9414157f9d5f0b8b2366 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-00 git checkout b04f0b39a03a9fc3728e9414157f9d5f0b8b2366 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/dp/dp_ctrl.c:1587:5: warning: no previous prototype for >> function 'dp_ctrl_on_stream_phy_test_report' [-Wmissing-prototypes] int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl) ^ drivers/gpu/drm/msm/dp/dp_ctrl.c:1587:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl) ^ static 1 warning generated. vim +/dp_ctrl_on_stream_phy_test_report +1587 drivers/gpu/drm/msm/dp/dp_ctrl.c 1586 > 1587 int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl) 1588 { 1589 int ret = 0; 1590 struct dp_ctrl_private *ctrl; 1591 unsigned long pixel_rate; 1592 1593 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); 1594 1595 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; 1596 ret = dp_ctrl_enable_stream_clocks(ctrl, pixel_rate); 1597 if (ret) { 1598 DRM_ERROR("Failed to start pixel clocks. ret=%d\n", ret); 1599 return ret; 1600 } 1601 1602 dp_ctrl_send_phy_test_pattern(ctrl); 1603 1604 return 0; 1605 } 1606 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Re: [Freedreno] [PATCH v8 2/2] drm/msm/dp: clean up pixel_rate from dp_ctrl.c
Hi Kuogee, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-exynos/exynos-drm-next drm-tip/drm-tip linus/master v5.19-rc2 next-20220616] [cannot apply to drm-intel/for-linux-next tegra-drm/drm/tegra/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-00 base: git://anongit.freedesktop.org/drm/drm drm-next config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220617/202206170505.2u1jlzvk-...@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/b04f0b39a03a9fc3728e9414157f9d5f0b8b2366 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-00 git checkout b04f0b39a03a9fc3728e9414157f9d5f0b8b2366 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/dp/dp_ctrl.c:1587:5: warning: no previous prototype for >> 'dp_ctrl_on_stream_phy_test_report' [-Wmissing-prototypes] 1587 | int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl) | ^ vim +/dp_ctrl_on_stream_phy_test_report +1587 drivers/gpu/drm/msm/dp/dp_ctrl.c 1586 > 1587 int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl) 1588 { 1589 int ret = 0; 1590 struct dp_ctrl_private *ctrl; 1591 unsigned long pixel_rate; 1592 1593 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); 1594 1595 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; 1596 ret = dp_ctrl_enable_stream_clocks(ctrl, pixel_rate); 1597 if (ret) { 1598 DRM_ERROR("Failed to start pixel clocks. ret=%d\n", ret); 1599 return ret; 1600 } 1601 1602 dp_ctrl_send_phy_test_pattern(ctrl); 1603 1604 return 0; 1605 } 1606 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Re: [Freedreno] [PATCH v2 06/12] drm/msm/hdmi: drop unused GPIO support
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on robh/for-next linus/master v5.19-rc1 next-20220608] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-hdmi-YAML-ify-schema-and-cleanup-some-platform-properties/20220608-200925 base: git://anongit.freedesktop.org/drm/drm drm-next config: hexagon-randconfig-r045-20220608 (https://download.01.org/0day-ci/archive/20220608/202206082312.xb745jwy-...@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/c3e263fe0a077b382c2a76911c8ace385bd59a4c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-hdmi-YAML-ify-schema-and-cleanup-some-platform-properties/20220608-200925 git checkout c3e263fe0a077b382c2a76911c8ace385bd59a4c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/hdmi/hdmi.c:532:2: warning: variable 'hdmi' is >> uninitialized when used here [-Wuninitialized] hdmi->hpd_gpiod = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); ^~~~ drivers/gpu/drm/msm/hdmi/hdmi.c:518:19: note: initialize the variable 'hdmi' to silence this warning struct hdmi *hdmi; ^ = NULL 1 warning generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DRM_DP_AUX_BUS Depends on HAS_IOMEM && DRM && OF Selected by - DRM_MSM && HAS_IOMEM && DRM && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST && COMMON_CLK && IOMMU_SUPPORT && (QCOM_OCMEM || QCOM_OCMEM && (QCOM_LLCC || QCOM_LLCC && (QCOM_COMMAND_DB || QCOM_COMMAND_DB vim +/hdmi +532 drivers/gpu/drm/msm/hdmi/hdmi.c 513 514 static int msm_hdmi_bind(struct device *dev, struct device *master, void *data) 515 { 516 struct msm_drm_private *priv = dev_get_drvdata(master); 517 struct hdmi_platform_config *hdmi_cfg; 518 struct hdmi *hdmi; 519 struct device_node *of_node = dev->of_node; 520 int err; 521 522 hdmi_cfg = (struct hdmi_platform_config *) 523 of_device_get_match_data(dev); 524 if (!hdmi_cfg) { 525 DRM_DEV_ERROR(dev, "unknown hdmi_cfg: %pOFn\n", of_node); 526 return -ENXIO; 527 } 528 529 hdmi_cfg->mmio_name = "core_physical"; 530 hdmi_cfg->qfprom_mmio_name = "qfprom_physical"; 531 > 532 hdmi->hpd_gpiod = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); 533 /* This will catch e.g. -PROBE_DEFER */ 534 if (IS_ERR(hdmi->hpd_gpiod)) 535 return PTR_ERR(hdmi->hpd_gpiod); 536 537 if (!hdmi->hpd_gpiod) 538 DBG("failed to get HPD gpio"); 539 540 if (hdmi->hpd_gpiod) 541 gpiod_set_consumer_name(hdmi->hpd_gpiod, "HDMI_HPD"); 542 543 dev->platform_data = hdmi_cfg; 544 545 hdmi = msm_hdmi_init(to_platform_device(dev)); 546 if (IS_ERR(hdmi)) 547 return PTR_ERR(hdmi); 548 priv->hdmi = hdmi; 549 550 err = msm_hdmi_register_audio_driver(hdmi, dev); 551 if (err) { 552 DRM_ERROR("Failed to attach an audio codec %d\n", err); 553 hdmi->audio_pdev = NULL; 554 } 555 556 return 0; 557 } 558 -- 0-DAY CI Kernel Test Service https://01.org/lkp
Re: [Freedreno] [PATCH v2 2/2] drm/msm: Expose client engine utilization via fdinfo
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.19-rc1 next-20220607] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Rob-Clark/drm-Add-DRM_GEM_FOPS/20220607-035529 base: git://anongit.freedesktop.org/drm/drm drm-next config: s390-buildonly-randconfig-r008-20220605 (https://download.01.org/0day-ci/archive/20220607/202206071325.fwdwmg2d-...@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/09342d3c56fa77dacb235908515f0a44ac2fc9c2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rob-Clark/drm-Add-DRM_GEM_FOPS/20220607-035529 git checkout 09342d3c56fa77dacb235908515f0a44ac2fc9c2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/ drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/msm/msm_gpu.c:9: In file included from drivers/gpu/drm/msm/msm_gpu.h:10: In file included from include/linux/adreno-smmu-priv.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:464:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:477:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) ^ In file included from drivers/gpu/drm/msm/msm_gpu.c:9: In file included from drivers/gpu/drm/msm/msm_gpu.h:10: In file included from include/linux/adreno-smmu-priv.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:490:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) ^ In file included from drivers/gpu/drm/msm/msm_gpu.c:9: In file included from drivers/gpu/drm/msm/msm_gpu.h:10: In file included from include/linux/adreno-smmu-priv.h:9: In file included from include/linux/io-pgtable.h:6: In file included from include/linux/iommu.h:10: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:75: include/asm-generic/io.h:501:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~ ^ include/asm-generic/io.h:511:59: warning: performing pointer arithmetic on a null pointer has unde
Re: [Freedreno] [PATCH v1 5/5] drm/msm/dpu: make dpu hardware catalog static const
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on next-20220601] [cannot apply to v5.18] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-clean-up-the-hw-catalog-init/20220601-231925 base: git://anongit.freedesktop.org/drm/drm drm-next config: arm64-randconfig-r003-20220531 (https://download.01.org/0day-ci/archive/20220602/202206020857.gd3c79od-...@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/ae9332859e2098bf10e3c915aa912fc851b7541c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-clean-up-the-hw-catalog-init/20220601-231925 git checkout ae9332859e2098bf10e3c915aa912fc851b7541c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1747:10: error: initializer >> element is not a compile-time constant .perf = msm8998_perf_data, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1770:13: error: initializer element is not a compile-time constant .dma_cfg = sdm845_regdma, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1794:13: error: initializer element is not a compile-time constant .dma_cfg = sdm845_regdma, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1820:13: error: initializer element is not a compile-time constant .dma_cfg = sm8150_regdma, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1844:13: error: initializer element is not a compile-time constant .dma_cfg = sm8150_regdma, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1872:13: error: initializer element is not a compile-time constant .dma_cfg = sm8250_regdma, ^ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1893:10: error: initializer element is not a compile-time constant .perf = sc7280_perf_data, ^~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:1916:13: error: initializer element is not a compile-time constant .dma_cfg = sdm845_regdma, ^ 8 errors generated. vim +1747 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 591e34a091d17df Krishna Manikandan 2021-04-06 1702 5334087ee7438fa Loic Poulain 2022-02-14 1703 static const struct dpu_perf_cfg qcm2290_perf_data = { 5334087ee7438fa Loic Poulain 2022-02-14 1704 .max_bw_low = 270, 5334087ee7438fa Loic Poulain 2022-02-14 1705 .max_bw_high = 270, 5334087ee7438fa Loic Poulain 2022-02-14 1706 .min_core_ib = 130, 5334087ee7438fa Loic Poulain 2022-02-14 1707 .min_llcc_ib = 0, 5334087ee7438fa Loic Poulain 2022-02-14 1708 .min_dram_ib = 160, 5334087ee7438fa Loic Poulain 2022-02-14 1709 .min_prefill_lines = 24, 5334087ee7438fa Loic Poulain 2022-02-14 1710 .danger_lut_tbl = {0xff, 0x0, 0x0}, 5334087ee7438fa Loic Poulain 2022-02-14 1711 .safe_lut_tbl = {0xfff0, 0x0, 0x0}, 5334087ee7438fa Loic Poulain 2022-02-14 1712 .qos_lut_tbl = { 5334087ee7438fa Loic Poulain 2022-02-14 1713 {.nentry = ARRAY_SIZE(qcm2290_qos_linear), 5334087ee7438fa Loic Poulain 2022-02-14 1714 .entries = qcm2290_qos_linear 5334087ee7438fa Loic Poulain 2022-02-14 1715 }, 5334087ee7438fa Loic Poulain 2022-02-14 1716 }, 5334087ee7438fa Loic Poulain 2022-02-14 1717 .cdp_cfg = { 5334087ee7438fa Loic Poulain 2022-02-14 1718 {.rd_enable = 1, .wr_enable = 1}, 5334087ee7438fa Loic Poulain
Re: [Freedreno] [PATCH v2] drm/msm/dp: force link training for display resolution change
Hi Kuogee, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on next-20220526] [cannot apply to v5.18] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Kuogee-Hsieh/drm-msm-dp-force-link-training-for-display-resolution-change/20220527-071202 base: git://anongit.freedesktop.org/drm/drm drm-next config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20220527/202205271424.apfrmbam-...@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/42816831cad7ced23cdedbb77ef2ebf13247c623 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kuogee-Hsieh/drm-msm-dp-force-link-training-for-display-resolution-change/20220527-071202 git checkout 42816831cad7ced23cdedbb77ef2ebf13247c623 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/msm/dp/dp_ctrl.c: In function 'dp_ctrl_on_stream': >> drivers/gpu/drm/msm/dp/dp_ctrl.c:1852:13: error: 'force_link_tarin' >> undeclared (first use in this function); did you mean 'force_link_train'? 1852 | if (force_link_tarin || !dp_ctrl_channel_eq_ok(ctrl)) | ^~~~ | force_link_train drivers/gpu/drm/msm/dp/dp_ctrl.c:1852:13: note: each undeclared identifier is reported only once for each function it appears in vim +1852 drivers/gpu/drm/msm/dp/dp_ctrl.c 1810 1811 int dp_ctrl_on_stream(struct dp_ctrl *dp_ctrl, bool force_link_train) 1812 { 1813 int ret = 0; 1814 bool mainlink_ready = false; 1815 struct dp_ctrl_private *ctrl; 1816 unsigned long pixel_rate_orig; 1817 1818 if (!dp_ctrl) 1819 return -EINVAL; 1820 1821 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); 1822 1823 ctrl->dp_ctrl.pixel_rate = ctrl->panel->dp_mode.drm_mode.clock; 1824 1825 pixel_rate_orig = ctrl->dp_ctrl.pixel_rate; 1826 if (dp_ctrl->wide_bus_en) 1827 ctrl->dp_ctrl.pixel_rate >>= 1; 1828 1829 drm_dbg_dp(ctrl->drm_dev, "rate=%d, num_lanes=%d, pixel_rate=%d\n", 1830 ctrl->link->link_params.rate, 1831 ctrl->link->link_params.num_lanes, ctrl->dp_ctrl.pixel_rate); 1832 1833 if (!dp_power_clk_status(ctrl->power, DP_CTRL_PM)) { /* link clk is off */ 1834 ret = dp_ctrl_enable_mainlink_clocks(ctrl); 1835 if (ret) { 1836 DRM_ERROR("Failed to start link clocks. ret=%d\n", ret); 1837 goto end; 1838 } 1839 } 1840 1841 ret = dp_ctrl_enable_stream_clocks(ctrl); 1842 if (ret) { 1843 DRM_ERROR("Failed to start pixel clocks. ret=%d\n", ret); 1844 goto end; 1845 } 1846 1847 if (ctrl->link->sink_request & DP_TEST_LINK_PHY_TEST_PATTERN) { 1848 dp_ctrl_send_phy_test_pattern(ctrl); 1849 return 0; 1850 } 1851 > 1852 if (force_link_tarin || !dp_ctrl_channel_eq_ok(ctrl)) 1853 dp_ctrl_link_retrain(ctrl); 1854 1855 /* stop txing train pattern to end link training */ 1856 dp_ctrl_clear_training_pattern(ctrl); 1857 1858 /* 1859 * Set up transfer unit values and set controller state to send 1860 * video. 1861 */ 1862 reinit_completion(>video_comp); 1863 1864 dp_ctrl_configure_source_params(ctrl); 1865 1866 dp_catalog_ctrl_config_msa(ctrl->catalog, 1867 ctrl->link->link_params.rate, 1868 pixel_rate_orig, dp_ctrl_use_fixed_nvid(ctrl)); 1869 1870 dp_ctrl_setup_tr_unit(ctrl); 1871 1872 dp_catalog_ctrl_state_ctrl(ctrl->catalog, DP_STATE_CTRL_SEND_VIDEO); 1873 1874 ret = dp_ctrl_wait4video_ready(ctrl); 1875 if (ret)