On 01.09.2022 09:45, Jani Nikula wrote: > On Wed, 31 Aug 2022, Radhakrishna Sripada <radhakrishna.srip...@intel.com> > wrote: ... >> struct ip_version graphics; >> + struct ip_version media; >> + struct ip_version display; > > The runtime display info is now in an unnamed struct under struct > intel_runtime_info below, and this belongs there. > > There's also some pressure to name it, and "display" would be the name, > so this would collide. > > Seems like all of the above are overly generic names, including the > pre-existing "graphics". Something to consider. maybe struct { struct { struct ip_version version; ... } graphics; struct { struct ip_version version; ... } media; struct { struct ip_version version; ... } display; } runtime; then drm_printf(p, "display version: %u.%02u\n", runtime->display.version.ver, runtime->display.version.rel); ... Michal
- [Intel-gfx] [PATCH v3 00/11] Initial Meteorlake Suppo... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 02/11] drm/i915: Read grap... Radhakrishna Sripada
- Re: [Intel-gfx] [PATCH v3 02/11] drm/i915: R... Jani Nikula
- [Intel-gfx] [PATCH v3 05/11] drm/i915/mtl: Add g... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 01/11] drm/i915: Move disp... Radhakrishna Sripada
- Re: [Intel-gfx] [PATCH v3 01/11] drm/i915: M... Jani Nikula
- Re: [Intel-gfx] [PATCH v3 01/11] drm/i91... Michal Wajdeczko
- Re: [Intel-gfx] [PATCH v3 01/11] drm... Jani Nikula
- [Intel-gfx] [PATCH v3 08/11] drm/i915/mtl: Obtai... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 06/11] drm/i915/mtl: Add d... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 10/11] drm/i915/mtl: Updat... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 11/11] drm/i915/mtl: Do no... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 03/11] drm/i915: Parse and... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 07/11] drm/i915/mtl: Add D... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 09/11] drm/i915/mtl: Updat... Radhakrishna Sripada
- [Intel-gfx] [PATCH v3 04/11] drm/i915/mtl: Defin... Radhakrishna Sripada
- [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Init... Patchwork