drm/amd/display: treat memory as a single-channel for asymmetric memory V3
Hugo Hu authored

Previous patch caused crash and had been reverted. This patch
addresses the issue without regression.

[Why]
1. Driver use umachannelnumber to calculate watermarks for stutter.
In asymmetric memory config, the actual bandwidth is less than
dual-channel. The bandwidth should be the same as single-channel.
2. We found single rank dimm need additional delay time for stutter.

[How]
Get information from each DIMM. Treat memory config as a single-channel
for asymmetric memory in bandwidth calculating.
Add additional delay time for single rank dimm.
Signed-off-by: default avatarHugo Hu <hugo.hu@amd.com>
Reviewed-by: default avatarSung Lee <Sung.Lee@amd.com>
Acked-by: default avatarStylon Wang <stylon.wang@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
132c894e
Name Last commit Last update
Documentation Merge drm/drm-fixes into drm-next
LICENSES LICENSES: Add the CC-BY-4.0 license
arch Merge drm/drm-fixes into drm-next
block block: remove the unused RQF_ALLOCED flag
certs certs: Replace K{U,G}IDT_INIT() with GLOBAL_ROOT_{U,G}ID
crypto crypto: mips/poly1305 - enable for all MIPS processors
drivers drm/amd/display: treat memory as a single-channel for asymmetric memory V3
fs Merge tag 'for-5.12-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
include drm/amdgpu: remove AMDGPU_GEM_CREATE_SHADOW flag
init Merge branch 'akpm' (patches from Andrew)
ipc fs: make helpers idmap mount aware
kernel Merge drm/drm-fixes into drm-next
lib Merge drm/drm-fixes into drm-next
mm Merge branch 'for-5.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu
net net: fix hangup on napi_disable for threaded napi
samples Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net
scripts Merge drm/drm-fixes into drm-next
security Merge tag 'selinux-pr-20210409' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
sound Merge tag 'sound-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge tag 'perf-tools-fixes-for-v5.12-2020-04-09' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
usr Merge tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
virt KVM: x86/mmu: Consider the hva in mmu_notifier retry
.clang-format Merge tag 'cxl-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.