From patchwork Mon May 17 19:50:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Srivatsa, Anusha" X-Patchwork-Id: 12262993 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 DECDFC433B4 for ; Mon, 17 May 2021 19:50:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7BF4E6128E for ; Mon, 17 May 2021 19:50:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BF4E6128E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FFB76EA6F; Mon, 17 May 2021 19:50:21 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3C53F6EA71 for ; Mon, 17 May 2021 19:50:17 +0000 (UTC) IronPort-SDR: R8vOaidezMw9imY/VF68Zdc7rTRWpT2IjJMTCF4gsnQL0J5cDuxG03fV44D/3XbS2zdtqZn/iZ V2SJvPPaipNQ== X-IronPort-AV: E=McAfee;i="6200,9189,9987"; a="286081481" X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="286081481" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2021 12:50:16 -0700 IronPort-SDR: I7FBayVsOLj1JxfrK/saV1frxOEIdbKDr01QyJdaffZwEQfbWRrj4FDeyCa03gdrBxKoj1V8nD QNEfXuHMXkgw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="541445408" Received: from anushasr-mobl6.jf.intel.com ([10.165.21.155]) by fmsmga001.fm.intel.com with ESMTP; 17 May 2021 12:50:16 -0700 From: Anusha Srivatsa To: intel-gfx@lists.freedesktop.org Date: Mon, 17 May 2021 12:50:10 -0700 Message-Id: <20210517195015.27983-1-anusha.srivatsa@intel.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/5] Rename all CSR references to DMC X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Currently in our driver we use both CSR and DMC interchangeably. Even though the spec mentions both, we do not follow that convention in the driver. Renaming all references of CSR to just be DMC. This hopefully makes the driver of this part a litlle less confusing. Suggested-by: Jani Nikula Acked-by: Jani Nikula Anusha Srivatsa (5): drm/i915/dmc: s/intel_csr/intel_dmc drm/i915/dmc: s/HAS_CSR/HAS_DMC drm/i915/dmc: Rename macro names containing csr drm/i915/dmc: Rename functions names having "csr" drm/i915/dmc: s/intel_csr.c/intel_dmc.c and s/intel_csr.h/intel_dmc.h Documentation/gpu/i915.rst | 10 +- drivers/gpu/drm/i915/Makefile | 2 +- drivers/gpu/drm/i915/display/intel_csr.h | 21 -- drivers/gpu/drm/i915/display/intel_display.c | 16 +- .../drm/i915/display/intel_display_debugfs.c | 30 +- .../drm/i915/display/intel_display_power.c | 82 ++--- .../i915/display/{intel_csr.c => intel_dmc.c} | 333 +++++++++--------- drivers/gpu/drm/i915/display/intel_dmc.h | 21 ++ drivers/gpu/drm/i915/display/intel_psr.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 8 +- drivers/gpu/drm/i915/i915_drv.h | 6 +- drivers/gpu/drm/i915/i915_gpu_error.c | 12 +- drivers/gpu/drm/i915/i915_pci.c | 4 +- drivers/gpu/drm/i915/i915_reg.h | 28 +- drivers/gpu/drm/i915/intel_device_info.c | 2 +- drivers/gpu/drm/i915/intel_device_info.h | 2 +- 16 files changed, 289 insertions(+), 290 deletions(-) delete mode 100644 drivers/gpu/drm/i915/display/intel_csr.h rename drivers/gpu/drm/i915/display/{intel_csr.c => intel_dmc.c} (66%) create mode 100644 drivers/gpu/drm/i915/display/intel_dmc.h