Message ID | 20230418-dpu-drop-useless-for-lookup-v3-0-e8d869eea455@somainline.org |
---|---|
Headers | show |
Series | drm/msm/dpu: Drop useless for-loop HW block lookup | expand |
On Wed, 26 Apr 2023 01:11:08 +0200, Marijn Suijten wrote: > Doing a for loop in every DPU HW block driver init to find a catalog > entry matching the given ID is rather useless if the init function > called by RM already has that catalog entry pointer, and uses exactly > its ID to drive this init and for loop. Remove all that machinery to > drop quite some lines of unnecessarily-complicated code, and the > fallibility that comes with it, by simply giving _init() the catalog > entry pointers straight away. > > [...] Applied, thanks! [1/3] drm/msm/dpu: Assign missing writeback log_mask https://gitlab.freedesktop.org/abhinavk/msm/-/commit/a432fc31f03d Best regards,