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
- [PATCH v3 00/11] Initial Meteorlake Support Radhakrishna Sripada
- [PATCH v3 05/11] drm/i915/mtl: Add gmbus and gp... Radhakrishna Sripada
- [PATCH v3 09/11] drm/i915/mtl: Update MBUS_DBOX... Radhakrishna Sripada
- [PATCH v3 04/11] drm/i915/mtl: Define engine co... Radhakrishna Sripada
- [PATCH v3 01/11] drm/i915: Move display and med... Radhakrishna Sripada
- Re: [PATCH v3 01/11] drm/i915: Move display... Jani Nikula
- Re: [PATCH v3 01/11] drm/i915: Move dis... Michal Wajdeczko
- Re: [PATCH v3 01/11] drm/i915: Move... Jani Nikula
- [PATCH v3 07/11] drm/i915/mtl: Add DP AUX suppo... Radhakrishna Sripada
- [PATCH v3 11/11] drm/i915/mtl: Do not update GV... Radhakrishna Sripada
- [PATCH v3 06/11] drm/i915/mtl: Add display powe... Radhakrishna Sripada
- [PATCH v3 10/11] drm/i915/mtl: Update CHICKEN_T... Radhakrishna Sripada
- [PATCH v3 08/11] drm/i915/mtl: Obtain SAGV valu... Radhakrishna Sripada
- [PATCH v3 03/11] drm/i915: Parse and set steppi... Radhakrishna Sripada
- [PATCH v3 02/11] drm/i915: Read graphics/media/... Radhakrishna Sripada
- Re: [Intel-gfx] [PATCH v3 02/11] drm/i915: ... Jani Nikula
- RE: [Intel-gfx] [PATCH v3 02/11] drm/i9... Sripada, Radhakrishna