Re: [PATCH resend 1/2] drm/i915/display: Add a intel_pipe_is_enabled() helper

2021-03-02 Thread Jani Nikula
On Tue, 02 Mar 2021, Hans de Goede wrote: > Factor the code to check if a pipe is currently enabled out of > assert_pipe() and put it in a new intel_pipe_is_enabled() helper, > so that it can be re-used without copy-pasting it. > > Signed-off-by: Hans de Goede Does what it says on the box. Revi

[PATCH resend 1/2] drm/i915/display: Add a intel_pipe_is_enabled() helper

2021-03-02 Thread Hans de Goede
Factor the code to check if a pipe is currently enabled out of assert_pipe() and put it in a new intel_pipe_is_enabled() helper, so that it can be re-used without copy-pasting it. Signed-off-by: Hans de Goede --- drivers/gpu/drm/i915/display/intel_display.c | 20 ++-- drivers/gpu