diff options
| author | 2021-07-08 14:50:48 -0400 | |
|---|---|---|
| committer | 2021-07-27 12:43:09 -0400 | |
| commit | c8f8e96805b54968b4d1d54850f87fc39128a532 (patch) | |
| tree | abffd449db79405d305286ff3c1e64c8f6dbfeb7 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: Check pmops for desired suspend state (diff) | |
| download | linux-dev-c8f8e96805b54968b4d1d54850f87fc39128a532.tar.xz linux-dev-c8f8e96805b54968b4d1d54850f87fc39128a532.zip | |
drm/amd/display: Guard DST_Y_PREFETCH register overflow in DCN21
[why]
DST_Y_PREFETCH can overflow when DestinationLinesForPrefetch values are
too large due to the former being limited to 8 bits.
[how]
Set the maximum value of DestinationLinesForPrefetch to be 255 * refclk
period.
Reviewed-by: Laktyushkin Dmytro <dmytro.laktyushkin@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
