diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2019-10-04 09:28:21 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-07 15:09:53 -0500 |
commit | 40a9592a26608e16f7545a068ea4165e1869f629 (patch) | |
tree | 71354269c8ef9f01bc7dafe50e88bc3505d13298 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
parent | 1995b3a35fecbf8a8078a5c3ff4b4a88eddaa5fe (diff) |
drm/amdkfd: Fix MQD size calculation
On device initialization, a chunk of GTT memory is pre-allocated for
HIQ and all SDMA queues mqd. The size of this allocation was wrong.
The correct sdma engine number should be PCIe-optimized SDMA engine
number plus xgmi SDMA engine number.
Reported-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com>
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions