linux_dsm_epyc7002/drivers/gpu/drm/i915
Paulo Zanoni d45a0bf549 drm/i915: grab the audio power domain when enabling audio on HSW+
With the current code, we unconditionally touch
HSW_AUD_PIN_ELD_CP_VLD, which means we can touch it when the power
well is off, and that will trigger an "Unclaimed register" message.

Just adding the intel_crtc->config.has_audio should already avoid the
unclaimed register messsages, but since we actually need the power
well to make the Audio code work, it makes sense to also grab the
audio power domain reference, and release it when it's not needed
anymore.

I used IGT's pm_rpm to reproduce this bug, but it can probably be
reproduced on other tests that do modesets. I'm using a machine with
eDP+HDMI connected.

Regression introduced by:

commit acfa75b02e
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Apr 24 23:54:51 2014 +0200
    drm/i915: Simplify audio handling on DDI ports

Credits to Daniel for suggesting this implementation.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-05-22 15:06:33 +02:00
..
dvo_ch7xxx.c drm/i915: Remove spurious semicolons 2014-04-09 21:54:33 +02:00
dvo_ch7017.c
dvo_ivch.c drm/i915: Remove spurious semicolons 2014-04-09 21:54:33 +02:00
dvo_ns2501.c drm/i915: Remove spurious semicolons 2014-04-09 21:54:33 +02:00
dvo_sil164.c drm/i915: Remove spurious semicolons 2014-04-09 21:54:33 +02:00
dvo_tfp410.c drm/i915: Remove spurious semicolons 2014-04-09 21:54:33 +02:00
dvo.h
i915_cmd_parser.c drm/i915: Use hash tables for the command parser 2014-05-12 19:15:51 +02:00
i915_debugfs.c drm/i915/chv: Add cursor pipe offsets 2014-05-20 15:32:30 +02:00
i915_dma.c drm/i915: move bsd dispatch index somewhere better 2014-05-22 15:06:31 +02:00
i915_drv.c drm/i915: drop encoder hot_plug calls at resume 2014-05-21 08:53:01 +02:00
i915_drv.h drm/i915: move bsd dispatch index somewhere better 2014-05-22 15:06:31 +02:00
i915_gem_context.c drm/i915: Add null state batch to active list 2014-05-22 14:10:37 +02:00
i915_gem_debug.c
i915_gem_dmabuf.c drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl 2014-05-16 19:31:29 +02:00
i915_gem_evict.c
i915_gem_execbuffer.c drm/i915: move bsd dispatch index somewhere better 2014-05-22 15:06:31 +02:00
i915_gem_gtt.c drm/i915/chv: Implement stolen memory size detection 2014-05-13 14:13:22 +02:00
i915_gem_gtt.h drm/i915/chv: PPAT setup for Cherryview 2014-05-06 18:29:34 +02:00
i915_gem_render_state.c drm/i915: Add null state batch to active list 2014-05-22 14:10:37 +02:00
i915_gem_stolen.c
i915_gem_tiling.c
i915_gem_userptr.c drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl 2014-05-16 19:31:29 +02:00
i915_gem.c drm/i915: Implement an oom-notifier for last resort shrinking 2014-05-20 10:57:13 +02:00
i915_gpu_error.c drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl 2014-05-16 19:31:29 +02:00
i915_ioc32.c
i915_irq.c drm/i915: Simplify the uncleared FIFO underrun detection 2014-05-22 15:06:30 +02:00
i915_params.c drm/i915: Add debug module option for VTd validation 2014-04-03 11:23:11 +02:00
i915_reg.h drm/i915: Add a brief description of the VLV display PHY internals 2014-05-22 14:10:38 +02:00
i915_suspend.c
i915_sysfs.c drm/i915: get a runtime PM ref for debugfs entries where needed 2014-05-05 09:08:55 +02:00
i915_trace_points.c
i915_trace.h drm/i915: Add pipe update trace points 2014-05-06 10:18:03 +02:00
i915_ums.c
intel_acpi.c
intel_bios.c drm/i915: Validate VBT header before trusting it 2014-05-05 09:08:59 +02:00
intel_bios.h Merge tag 'drm-intel-next-2014-04-16' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-05-01 09:11:37 +10:00
intel_crt.c drm/i915/crt: Remove ->mode_set callback 2014-05-05 10:56:59 +02:00
intel_ddi.c drm/i915: grab the audio power domain when enabling audio on HSW+ 2014-05-22 15:06:33 +02:00
intel_display.c drm/i915: Shuffle fifo underrun disable/enable points for gmch platforms 2014-05-22 15:06:31 +02:00
intel_dp.c drm/i915: Drop now misleading DDI comment from dp_link_down 2014-05-20 22:50:05 +02:00
intel_drv.h drm/i915: Check for FIFO underruns at the end of modeset on gmch 2014-05-22 15:06:07 +02:00
intel_dsi_cmd.c drm/i915: Send DPI command explicitely in LP mode 2014-04-09 21:54:30 +02:00
intel_dsi_cmd.h drm/i915: Send DPI command explicitely in LP mode 2014-04-09 21:54:30 +02:00
intel_dsi_pll.c
intel_dsi.c drm/i915: Add MIPI mmio reg base 2014-05-19 17:56:40 +02:00
intel_dsi.h drm/i915: MIPI PPS delays added 2014-05-15 22:44:21 +02:00
intel_dvo.c drm/i915/dvo: Remove ->mode_set callback 2014-05-05 10:56:55 +02:00
intel_fbdev.c drm/i915: Use the connector name in fbdev debug messages 2014-05-14 12:10:45 +02:00
intel_hdmi.c drm/i915/chv: Use RMW to toggle swing calc init 2014-05-20 15:53:09 +02:00
intel_i2c.c
intel_lvds.c drm/i915/lvds: Remove ->mode_set callback 2014-05-16 11:59:09 +02:00
intel_modes.c
intel_opregion.c
intel_overlay.c Merge tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-04-05 16:14:21 +10:00
intel_panel.c drm/i915: shuffle panel code 2014-05-20 21:07:50 +02:00
intel_pm.c Merge branch 'topic/drm-vblank-rework' into drm-intel-next-queued 2014-05-21 11:45:40 +02:00
intel_renderstate_gen6.c drm/i915: add null render states for gen6, gen7 and gen8 2014-05-14 19:17:08 +02:00
intel_renderstate_gen7.c drm/i915: add null render states for gen6, gen7 and gen8 2014-05-14 19:17:08 +02:00
intel_renderstate_gen8.c drm/i915: add null render states for gen6, gen7 and gen8 2014-05-14 19:17:08 +02:00
intel_renderstate.h drm/i915: add render state initialization 2014-05-14 19:16:13 +02:00
intel_ringbuffer.c drm/i915/chv: Add some workaround notes 2014-05-20 15:20:05 +02:00
intel_ringbuffer.h drm/i915: Use hash tables for the command parser 2014-05-12 19:15:51 +02:00
intel_sdvo_regs.h
intel_sdvo.c drm/i915/sdvo: use config->has_hdmi_sink 2014-05-16 11:58:09 +02:00
intel_sideband.c drm/i915: vlv/chv: fix DSI sideband register accessing 2014-05-19 17:50:14 +02:00
intel_sprite.c drm/i915: Wait for vblank in hsw_enable_ips() 2014-05-21 09:55:52 +02:00
intel_tv.c drm/i915/tv: Remove ->mode_set callback 2014-05-05 10:56:59 +02:00
intel_uncore.c drm/i915: Clear GDSR after reset on ILK 2014-05-20 21:06:33 +02:00
Kconfig drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl 2014-05-16 19:31:29 +02:00
Makefile drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl 2014-05-16 19:31:29 +02:00