From patchwork Thu Jul 15 09:35:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 12379673 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 90E8BC07E96 for ; Thu, 15 Jul 2021 09:35:35 +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 5328D6136E for ; Thu, 15 Jul 2021 09:35:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5328D6136E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.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 0BBD36E5CF; Thu, 15 Jul 2021 09:35:35 +0000 (UTC) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id C84686E5CF for ; Thu, 15 Jul 2021 09:35:33 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10045"; a="210499616" X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="210499616" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2021 02:35:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="452361605" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by orsmga007.jf.intel.com with SMTP; 15 Jul 2021 02:35:30 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 15 Jul 2021 12:35:30 +0300 From: Ville Syrjala To: intel-gfx@lists.freedesktop.org Date: Thu, 15 Jul 2021 12:35:17 +0300 Message-Id: <20210715093530.31711-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 00/13] drm/i915: Clean up DPLL stuff 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" From: Ville Syrjälä A bunch of cleanups to the DPLL code. Ville Syrjälä (13): drm/i915: Set output_types to EDP for vlv/chv DPLL forcing drm/i915: Clean up gen2 DPLL readout drm/i915: Extract ilk_update_pll_dividers() drm/i915: Constify struct dpll all over drm/i915: Clean dpll calling convention drm/i915: Clean up variable names in old dpll functions drm/i915: Remove the 'reg' local variable drm/i915: Program DPLL P1 dividers consistently drm/i915: Call {vlv,chv}_prepare_pll() from {vlv,chv}_enable_pll() drm/i915: Reuse ilk_needs_fb_cb_tune() for the reduced clock as well drm/i915: Fold i9xx_set_pll_dividers() into i9xx_enable_pll() drm/i915: Fold ibx_pch_dpll_prepare() into ibx_pch_dpll_enable() drm/i915: Nuke intel_prepare_shared_dpll() drivers/gpu/drm/i915/display/intel_display.c | 42 +- .../drm/i915/display/intel_display_types.h | 5 - drivers/gpu/drm/i915/display/intel_dpll.c | 567 +++++++++--------- drivers/gpu/drm/i915/display/intel_dpll.h | 23 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 41 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 11 - drivers/gpu/drm/i915/i915_drv.h | 3 +- 7 files changed, 315 insertions(+), 377 deletions(-) Reviewed-by: Jani Nikula