[Intel-gfx] [PATCH 5/8] drm/i915: Move intel_device_info definitions to its own header

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Dec 21 11:42:56 UTC 2017


On Wed, 20 Dec 2017 20:07:10 +0100, Chris Wilson  
<chris at chris-wilson.co.uk> 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 <michal.wajdeczko at intel.com>
>> Cc: Chris Wilson <chris at chris-wilson.co.uk>
>> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
>> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>> ---
>>  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,


More information about the Intel-gfx mailing list