summaryrefslogtreecommitdiffstats
path: root/Documentation/sound
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-04-01 19:39:49 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-04-02 16:57:19 +0200
commit4b28a1f3ef55a3b0b68dbab1fe6dbaf18e186710 (patch)
treed82f58c720ee0c05c05f1cb0c0b26cf627fe3fa2 /Documentation/sound
parent9926ada1280767a039c4bc0f84549eb8f273c5de (diff)
downloadop-kernel-dev-4b28a1f3ef55a3b0b68dbab1fe6dbaf18e186710.zip
op-kernel-dev-4b28a1f3ef55a3b0b68dbab1fe6dbaf18e186710.tar.gz
drm/i915: fix infinite loop at gen6_update_ring_freq
If I boot my Broadwell machine to X on a system with Mesa Gallium llvmpipe instead of i965, then kill X and try to run pm_pc8.c, when we disable PC8 and call gen6_update_ring_freq(), we will get stuck on an infinite loop because the frequencies are zero and the variables are unsigned. This happens because we never ran any batch, so we did not enable RC6, so the variables are zero. If I run gem_exec_nop before running pm_pc8, everything works as expected because gem_exec_nop makes RC6 be enabled. This commit should prevent the infinite loop, which IMHO is already a good reason to be merged, but it is not the proper fix to the "RC6 is not being enabled" problem. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/sound')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud