diff options
| author | Jaehyun Chung <[email protected]> | 2020-08-05 21:28:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-08-17 18:09:06 +0000 |
| commit | e0f7ff99c92ff5e033e169c30cff607ff7c17192 (patch) | |
| tree | 729e7cb863247456840ebf7acc24f4d1cbc2a52a /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | drm/amd/display: fix pow() crashing when given base 0 (diff) | |
| download | kernel-e0f7ff99c92ff5e033e169c30cff607ff7c17192.tar.gz kernel-e0f7ff99c92ff5e033e169c30cff607ff7c17192.zip | |
drm/amd/display: Mask DPCD field to avoid reading unsupported field value
[Why]
DSC will be disabled if DPCD 0006F[6:3] is set to a non-zero value
because bits 6:3 are not currently supported. When 6:3 is populated, an
unsupported INCREMENT OF bits_per_pixel value is read (DPCD 0006F[2:0])
[How]
Mask the INCREMENT OF bits_per_pixel field so that values in the
unsupported field are ignored.
Signed-off-by: Jaehyun Chung <[email protected]>
Reviewed-by: Wenjing Liu <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
