]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: rewrite hsw/bdw audio codec enable/disable sequences
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2014 08:30:23 +0000 (10:30 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:02 +0000 (18:42 +0100)
commit3ca48f486bca4b7b82a8a6b3d8be1c9c86f6ac24
tree1b64521538499fe484c71f924b082ee5477c9199
parenta7d4196c7a5e3781e6bae5a1465439b323cc9cfd
drm/i915: rewrite hsw/bdw audio codec enable/disable sequences

There's some serious confusion regarding ELD valid bit that gets set and
cleared back and forth etc. Rewrite it all based on the documented audio
codec enable/disable sequences.

v3: replace vblank wait with a comment

v4: expand the comment on what should be done with the vblank wait

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_audio.c