From patchwork Sat Sep 12 21:08:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhinav Kumar X-Patchwork-Id: 250287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C575C43461 for ; Sat, 12 Sep 2020 21:08:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C86F520829 for ; Sat, 12 Sep 2020 21:08:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="eh06m2y4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725888AbgILVIc (ORCPT ); Sat, 12 Sep 2020 17:08:32 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:25625 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbgILVIZ (ORCPT ); Sat, 12 Sep 2020 17:08:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1599944905; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=OiZdBSCkvX4EHgmYJsm+jGWmir50EK7hNu+6DLgu68Q=; b=eh06m2y408/KZXMOLj2jxEMhy9kHygsTP8z9AsTKYeAnffIuSjdAp8a++5CcswfPsyFqjjHX 0+4Neaiv+rjrWa9pZPhEEn6bHJ3xHED+58i2F1WrUrRx9U+kjNsFoiR3Wol3Jh0u7vf2egNI iH6fHHm/secI6Xv99ZYEhpdpeCw= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 5f5d38c9885efaea0a30fba3 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 12 Sep 2020 21:08:25 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 48691C433FF; Sat, 12 Sep 2020 21:08:24 +0000 (UTC) Received: from abhinavk-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: abhinavk) by smtp.codeaurora.org (Postfix) with ESMTPSA id E0397C433C6; Sat, 12 Sep 2020 21:08:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E0397C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=abhinavk@codeaurora.org From: Abhinav Kumar To: dri-devel@lists.freedesktop.org Cc: Abhinav Kumar , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, robdclark@gmail.com, seanpaul@chromium.org, swboyd@chromium.org, nganji@codeaurora.org, aravindh@codeaurora.org, tanmay@codeaurora.org, khsieh@codeaurora.org Subject: [PATCH v2 0/4] Add support for video pattern DP CTS to MSM DP Date: Sat, 12 Sep 2020 14:08:11 -0700 Message-Id: <20200912210815.19726-1-abhinavk@codeaurora.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for video pattern Display Port Compliance tests to MSM DP driver. The userspace component of this shall be part of another series in the igt mailing list. This depends on series [1] , [2] and [3] which add basic Display Port support to MSM chipsets. [1] https://patchwork.kernel.org/project/dri-devel/list/?series=339847 [2] https://patchwork.freedesktop.org/patch/390217/?series=79210&rev=8 [3] https://patchwork.kernel.org/project/dri-devel/list/?series=347831 Changes in v2: rebase on top of latest patchset of dependencies Abhinav Kumar (4): drm/msm/dp: add debugfs support to DP driver drm/msm/dp: move debugfs node to /sys/kernel/debug/dri/*/ drm/msm/dp: add debugfs nodes for video pattern tests drm/msm/dp: remove mode hard-coding in case of DP CTS drivers/gpu/drm/msm/Makefile | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 7 + drivers/gpu/drm/msm/dp/dp_debug.c | 485 ++++++++++++++++++++++++ drivers/gpu/drm/msm/dp/dp_debug.h | 74 ++++ drivers/gpu/drm/msm/dp/dp_display.c | 28 +- drivers/gpu/drm/msm/dp/dp_link.c | 2 +- drivers/gpu/drm/msm/dp/dp_link.h | 23 ++ drivers/gpu/drm/msm/dp/dp_panel.c | 46 +-- drivers/gpu/drm/msm/msm_drv.h | 2 + 9 files changed, 617 insertions(+), 53 deletions(-) create mode 100644 drivers/gpu/drm/msm/dp/dp_debug.c create mode 100644 drivers/gpu/drm/msm/dp/dp_debug.h