Re: [PATCH v3 1/4] drm/msm/dpu: Move LM CRC code into separate method

2022-06-21 Thread Jessica Zhang
On 6/20/2022 11:42 PM, Dmitry Baryshkov wrote: On Tue, 21 Jun 2022 at 03:50, Jessica Zhang wrote: Move layer mixer-specific section of dpu_crtc_get_crc() into a separate helper method. This way, we can make it easier to get CRCs from other HW blocks by adding other get_crc helper methods.

Re: [PATCH v3 1/4] drm/msm/dpu: Move LM CRC code into separate method

2022-06-20 Thread Dmitry Baryshkov
On Tue, 21 Jun 2022 at 03:50, Jessica Zhang wrote: > > Move layer mixer-specific section of dpu_crtc_get_crc() into a separate > helper method. This way, we can make it easier to get CRCs from other HW > blocks by adding other get_crc helper methods. > > Changes since V1: > - Move common bitmasks

[PATCH v3 1/4] drm/msm/dpu: Move LM CRC code into separate method

2022-06-20 Thread Jessica Zhang
Move layer mixer-specific section of dpu_crtc_get_crc() into a separate helper method. This way, we can make it easier to get CRCs from other HW blocks by adding other get_crc helper methods. Changes since V1: - Move common bitmasks to dpu_hw_util.h - Move common CRC methods to dpu_hw_util.c - Upd