drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 8 Dec 2023 01:03:13 +0000 (04:03 +0300)
committerMaxime Ripard <mripard@kernel.org>
Fri, 8 Dec 2023 09:24:27 +0000 (10:24 +0100)
commit66f011145b835f9a68af9d7156c8d84a6f29c331
tree14d86fdb032a44aa65c63302953dc63d780f64e2
parent67a5f0ff342907ca399b77f0445b2673137cdfa5
drm/atomic-helper: rename drm_atomic_helper_check_wb_encoder_state

The drm_atomic_helper_check_wb_encoder_state() function doesn't use
encoder for anything other than getting the drm_device instance. The
function's description talks about checking the writeback connector
state, not the encoder state. Moreover, there is no such thing as an
encoder state, encoders generally do not have a state on their own.

Rename the function to drm_atomic_helper_check_wb_connector_state()
and change arguments to drm_writeback_connector and drm_atomic_state.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208010314.3395904-2-dmitry.baryshkov@linaro.org
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/vkms/vkms_writeback.c
include/drm/drm_atomic_helper.h