diff options
| author | Emily Deng <Emily.Deng@amd.com> | 2018-10-12 18:14:32 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2018-10-12 12:52:49 -0500 |
| commit | 8bda1013ddb1dffdee7f9a1912f9845b9cf529cb (patch) | |
| tree | 7028aa63197e7d209e63b77d8bdc3bcdc0bf8d41 /lib/string_helpers.c | |
| parent | 0efd2d2f68cd5dbddf4ecd974c33133257d16a8e (diff) | |
drm/amdgpu: Set the default value about gds vmid0 size
For sriov, when first run windows guest, then run linux guest, the gds
vmid0 size will be reset to 0 by windows guest. So if the value has been
reset to 0, then set the value to the default value in linux guest.
v2:
Fixed value instead of reading mmGDS_VMID0_SIZE.
v3:
Set the default value of the switch.
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
