diff options
| author | Chris Wilson <[email protected]> | 2016-08-10 12:58:24 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-08-10 15:07:36 +0000 |
| commit | b5163dbb17fd0648600d2c840e53b76f5ca49a5b (patch) | |
| tree | 0d1235dadfd1af1313699c524b897c48acbe5927 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Remove LVDS and PPS suspend time save/restore (diff) | |
| download | kernel-b5163dbb17fd0648600d2c840e53b76f5ca49a5b.tar.gz kernel-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ä <[email protected]>
Fixes: 773ea9a80132 ("drm/i915: Perform static RPS frequency setup before...")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
