drm/i915: replace platform flags with a platform enum
authorJani Nikula <jani.nikula@intel.com>
Thu, 1 Dec 2016 12:49:55 +0000 (14:49 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2016 09:58:26 +0000 (11:58 +0200)
commit2e0d26f866189f9035e379411e72fcedec678571
tree84155a02b0510842b7d279a0cf1b0cfd23320f2f
parentc499af5a692fa39644ce7979b4dea5db794df78b
drm/i915: replace platform flags with a platform enum

The platform flags in device info are (mostly) mutually
exclusive. Replace the flags with an enum. Add the platform enum also
for platforms that previously didn't have a flag, and give them codename
logging in dmesg.

Pineview remains an exception, the platform being G33 for that.

v2: Sort enum by gen and date

v3: rebase on geminilake enabling

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1480596595-3278-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.c