[PATCH 11/15] drm/mediatek: Support CRC in VDOSYS0
Shawn Sung (宋孝謙)
Shawn.Sung at mediatek.com
Tue Aug 29 22:13:39 PDT 2023
Hi CK,
On Thu, 2023-08-24 at 02:29 +0000, CK Hu (胡俊光) wrote:
>
> Read CRC by CPU in ovl irq handler instead of using cmdq, so things
> would be simpler.
>
CPU is less reliable than GCE in terms of CRC retrieval because:
1. Slower read/write register speed (1/15 of GCE)
2. The time ISR being executed is not controllable
3. CPU and bus could be busy, or the clock rate is low at the time
Although we do have a CPU version, there is about a 5% chance to
fail if the CPU clock rate is not set to the maximum,
therefore, we choose GCE (CMDQ) to do the job for better stability.
Will mention this in the cover letter in the next version.
Thanks,
Hsiao Chien Sung
More information about the Linux-mediatek
mailing list