Skip to content

Commit 1978599

Browse files
committed
Merge tag 'drm-intel-next-fixes-2026-04-16' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
- Fix VESA backlight possible check condition [backlight] (Suraj Kandpal) - Verify the correct plane DDB entry [wm] (Ville Syrjälä) Signed-off-by: Dave Airlie <[email protected]> From: Tvrtko Ursulin <[email protected]> Link: https://patch.msgid.link/aeCGoL4FFwT66bF4@linux
2 parents 993eb19 + a97c88a commit 1978599

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,13 @@ check_if_vesa_backlight_possible(struct intel_dp *intel_dp)
615615
int ret;
616616
u8 bit_min, bit_max;
617617

618-
if (!(intel_dp->edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP))
619-
return true;
618+
/*
619+
* Since we only support Fully AUX Based VESA Backlight interface make sure
620+
* backlight enable is possible via AUX along with backlight adjustment
621+
*/
622+
if (!(intel_dp->edp_dpcd[1] & DP_EDP_BACKLIGHT_AUX_ENABLE_CAP &&
623+
intel_dp->edp_dpcd[2] & DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP))
624+
return false;
620625

621626
ret = drm_dp_dpcd_read_byte(&intel_dp->aux, DP_EDP_PWMGEN_BIT_COUNT_CAP_MIN, &bit_min);
622627
if (ret < 0)

drivers/gpu/drm/i915/display/skl_watermark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4028,8 +4028,8 @@ void intel_wm_state_verify(struct intel_atomic_state *state,
40284028
}
40294029

40304030
/* DDB */
4031-
hw_ddb_entry = &hw->ddb[PLANE_CURSOR];
4032-
sw_ddb_entry = &new_crtc_state->wm.skl.plane_ddb[PLANE_CURSOR];
4031+
hw_ddb_entry = &hw->ddb[plane->id];
4032+
sw_ddb_entry = &new_crtc_state->wm.skl.plane_ddb[plane->id];
40334033

40344034
if (!skl_ddb_entry_equal(hw_ddb_entry, sw_ddb_entry)) {
40354035
drm_err(display->drm,

0 commit comments

Comments
 (0)