[Intel-gfx] [PATCH 0/6] drm/i915: start splitting off runtime device info

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Jan 2 10:17:54 UTC 2019


On 02/01/2019 09:13, Jani Nikula wrote:
> On Tue, 01 Jan 2019, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>> Quoting Jani Nikula (2018-12-31 14:56:40)
>>> The mkwrite_device_info removal series [1] seems to have stalled. I'm
>>> trying to nudge things forward a bit with this series. This isn't near
>>> as complete as Tvrtko's work, but does some of the prep work I wanted,
>>> specifically using INTEL_INFO() and RUNTIME_INFO() to access the
>>> fields. There are obviously conflicts, but mostly I think this should
>>> make the rest of Tvrtko's work easier, not harder.
>>>
>>> BR,
>>> Jani.
>>>
>>>
>>> [1] https://patchwork.freedesktop.org/series/52381/
>>>
>>> Cc: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>
>>>
>>>
>>> Jani Nikula (6):
>>>    drm/i915: start moving runtime device info to a separate struct
>>>    drm/i915/reg: abstract display_mmio_offset access
>>>    drm/i915: pass dev_priv to intel_device_info_runtime_init()
>>>    drm/i915: always use INTEL_INFO() to access device info
>>>    drm/i915: drop intel_device_info_dump()
>>>    drm/i915: rename dev_priv info to __info to avoid usage
>>
>> Looked ok, and didn't see anything odd compared to my own attempts.
>> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Thanks for the review.
> 
> Tvrtko, I'd still like to get your ack before I go ahead and push
> these. Also, do you think you'll have time in the near future to pick up
> your series, or shall I?

I missed Chris had already reviewed it. Yeah, series looks fine to me.

With regards to the second part, after your work what I think would be 
left from mine is:

  * move some more fields/flags to runtime info
  * subplatform/devid consolidation
  * looking at how to wean selftests off modifying the gen field
  * maybe introducting INTEL_SSEU to avoid many RUNTIME_INFO(...)->sseu

If you are in a hurry and have time you can take over, or if you are 
just in a hurry I might be able to do within a week or two.

Regards,

Tvrtko


More information about the Intel-gfx mailing list