]> 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)
commit230662e58cea1c44d8d8038dcb9bbf5fe2ec61fd
tree8b5e26c09bdaaec8a68acc1be1151824cbd76171
parent6f2775e7afa32287813578f11fe376c5b3147210
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