From: Imre Deak Subject: [PATCH 0/4] drm/i915: remove is_cpu_edp() Date: Thu, 16 May 2013 14:40:33 +0300 Message-ID: <1368704437-17034-1-git-send-email-imre.deak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id DF31CE5F78 for ; Thu, 16 May 2013 04:40:39 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org is_cpu_edp() is equivalent with a port==PORT_A check. There are two exceptions (see patch 1 and 2), where we can rewrite things to handle ValleyView separately as it's done at other places. With these out of the way we can replace is_cpu_edp() with a simpler port check and remove is_cpu_edp(). I tested this only on IVB, so before applying we should test it on VLV at least. Imre Deak (4): drm/i915: stop using is_cpu_edp() in intel_disable/post_disable_dp drm/i915: merge VLV eDP and DP AUX clock divider calculation drm/i915: replace is_cpu_edp() with a check for port A drm/i915: remove unused is_cpu_edp() drivers/gpu/drm/i915/intel_dp.c | 78 ++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 43 deletions(-) -- 1.7.10.4