aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch')
-rw-r--r--common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch105
1 files changed, 0 insertions, 105 deletions
diff --git a/common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch b/common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch
deleted file mode 100644
index fb776c80..00000000
--- a/common/recipes-kernel/linux/files/1090-drm-amd-amdgpu-Added-more-named-DRM-info-messages-fo.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-From 8e963faf12a24671249d976ae0604a6fd0bcd2bb Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Thu, 5 May 2016 10:23:40 -0400
-Subject: [PATCH 1090/1110] drm/amd/amdgpu: Added more named DRM info messages
- for debugging
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-index f63fe24..699ea3f 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-@@ -1219,7 +1219,7 @@ static int amdgpu_init(struct amdgpu_device *adev)
- continue;
- r = adev->ip_blocks[i].funcs->sw_init((void *)adev);
- if (r) {
-- DRM_ERROR("sw_init %d failed %d\n", i, r);
-+ DRM_ERROR("sw_init of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- adev->ip_block_status[i].sw = true;
-@@ -1252,7 +1252,7 @@ static int amdgpu_init(struct amdgpu_device *adev)
- continue;
- r = adev->ip_blocks[i].funcs->hw_init((void *)adev);
- if (r) {
-- DRM_ERROR("hw_init %d failed %d\n", i, r);
-+ DRM_ERROR("hw_init of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- adev->ip_block_status[i].hw = true;
-@@ -1272,13 +1272,13 @@ static int amdgpu_late_init(struct amdgpu_device *adev)
- r = adev->ip_blocks[i].funcs->set_clockgating_state((void *)adev,
- AMD_CG_STATE_GATE);
- if (r) {
-- DRM_ERROR("set_clockgating_state(gate) %d failed %d\n", i, r);
-+ DRM_ERROR("set_clockgating_state(gate) of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- if (adev->ip_blocks[i].funcs->late_init) {
- r = adev->ip_blocks[i].funcs->late_init((void *)adev);
- if (r) {
-- DRM_ERROR("late_init %d failed %d\n", i, r);
-+ DRM_ERROR("late_init of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- }
-@@ -1302,13 +1302,13 @@ static int amdgpu_fini(struct amdgpu_device *adev)
- r = adev->ip_blocks[i].funcs->set_clockgating_state((void *)adev,
- AMD_CG_STATE_UNGATE);
- if (r) {
-- DRM_ERROR("set_clockgating_state(ungate) %d failed %d\n", i, r);
-+ DRM_ERROR("set_clockgating_state(ungate) of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- r = adev->ip_blocks[i].funcs->hw_fini((void *)adev);
- /* XXX handle errors */
- if (r) {
-- DRM_DEBUG("hw_fini %d failed %d\n", i, r);
-+ DRM_DEBUG("hw_fini of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- }
- adev->ip_block_status[i].hw = false;
- }
-@@ -1319,7 +1319,7 @@ static int amdgpu_fini(struct amdgpu_device *adev)
- r = adev->ip_blocks[i].funcs->sw_fini((void *)adev);
- /* XXX handle errors */
- if (r) {
-- DRM_DEBUG("sw_fini %d failed %d\n", i, r);
-+ DRM_DEBUG("sw_fini of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- }
- adev->ip_block_status[i].sw = false;
- adev->ip_block_status[i].valid = false;
-@@ -1347,14 +1347,14 @@ static int amdgpu_suspend(struct amdgpu_device *adev)
- r = adev->ip_blocks[i].funcs->set_clockgating_state((void *)adev,
- AMD_CG_STATE_UNGATE);
- if (r) {
-- DRM_ERROR("set_clockgating_state(ungate) %d failed %d\n", i, r);
-+ DRM_ERROR("set_clockgating_state(ungate) of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- }
- }
- /* XXX handle errors */
- r = adev->ip_blocks[i].funcs->suspend(adev);
- /* XXX handle errors */
- if (r) {
-- DRM_ERROR("suspend %d failed %d\n", i, r);
-+ DRM_ERROR("suspend of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- }
- }
-
-@@ -1370,7 +1370,7 @@ static int amdgpu_resume(struct amdgpu_device *adev)
- continue;
- r = adev->ip_blocks[i].funcs->resume(adev);
- if (r) {
-- DRM_ERROR("resume %d failed %d\n", i, r);
-+ DRM_ERROR("resume of IP block <%s> failed %d\n", adev->ip_blocks[i].funcs->name, r);
- return r;
- }
- }
---
-2.7.4
-