diff options
author | Mengdong Lin | 2015-04-29 17:43:29 +0800 |
---|---|---|
committer | Takashi Iwai | 2015-04-29 12:27:53 +0200 |
commit | 17eccb27fce7cac8469dd9e828645a3ba256fc1e (patch) | |
tree | 847fcecfd604da3b7b57746258bbd7509a6a34af /sound/pci/hda/hda_controller.h | |
parent | a5e7e07c264bb76d0b7c782766989c491833de05 (diff) |
ALSA: hda - implement link_power ops for i915 display power control
This patch implements the bus link_power ops to request/release i915 display
power well. It can be used by the display codec which shares this power well
with GPU on Intel platforms.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_controller.h')
-rw-r--r-- | sound/pci/hda/hda_controller.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_controller.h b/sound/pci/hda/hda_controller.h index 173bf7c85b6e..3d26e613ab67 100644 --- a/sound/pci/hda/hda_controller.h +++ b/sound/pci/hda/hda_controller.h @@ -89,6 +89,8 @@ struct hda_controller_ops { struct vm_area_struct *area); /* Check if current position is acceptable */ int (*position_check)(struct azx *chip, struct azx_dev *azx_dev); + /* enable/disable the link power */ + int (*link_power)(struct azx *chip, bool enable); }; struct azx_pcm { |