* [PATCH v2] drm/dp-helper: DP_TEST_MISC1 should be DP_TEST_MISC0
@ 2017-04-17 13:57 Harry Wentland
[not found] ` <20170417135750.16016-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Harry Wentland @ 2017-04-17 13:57 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Harry Wentland
Bring this in line with spec and what commit in upstream drm tree.
v2: Update DC usage of DP_TEST_MISC0
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
---
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
include/drm/drm_dp_helper.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index 802d8cc99ea3..9f12ba87827a 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@ -1691,7 +1691,7 @@ static void dp_test_send_link_test_pattern(struct core_link *link)
sizeof(dpcd_test_pattern));
core_link_read_dpcd(
link,
- DP_TEST_MISC1,
+ DP_TEST_MISC0,
&dpcd_test_params.raw,
sizeof(dpcd_test_params));
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 4b14a7674be1..d6a5015976d9 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -419,7 +419,7 @@
#define DP_TEST_PATTERN 0x221
-#define DP_TEST_MISC1 0x232
+#define DP_TEST_MISC0 0x232
#define DP_TEST_CRC_R_CR 0x240
#define DP_TEST_CRC_G_Y 0x242
--
2.11.0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/dp-helper: DP_TEST_MISC1 should be DP_TEST_MISC0
[not found] ` <20170417135750.16016-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
@ 2017-04-17 13:59 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2017-04-17 13:59 UTC (permalink / raw)
To: Harry Wentland; +Cc: amd-gfx list
On Mon, Apr 17, 2017 at 9:57 AM, Harry Wentland <harry.wentland@amd.com> wrote:
> Bring this in line with spec and what commit in upstream drm tree.
>
> v2: Update DC usage of DP_TEST_MISC0
>
> Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
> include/drm/drm_dp_helper.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> index 802d8cc99ea3..9f12ba87827a 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> @@ -1691,7 +1691,7 @@ static void dp_test_send_link_test_pattern(struct core_link *link)
> sizeof(dpcd_test_pattern));
> core_link_read_dpcd(
> link,
> - DP_TEST_MISC1,
> + DP_TEST_MISC0,
> &dpcd_test_params.raw,
> sizeof(dpcd_test_params));
>
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index 4b14a7674be1..d6a5015976d9 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -419,7 +419,7 @@
>
> #define DP_TEST_PATTERN 0x221
>
> -#define DP_TEST_MISC1 0x232
> +#define DP_TEST_MISC0 0x232
>
> #define DP_TEST_CRC_R_CR 0x240
> #define DP_TEST_CRC_G_Y 0x242
> --
> 2.11.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-17 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 13:57 [PATCH v2] drm/dp-helper: DP_TEST_MISC1 should be DP_TEST_MISC0 Harry Wentland
[not found] ` <20170417135750.16016-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2017-04-17 13:59 ` Alex Deucher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.