On Wed, 20 Dec 2017 20:07:10 +0100, Chris Wilson <[email protected]> wrote:

Quoting Michal Wajdeczko (2017-12-20 18:36:07)
We already keep intel_device_info functions in dedicated file.
Add matching header file and move related definitions there.

Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
---
drivers/gpu/drm/i915/i915_drv.h | 139 +------------------------
 drivers/gpu/drm/i915/intel_device_info.c |   1 +
drivers/gpu/drm/i915/intel_device_info.h | 173 +++++++++++++++++++++++++++++++
 3 files changed, 175 insertions(+), 138 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_device_info.h

+/* Keep in gen based order, and chronological order within a gen */
+enum intel_platform {
+       INTEL_PLATFORM_UNINITIALIZED = 0,

Next patch it's probably worth adding the gen boundaries.

Will add to v2 if this is ok.


/* gen2 */
+       INTEL_I830,
+       INTEL_I845G,
+       INTEL_I85X,
+       INTEL_I865G,
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to