Re: [Intel-gfx] [PATCH 3/3] drm/i915: Factor out a function disabling fused-off display

2023-02-07 Thread Imre Deak
On Tue, Feb 07, 2023 at 12:21:34PM +0200, Jani Nikula wrote: > On Mon, 06 Feb 2023, Imre Deak wrote: > > Factor out a function used both on older and new platforms to disable > > the display functionality if the display is fused-off. > > The single point of truth for disabling display is the if

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Factor out a function disabling fused-off display

2023-02-07 Thread Jani Nikula
On Mon, 06 Feb 2023, Imre Deak wrote: > Factor out a function used both on older and new platforms to disable > the display functionality if the display is fused-off. The single point of truth for disabling display is the if (!HAS_DISPLAY()) path near the end of intel_device_info_runtime_init().

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Factor out a function disabling fused-off display

2023-02-06 Thread iczero
On 2/6/23 11:35, Imre Deak wrote: Factor out a function used both on older and new platforms to disable the display functionality if the display is fused-off. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_device_info.c | 34 +--- 1 file changed, 18

[Intel-gfx] [PATCH 3/3] drm/i915: Factor out a function disabling fused-off display

2023-02-06 Thread Imre Deak
Factor out a function used both on older and new platforms to disable the display functionality if the display is fused-off. Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_device_info.c | 34 +--- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git