[Intel-gfx] [PATCH v2 3/6] drm/i915/display: start description-based ddi initialization
Lucas De Marchi
lucas.demarchi at intel.com
Wed Jul 1 15:42:00 UTC 2020
On Wed, Jul 01, 2020 at 06:35:55PM +0300, Jani Nikula wrote:
>On Wed, 01 Jul 2020, Jani Nikula <jani.nikula at linux.intel.com> wrote:
>> On Wed, 24 Jun 2020, Lucas De Marchi <lucas.demarchi at intel.com> wrote:
>>>
>>> +struct intel_ddi_port_info {
>>
>> Just thinking out loud, should we have a "struct port" or "struct
>> intel_port" instead. Maybe, maybe not. *shrug*
>
>After reading the whole series, I might lean even more towards
>introducing a struct intel_port.
>
>Not insisting you'd have to do that as part of this series, but
>something to consider. How would things look like?
I think it will be the natural next conversion, but I'd like to get the
ddi changes applied first, because the conversions will take some
time... This patch series only scratches the surface.
Lucas De Marchi
>
>BR,
>Jani.
>
>>
>> Anyway the patch is
>>
>> Reviewed-by: Jani Nikula <jani.nikula at intel.com>
>>
>>> + const char *name;
>>> + enum port port;
>>> +};
>>> +
>>> static inline enum dpio_channel
>>> vlv_dport_to_channel(struct intel_digital_port *dport)
>>> {
>
>--
>Jani Nikula, Intel Open Source Graphics Center
More information about the Intel-gfx
mailing list