From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Xingchao Subject: [PATCH 0/2 V3] Power-well API implementation for Haswell Date: Thu, 16 May 2013 15:52:35 +0800 Message-ID: <1368690757-2856-1-git-send-email-xingchao.wang@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: tiwai@suse.de, daniel@ffwll.ch, liam.r.girdwood@intel.com Cc: alsa-devel@alsa-project.org, paulo.r.zanoni@intel.com, jocelyn.li@intel.com, mengdong.lin@intel.com, intel-gfx@lists.freedesktop.org, Wang Xingchao , xingchao.wang@intel.com, jesse.barnes@intel.com, david.henningsson@canonical.com List-Id: intel-gfx@lists.freedesktop.org Hi all, This is V3 and some fixes after Takashi's review. change between V2-->V3: - make SND_HDA_I915 selectable - use snd_printdd to output message - add return error code check - use symbol_request to replace symbol_get - release power_well at azx_free - some typo fixes changes between V1-->V2: - use reference count to track power-well usage - remove external module, compiled into snd-hda-intel instead - manage symbols and module loading properly - remove IS_HSW macro, use flag instead - remove audio callback for gfx driver to avoid dependency - split whole patch into two pieces for easy review - more typo fixes Wang Xingchao (2): drm/915: Add private api for power well usage ALSA: hda - Add power-welll support for haswell HDA drivers/gpu/drm/i915/intel_pm.c | 76 +++++++++++++++++++++++++++++++++++---- include/drm/i915_powerwell.h | 36 +++++++++++++++++++ sound/pci/hda/Kconfig | 10 ++++++ sound/pci/hda/Makefile | 3 ++ sound/pci/hda/hda_i915.c | 75 ++++++++++++++++++++++++++++++++++++++ sound/pci/hda/hda_i915.h | 35 ++++++++++++++++++ sound/pci/hda/hda_intel.c | 41 +++++++++++++++++++-- 7 files changed, 262 insertions(+), 10 deletions(-) create mode 100644 include/drm/i915_powerwell.h create mode 100644 sound/pci/hda/hda_i915.c create mode 100644 sound/pci/hda/hda_i915.h -- 1.7.9.5