From: Quanyang Wang <quanyang.w...@windriver.com>

The mainline xilinx DP driver is using ZYNQMP_DP_SCRAMBLING_DISABLE but
SDK is using ZYNQMP_DP_TX_SCRAMBLING_DISABLE, this will cause building
error. Fix it by using SDK definition.

Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com>
---
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index cbfb989ce068c..09fdb48cd03a0 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
@@ -905,7 +905,7 @@ static int zynqmp_dp_train(struct zynqmp_dp *dp)
        if (ret < 0)
                return ret;
 
-       zynqmp_dp_write(dp, ZYNQMP_DP_SCRAMBLING_DISABLE, 1);
+       zynqmp_dp_write(dp, ZYNQMP_DP_TX_SCRAMBLING_DISABLE, 1);
        memset(dp->train_set, 0, sizeof(dp->train_set));
        ret = zynqmp_dp_link_train_cr(dp);
        if (ret)
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9915): 
https://lists.yoctoproject.org/g/linux-yocto/message/9915
Mute This Topic: https://lists.yoctoproject.org/mt/83055435/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to