[Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-04-12 Thread Lucas De Marchi
Since commit 45c0673aac97 ("drm/i915/bios: start using the intel_bios_encoder_data directly") we lookup the devdata for each port in intel_ddi_init() and just return if the port is not present in VBT (or if we didn't create a fake devdata for it if VBT is not available). So in intel_display.c we d

Re: [Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-03-19 Thread Jani Nikula
On Sat, 13 Feb 2021, Lucas De Marchi wrote: > On intel_ddi_init() we already check VBT if the port supports HDMI/DP > and bail out otherwise. Instad of checking if a single port is present > using VBT in intel_display.c, move the stronger check to > intel_ddi_init() and return early in case it's n

Re: [Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-03-18 Thread Lucas De Marchi
On Tue, Feb 16, 2021 at 09:50:03PM +0200, Jani Nikula wrote: On Mon, 15 Feb 2021, Lucas De Marchi wrote: On Mon, Feb 15, 2021 at 12:35:50PM +0200, Jani Nikula wrote: On Sat, 13 Feb 2021, Lucas De Marchi wrote: On intel_ddi_init() we already check VBT if the port supports HDMI/DP and bail out

Re: [Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-02-16 Thread Jani Nikula
On Mon, 15 Feb 2021, Lucas De Marchi wrote: > On Mon, Feb 15, 2021 at 12:35:50PM +0200, Jani Nikula wrote: >>On Sat, 13 Feb 2021, Lucas De Marchi wrote: >>> On intel_ddi_init() we already check VBT if the port supports HDMI/DP >>> and bail out otherwise. Instad of checking if a single port is pre

Re: [Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-02-15 Thread Lucas De Marchi
On Mon, Feb 15, 2021 at 12:35:50PM +0200, Jani Nikula wrote: On Sat, 13 Feb 2021, Lucas De Marchi wrote: On intel_ddi_init() we already check VBT if the port supports HDMI/DP and bail out otherwise. Instad of checking if a single port is present using VBT in intel_display.c, move the stronger c

Re: [Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-02-15 Thread Jani Nikula
On Sat, 13 Feb 2021, Lucas De Marchi wrote: > On intel_ddi_init() we already check VBT if the port supports HDMI/DP > and bail out otherwise. Instad of checking if a single port is present > using VBT in intel_display.c, move the stronger check to > intel_ddi_init() and return early in case it's n

[Intel-gfx] [PATCH 1/3] drm/i915/display: move vbt check to intel_ddi_init()

2021-02-13 Thread Lucas De Marchi
On intel_ddi_init() we already check VBT if the port supports HDMI/DP and bail out otherwise. Instad of checking if a single port is present using VBT in intel_display.c, move the stronger check to intel_ddi_init() and return early in case it's not supported. There would be no way intel_bios_* wou