Skip to content
Snippets Groups Projects
Commit 072ed343 authored by Douglas Anderson's avatar Douglas Anderson
Browse files

drm/dp: Move panel DP AUX backlight support to drm_dp_helper


We were getting a depmod error:
  depmod: ERROR: Cycle detected: drm_kms_helper -> drm -> drm_kms_helper

It looks like the rule is that drm_kms_helper can call into drm, but
drm can't call into drm_kms_helper. That means we've got to move the
DP AUX backlight support into drm_dp_helper.

NOTE: as part of this, I didn't try to do any renames of the main
registration function. Even though it's in the drm_dp_helper, it still
feels very parallel to drm_panel_of_backlight().

Fixes: 10f7b40e ("drm/panel: add basic DP AUX backlight support")
Reported-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reported-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarRajeev Nandan <rajeevny@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210712075933.v2.1.I23eb4cc5a680341e7b3e791632a635566fa5806a@changeid
parent bbeb7461
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment