diff options
| author | 2020-10-21 00:31:13 +0200 | |
|---|---|---|
| committer | 2020-10-21 16:14:47 -0400 | |
| commit | 4a3a1dc02fc3245aeeaa3742791e71fa2497b4a0 (patch) | |
| tree | d699adc77386f6d3a3563a020c9deb79ec07e766 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amd/pm: update driver if file for sienna cichlid (diff) | |
| download | wireguard-linux-4a3a1dc02fc3245aeeaa3742791e71fa2497b4a0.tar.xz wireguard-linux-4a3a1dc02fc3245aeeaa3742791e71fa2497b4a0.zip | |
drm/amd/display: Initialize num_pkrs on VANGOGH.
As far a I can tell uses a variant of DCN3xx which uses num_pkrs.
If we do not initialize the variable we will set the register field
to ilog2(0) = -1, though the mask will reduce that to 7. Pretty sure
7 is not the value we want here.
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-and-Tested-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
