]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Check we are the Ironlake IPS provider before deregistering
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Dec 2019 15:36:20 +0000 (15:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Dec 2019 10:28:56 +0000 (10:28 +0000)
commitc0168a3ee6208e72050f47473d9b63fa248ca582
tree8b5e26c09bdaaec8a68acc1be1151824cbd76171
parent00aff3f6d8e2c0e24f015280eedad6ac60f0594a
drm/i915/gt: Check we are the Ironlake IPS provider before deregistering

Check that we own the global pointer before deregistering.

Reported-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210153620.3929372-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_rps.c