[PATCH v2 3/3] drm/msm/gpu: Respect PM QoS constraints

2021-11-20 Thread Rob Clark
From: Rob Clark Re-work the boost and idle clamping to use PM QoS requests instead, so they get aggreggated with other requests (such as cooling device). This does have the minor side-effect that devfreq sysfs min_freq/ max_freq files now reflect the boost and idle clamping, as they show (despit

[PATCH v2 2/3] drm/msm/gpu: Fix check for devices without devfreq

2021-11-20 Thread Rob Clark
From: Rob Clark Looks like 658f4c829688 ("drm/msm/devfreq: Add 1ms delay before clamping freq") was badly rebased on top of efb8a170a367 ("drm/msm: Fix devfreq NULL pointer dereference on a3xx") and ended up with the NULL check in the wrong place. Fixes: 658f4c829688 ("drm/msm/devfreq: Add 1ms d

[PATCH v2 1/3] drm/msm/gpu: Fix idle_work time

2021-11-20 Thread Rob Clark
From: Rob Clark This was supposed to be a relative timer, not absolute. Fixes: 658f4c829688 ("drm/msm/devfreq: Add 1ms delay before clamping freq") Signed-off-by: Rob Clark Reviewed-by: Douglas Anderson --- drivers/gpu/drm/msm/msm_gpu_devfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

WARN with AMDGPU driver with all 5.14.x kernels

2021-11-20 Thread Chris Rankin
Hi. I've already tried reporting this on the linux kernel list, without effect: [ 95.796055] [ cut here ] [ 95.819648] WARNING: CPU: 3 PID: 1 at drivers/gpu/drm/ttm/ttm_bo.c:409 ttm_bo_release+0x1c/0x266 [ttm] [ 95.827805] Modules linked in: nf_nat_ftp nf_conntrack_f

Re: [PATCH 2/2] drm/msm/gpu: Respect PM QoS constraints

2021-11-20 Thread Rob Clark
On Fri, Nov 19, 2021 at 4:21 PM Doug Anderson wrote: > > Hi, > > On Fri, Nov 19, 2021 at 2:47 PM Rob Clark wrote: > > > > +void msm_devfreq_boost(struct msm_gpu *gpu, unsigned factor) > > +{ > > + struct msm_gpu_devfreq *df = &gpu->devfreq; > > + unsigned long freq; > > + > > +

Re: [PATCH] drm/kmb: fix potential memleak in error branch

2021-11-20 Thread kernel test robot
Hi Bernard, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v5.16-rc1 next-2028] [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

Re: [PATCH bpf] treewide: add missing includes masked by cgroup -> bpf dependency

2021-11-20 Thread Jakub Kicinski
On Sat, 20 Nov 2021 15:30:11 +0800 Peter Chen wrote: > > diff --git a/drivers/usb/cdns3/host.c b/drivers/usb/cdns3/host.c > > index 84dadfa726aa..9643b905e2d8 100644 > > --- a/drivers/usb/cdns3/host.c > > +++ b/drivers/usb/cdns3/host.c > > @@ -10,6 +10,7 @@ > > */ > > > > #include > > +#inclu

Re: [PATCH v4 1/6] drm/i915: Add support for moving fence waiting

2021-11-20 Thread kernel test robot
Hi "Thomas, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [also build test ERROR on drm-exynos/exynos-drm-next drm/drm-next v5.16-rc1 next-2028] [cannot apply to drm-intel/for-linux-next tegra-drm/drm/tegra/for-next airlied/drm-next] [If your patch

Re: [PATCH bpf] treewide: add missing includes masked by cgroup -> bpf dependency

2021-11-20 Thread Krzysztof Wilczyński
Hi Jakub, [...] > drivers/pci/controller/dwc/pci-exynos.c | 1 + > drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 + Happy to give Acked-by: Krzysztof Wilczyński for the the PCI drivers. Thank you! Krzysztof

[PATCH 4/4] loongson2_defconfig: enable etnaviv drm driver on default

2021-11-20 Thread Sui Jingfeng
From: suijingfeng Signed-off-by: suijingfeng Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- arch/mips/configs/loongson2k_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/configs/loongson2k_defconfig b/arch/mips/configs/loongson2k_defconfig index e948ca487e2d..194f3

[PATCH 3/4] loongson3_defconfig: enable etnaviv drm driver on default

2021-11-20 Thread Sui Jingfeng
From: suijingfeng Signed-off-by: suijingfeng Signed-off-by: Sui Jingfeng <15330273...@189.cn> --- arch/mips/configs/loongson3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index f02101ff04b3..29ca7912