diff options
| author | Sung Lee <[email protected]> | 2020-03-30 21:19:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-22 22:11:47 +0000 |
| commit | f2cd2e5d861245dbf40e9b919e4734123164d8f4 (patch) | |
| tree | bc208ee153eee113cc64931bdc39798103f8f9b6 /drivers/gpu/drm/amd/display/modules/inc/mod_shared.h | |
| parent | drm/amd/display: add optc get crc support for timings with ODM/DSC (diff) | |
| download | kernel-f2cd2e5d861245dbf40e9b919e4734123164d8f4.tar.gz kernel-f2cd2e5d861245dbf40e9b919e4734123164d8f4.zip | |
drm/amd/display: Set meta_chunk_value to 0 in DML if DCC disabled in DCN2.1
[WHY]:
Calculating refcyc_per_meta_chunk_vblank_l when DCC is disabled may lead
to a large number causing an assert to get hit. In VBA, this value is 0
when DCC is disabled.
[HOW]:
Set value to 0 to avoid hitting the assert.
Signed-off-by: Sung Lee <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_shared.h')
0 files changed, 0 insertions, 0 deletions
