From: Damien Lespiau Subject: New DP vfuncs get_aux{clock_divider,send_ctl} Date: Mon, 20 Jan 2014 15:52:28 +0000 Message-ID: <1390233152-2913-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A5D7FAB36 for ; Mon, 20 Jan 2014 07:53:05 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org A tiny bit of refactoring to make the code more pluggable: 1/ separate the get_aux_clock_divider() into multiple functions. I Tested this patch on IVB and HSW, the simpler to review that patch is to not look at the diff but the before/after version and follow the different code path for each platform. This part is optional as it's not very easy to review, but I somewhat like the per-platform separation. 2/ split out a get_aux_send_ctl() -- Damien