]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Skip 2 frames when first reading CRC
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Tue, 6 Feb 2018 15:20:46 +0000 (10:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:11 +0000 (14:20 -0500)
commitd652464459ab2fce2c051076ca60837623ac644e
treea52fcd4bc73306e820d9a60b5ab32bea48e2dced
parent730bf5a274e06a49131cb5eb4fa74b2a59b53f2d
drm/amd/display: Skip 2 frames when first reading CRC

Skipping the first frame will prevent uncoooked values most of the time.
However, in some unlikely cases, the second frame will be uncooked as
well.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c