Re: [PATCH 3/3] drm/msm/dpu: Pass catalog pointers directly from RM instead of IDs

2023-04-20 Thread Dmitry Baryshkov
On 18/04/2023 02:14, Marijn Suijten wrote: The Resource Manager already iterates over all available blocks from the catalog, only to pass their ID to a dpu_hw_xxx_init() function which uses an _xxx_offset() helper to search for and find the exact same catalog pointer again to initialize the block

[PATCH 3/3] drm/msm/dpu: Pass catalog pointers directly from RM instead of IDs

2023-04-17 Thread Marijn Suijten
The Resource Manager already iterates over all available blocks from the catalog, only to pass their ID to a dpu_hw_xxx_init() function which uses an _xxx_offset() helper to search for and find the exact same catalog pointer again to initialize the block with, fallible error handling and all. Inst