diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-10 14:58:24 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-10 17:07:36 +0200 |
commit | b5163dbb17fd0648600d2c840e53b76f5ca49a5b (patch) | |
tree | 0d1235dadfd1af1313699c524b897c48acbe5927 /drivers/gpu/drm/i915/intel_lrc.c | |
parent | drm/i915: Remove LVDS and PPS suspend time save/restore (diff) | |
download | linux-b5163dbb17fd0648600d2c840e53b76f5ca49a5b.tar.xz linux-b5163dbb17fd0648600d2c840e53b76f5ca49a5b.zip |
drm/i915: Fix nesting of rps.mutex and struct_mutex during powersave init
During intel_gt_powersave_init() we take the RPS mutex to ensure that
all locking requirements are met as we talk to the punit, but we also
require the struct_mutex for allocating a slice of the global GTT for a
power context on Valleyview. struct_mutex must be the outer lock here,
as we nest rps.mutex inside later on.
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Fixes: 773ea9a80132 ("drm/i915: Perform static RPS frequency setup before...")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470833904-29886-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lrc.c')
0 files changed, 0 insertions, 0 deletions