projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbc367
)
drm/amdgpu/mes: enable mes on navi10 and later asic
author
Jack Xiao
<Jack.Xiao@amd.com>
Fri, 25 Jan 2019 06:56:01 +0000
(14:56 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:22 +0000
(18:58 -0500)
When amdgpu_mes is enabled and asic family is navi10 and
later asic, enable mes per device.
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 107a1950a7112e5abc2395ff7d683c1dadbc83b0..a70d0a44bdd2c96bc98a1a46d7c24487cb98da7b 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@
-2578,6
+2578,9
@@
int amdgpu_device_init(struct amdgpu_device *adev,
if (amdgpu_mcbp)
DRM_INFO("MCBP is enabled\n");
+ if (amdgpu_mes && adev->asic_type >= CHIP_NAVI10)
+ adev->enable_mes = true;
+
if (amdgpu_discovery) {
r = amdgpu_discovery_init(adev);
if (r) {