drm/i915/guc : GEM_BUG_ON on invoking GuC reset function
authorSujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Tue, 2 Jan 2018 21:20:25 +0000 (13:20 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jan 2018 14:02:12 +0000 (14:02 +0000)
commit6f25d0be180f5b4713c6fb5a6619fe11dd1dacd9
tree67c839e469874f56b752a53164f3ece355968a81
parentc24f0c1de481c1c0f914e937f409bac2c90b90b3
drm/i915/guc : GEM_BUG_ON on invoking GuC reset function

Instead of returning -EINVAL, GEM_BUG_ON when GuC reset is invoked for
platforms not supporting as we don't expect to invoke it.

v2: re-wording commit message and subject (Sagar)

Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1514928025-29659-2-git-send-email-sujaritha.sundaresan@intel.com
drivers/gpu/drm/i915/intel_uncore.c