aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch71
1 files changed, 0 insertions, 71 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch
deleted file mode 100644
index 52cff652..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0502-drm-amd-display-Add-function-to-log-connectivity.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 26d04f605a56eedf0eb0873e5eabab160eceec08 Mon Sep 17 00:00:00 2001
-From: Zeyu Fan <Zeyu.Fan@amd.com>
-Date: Mon, 5 Jun 2017 17:56:05 -0400
-Subject: [PATCH 0502/4131] drm/amd/display: Add function to log connectivity
-
-Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
-Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
-Acked-by: Harry Wentland <Harry.Wentland@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 ++++++
- drivers/gpu/drm/amd/display/dc/basics/log_helpers.c | 3 +++
- drivers/gpu/drm/amd/display/dc/dm_helpers.h | 4 ++++
- 3 files changed, 13 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
-index 01d04fa..64db62e 100644
---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
-+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
-@@ -322,6 +322,12 @@ bool dm_helpers_dp_mst_send_payload_allocation(
- return true;
- }
-
-+bool dm_helpers_dc_conn_log(struct dc_context*ctx, const char *msg)
-+{
-+ return true;
-+}
-+
-+
- bool dm_helpers_dp_mst_start_top_mgr(
- struct dc_context *ctx,
- const struct dc_link *link,
-diff --git a/drivers/gpu/drm/amd/display/dc/basics/log_helpers.c b/drivers/gpu/drm/amd/display/dc/basics/log_helpers.c
-index c4eddee..1268be9 100644
---- a/drivers/gpu/drm/amd/display/dc/basics/log_helpers.c
-+++ b/drivers/gpu/drm/amd/display/dc/basics/log_helpers.c
-@@ -26,6 +26,7 @@
- #include "core_types.h"
- #include "logger.h"
- #include "include/logger_interface.h"
-+#include "dm_helpers.h"
-
- #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0]))
-
-@@ -94,6 +95,8 @@ void dc_conn_log(struct dc_context *ctx,
- dm_logger_append(&entry, "%2.2X ", hex_data[i]);
-
- dm_logger_append(&entry, "^\n");
-+ dm_helpers_dc_conn_log(ctx, entry.buf);
- dm_logger_close(&entry);
-+
- va_end(args);
- }
-diff --git a/drivers/gpu/drm/amd/display/dc/dm_helpers.h b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
-index c15a25c..9fb606c 100644
---- a/drivers/gpu/drm/amd/display/dc/dm_helpers.h
-+++ b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
-@@ -68,6 +68,10 @@ bool dm_helpers_dp_mst_start_top_mgr(
- const struct dc_link *link,
- bool boot);
-
-+bool dm_helpers_dc_conn_log(
-+ struct dc_context*ctx,
-+ const char *msg);
-+
- void dm_helpers_dp_mst_stop_top_mgr(
- struct dc_context *ctx,
- const struct dc_link *link);
---
-2.7.4
-