diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-08 00:05:42 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-08 10:29:59 +0300 |
commit | e78c91754d6cc6708db139822166b6708c0b172f (patch) | |
tree | bda83895c201ed2034980ecfc7b84e48f8e01fd2 /drivers/gpu/drm/i915/i915_gem.c | |
parent | 05273c950a3c93c5f96be8807eaf24f2cc9f1c1e (diff) | |
download | linux-e78c91754d6cc6708db139822166b6708c0b172f.tar.xz |
drm/i915/guc: Allow preempt-client to be NULL
In the next patch, we may only conditionally allocate the preempt-client
if there is a global preempt context and so we need to be prepared in
case the preempt-client itself is NULL.
v2: Grep for more preempt_client.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180207210544.26351-1-chris@chris-wilson.co.uk
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
0 files changed, 0 insertions, 0 deletions