diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0211-drm-amdgpu-simplify-DPCD-debug-output.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0211-drm-amdgpu-simplify-DPCD-debug-output.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/common/recipes-kernel/linux/files/0211-drm-amdgpu-simplify-DPCD-debug-output.patch b/common/recipes-kernel/linux/files/0211-drm-amdgpu-simplify-DPCD-debug-output.patch deleted file mode 100644 index 508bb475..00000000 --- a/common/recipes-kernel/linux/files/0211-drm-amdgpu-simplify-DPCD-debug-output.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 7af93b506956cd3efbea3c8e79a9420ac8819a7e Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Mon, 18 May 2015 18:12:02 -0400 -Subject: [PATCH 0211/1050] drm/amdgpu: simplify DPCD debug output -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Use %*ph rather than walking the array. - -Reviewed-by: Christian König <christian.koenig@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c -index 7287aa8..d54c4b8 100644 ---- a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c -+++ b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c -@@ -358,16 +358,15 @@ int amdgpu_atombios_dp_get_dpcd(struct amdgpu_connector *amdgpu_connector) - { - struct amdgpu_connector_atom_dig *dig_connector = amdgpu_connector->con_priv; - u8 msg[DP_DPCD_SIZE]; -- int ret, i; -+ int ret; - - ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, msg, - DP_DPCD_SIZE); - if (ret > 0) { - memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); -- DRM_DEBUG_KMS("DPCD: "); -- for (i = 0; i < DP_DPCD_SIZE; i++) -- DRM_DEBUG_KMS("%02x ", msg[i]); -- DRM_DEBUG_KMS("\n"); -+ -+ DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), -+ dig_connector->dpcd); - - amdgpu_atombios_dp_probe_oui(amdgpu_connector); - --- -1.9.1 - |