drm/amdgpu: enable tmz by default for GC 11.0.1
commit 663b930e24842f3d3bb79418bb5cd8d01b40c559 upstream. Add IP GC 11.0.1 in the list of target to have tmz enabled by default. Signed-off-by: Ikshwaku Chauhan <ikshwaku.chauhan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.1.x Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
009886965e
commit
2f91f92bd8
1 changed files with 2 additions and 1 deletions
|
|
@ -526,6 +526,8 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
|
||||||
case IP_VERSION(9, 3, 0):
|
case IP_VERSION(9, 3, 0):
|
||||||
/* GC 10.3.7 */
|
/* GC 10.3.7 */
|
||||||
case IP_VERSION(10, 3, 7):
|
case IP_VERSION(10, 3, 7):
|
||||||
|
/* GC 11.0.1 */
|
||||||
|
case IP_VERSION(11, 0, 1):
|
||||||
if (amdgpu_tmz == 0) {
|
if (amdgpu_tmz == 0) {
|
||||||
adev->gmc.tmz_enabled = false;
|
adev->gmc.tmz_enabled = false;
|
||||||
dev_info(adev->dev,
|
dev_info(adev->dev,
|
||||||
|
|
@ -548,7 +550,6 @@ void amdgpu_gmc_tmz_set(struct amdgpu_device *adev)
|
||||||
case IP_VERSION(10, 3, 1):
|
case IP_VERSION(10, 3, 1):
|
||||||
/* YELLOW_CARP*/
|
/* YELLOW_CARP*/
|
||||||
case IP_VERSION(10, 3, 3):
|
case IP_VERSION(10, 3, 3):
|
||||||
case IP_VERSION(11, 0, 1):
|
|
||||||
case IP_VERSION(11, 0, 4):
|
case IP_VERSION(11, 0, 4):
|
||||||
/* Don't enable it by default yet.
|
/* Don't enable it by default yet.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue