drm/i915/guc: Update rps.pm_intrmsk_mbz in guc_interrupts_capture/release
authorSagar Arun Kamble <sagar.a.kamble@intel.com>
Sat, 11 Mar 2017 02:37:01 +0000 (08:07 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Mar 2017 12:59:11 +0000 (12:59 +0000)
commit1f3b1fd386e6b8cde64e530a58264981e00bafa0
tree9896803bd266d3321226188a1fd91cef5ee82ee3
parent5dd0455667b2555970a17d60b9e4d545f316364f
drm/i915/guc: Update rps.pm_intrmsk_mbz in guc_interrupts_capture/release

Different state is to be maintained for rps.pm_intrmsk_mbz for GuC and
Execlists. Updating it inside guc_interrupts_* routines as in those
routines GuC load/submission params are sanitized and it should not be set
based on HAS_GUC_SCHED during intel_irq_init.

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Cc: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1489199821-6707-3-git-send-email-sagar.a.kamble@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/i915_irq.c