Re: [PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-29 Thread Boris Brezillon
On Mon, 21 Aug 2023 17:09:49 +0100 Robin Murphy wrote: > On 2023-08-14 11:54, Steven Price wrote: > [...] > >> +/** > >> + * panthor_gpu_l2_power_on() - Power-on the L2-cache > >> + * @ptdev: Device. > >> + * > >> + * Return: 0 on success, a negative error code otherwise. > >> + */ > >> +int pant

Re: [PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-29 Thread Boris Brezillon
On Mon, 14 Aug 2023 11:54:27 +0100 Steven Price wrote: > On 09/08/2023 17:53, Boris Brezillon wrote: > > Handles everything that's not related to the FW, the MMU or the > > scheduler. This is the block dealing with the GPU property retrieval, > > the GPU block power on/off logic, and some global

Re: [PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-23 Thread Steven Price
On 21/08/2023 17:09, Robin Murphy wrote: > On 2023-08-14 11:54, Steven Price wrote: > [...] >>> +/** >>> + * panthor_gpu_l2_power_on() - Power-on the L2-cache >>> + * @ptdev: Device. >>> + * >>> + * Return: 0 on success, a negative error code otherwise. >>> + */ >>> +int panthor_gpu_l2_power_on(str

Re: [PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-21 Thread Robin Murphy
On 2023-08-14 11:54, Steven Price wrote: [...] +/** + * panthor_gpu_l2_power_on() - Power-on the L2-cache + * @ptdev: Device. + * + * Return: 0 on success, a negative error code otherwise. + */ +int panthor_gpu_l2_power_on(struct panthor_device *ptdev) +{ + u64 core_mask = U64_MAX; + +

Re: [PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-14 Thread Steven Price
On 09/08/2023 17:53, Boris Brezillon wrote: > Handles everything that's not related to the FW, the MMU or the > scheduler. This is the block dealing with the GPU property retrieval, > the GPU block power on/off logic, and some global operations, like > global cache flushing. > > v2: > - Rename the

[PATCH v2 05/15] drm/panthor: Add the GPU logical block

2023-08-09 Thread Boris Brezillon
Handles everything that's not related to the FW, the MMU or the scheduler. This is the block dealing with the GPU property retrieval, the GPU block power on/off logic, and some global operations, like global cache flushing. v2: - Rename the driver (pancsf -> panthor) - Change the license (GPL2 ->