drm/i915: stop storing the media fuse
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 22 Mar 2019 00:24:31 +0000 (17:24 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Mar 2019 21:09:26 +0000 (21:09 +0000)
commit97ee6e925552438600f6c244595e3f07612bbf6f
treee8e9bca168bf67040121d0238be0819f79945541
parentb024ab9b2d3aa1551ed0be371a01a0ba426bbb1f
drm/i915: stop storing the media fuse

We're already updating the engine_mask to reflect what's in the HW, so
we can just get the info from there. A couple of macros have been added
to facilitate this.

v2: Appease checkpatch

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190322002431.9585-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h