diff options
| author | Harry Wentland <harry.wentland@amd.com> | 2017-03-31 20:14:33 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-04 14:42:40 -0400 |
| commit | 1ce65f5284d6018916dd4a86865d0ce5f11d24b9 (patch) | |
| tree | 3338f081ba0e265f3710023945802bf7e11662e0 /scripts/stackusage | |
| parent | drm/amdgpu: create a func to check vm size (diff) | |
| download | linux-1ce65f5284d6018916dd4a86865d0ce5f11d24b9.tar.gz linux-1ce65f5284d6018916dd4a86865d0ce5f11d24b9.zip | |
drm/amdgpu: Read vram width from integrated system info table
On KB, KV, CZ we should read the vram width from integrated system
table, if we can. The NOOFCHAN in MC_SHARED_CHMAP is not accurate.
With this change we can enable two 4k displays on CZ again. This use
case was broken sometime in January when we started looking at
vram_width for bandwidth calculations instead of hardcoding this value.
v2:
Return 0 if integrated system info table is not available.
Tested-by: Roman Li <roman.li@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
