]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Remove redundant device id from IS_IRONLAKE_M macro
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 26 Mar 2019 07:40:55 +0000 (07:40 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 1 Apr 2019 16:15:18 +0000 (17:15 +0100)
commite08891a5b7e6d8b66c09bd6b0a1d3544083461c4
treef70083e843c4c3388d1f5501a21bd1700ff1f7d7
parent86d35d4e7625f7c056d81316da107bd3a7564fb3
drm/i915: Remove redundant device id from IS_IRONLAKE_M macro

IS_IRONLAKE_M can use the already defined intel_device_info.is_mobile for
this platform, so remove the instance of Ironlake's mobile device id from
the header file and replace it with an IS_MOBILE check.

v2:
 * Improved commit text. (Chris)

v3:
 * Rebased for EHL.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326074057.27833-3-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h