drm/i915/dp: debug log whether backlight is being enabled or disabled
Subsystems (2)
PATCH 1/1 drm/i915/dp: debug log whether backlight is being enabled or disabled
Signed-off-by Jani Nikula <[email protected]>
--- drivers/gpu/drm/i915/intel_dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dp.c +2 -1
@@ -1481,7 +1481,8 @@ static void intel_edp_backlight_power(struct intel_connector *connector,if (is_enabled == enable)return ; -DRM_DEBUG_KMS ("\n" ); +DRM_DEBUG_KMS ("panel power control backlight %s\n" , + enable ?"enable" :"disable" );if (enable)_intel_edp_backlight_on (intel_dp);
Signature · 1 line
1.9.1
Daniel Vetter
AppliedQuoted 10 lines · Jani Nikula
Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/intel_dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dp.c +0
-0
drivers/gpu/drm/i915/intel_dp.c static void intel_edp_backlight_power(struct intel_connector *connector, · line 1485
Quoted 6 lines
drivers/gpu/drm/i915/intel_dp.c +2
-1@@ -1481,7 +1481,8 @@ static void intel_edp_backlight_power(struct intel_connector *connector,if (is_enabled == enable)return ; -DRM_DEBUG_KMS ("\n" ); +DRM_DEBUG_KMS ("panel power control backlight %s\n" , + enable ?"enable" :"disable" );
Queued for -next, thanks for the patch.
-Daniel
Quoted 10 lines
drivers/gpu/drm/i915/intel_dp.c +0
-0if (enable)_intel_edp_backlight_on (intel_dp);Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch