[Nouveau] [PATCH v2 09/12] drm/nouveau: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

Re: [Nouveau] [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread Karol Herbst
On Mon, Jul 31, 2023 at 9:16 PM Dave Airlie wrote: > > From: Dave Airlie > > nouveau > 10 years ago had a plan for new multiplexer inside a multiplexer > API using nvif. It never fully reached fruition, fast forward 10 years, > and the new vulkan driver is avoiding libdrm and calling ioctls, and

[Nouveau] [PATCH v2 00/12] drm: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
: - rebased to todays drm-misc-next - Squashed together the two mediatek patches - Adapted the subject prefix for the arcpgu as pointed out by Thomas Zimmermann. (This affected two patches originally, one of them was merged already before anyhow (next-20230801~41^2~34^2~179).) All

Re: [Nouveau] [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread Faith Ekstrand
On Tue, Aug 1, 2023 at 4:37 AM Karol Herbst wrote: > On Mon, Jul 31, 2023 at 9:16 PM Dave Airlie wrote: > > > > From: Dave Airlie > > > > nouveau > 10 years ago had a plan for new multiplexer inside a > multiplexer > > API using nvif. It never fully reached fruition, fast forward 10 years, > >

Re: [Nouveau] [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread Karol Herbst
On Tue, Aug 1, 2023 at 5:15 PM Faith Ekstrand wrote: > On Tue, Aug 1, 2023 at 4:37 AM Karol Herbst wrote: > >> On Mon, Jul 31, 2023 at 9:16 PM Dave Airlie wrote: >> > >> > From: Dave Airlie >> > >> > nouveau > 10 years ago had a plan for new multiplexer inside a >> multiplexer >> > API using

Re: [Nouveau] [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread kernel test robot
Hi Dave, 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.5-rc4 next-20230801

Re: [Nouveau] [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread kernel test robot
Hi Dave, 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.5-rc4 next-20230801