Skip to content

Commit e6b39e5

Browse files
committed
Merge tag 'drm-intel-fixes-2025-07-24' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
- Fix DP 2.7 Gbps DP_LINK_BW value on g4x (Ville) - Fix return value on intel_atomic_commit_fence_wait (Aakash) Signed-off-by: Dave Airlie <[email protected]> From: Rodrigo Vivi <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2 parents 337666c + fd77b2c commit e6b39e5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7061,7 +7061,8 @@ static void intel_atomic_commit_fence_wait(struct intel_atomic_state *intel_stat
70617061
struct drm_i915_private *i915 = to_i915(intel_state->base.dev);
70627062
struct drm_plane *plane;
70637063
struct drm_plane_state *new_plane_state;
7064-
int ret, i;
7064+
long ret;
7065+
int i;
70657066

70667067
for_each_new_plane_in_state(&intel_state->base, plane, new_plane_state, i) {
70677068
if (new_plane_state->fence) {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,12 @@ int intel_dp_rate_select(struct intel_dp *intel_dp, int rate)
16041604
void intel_dp_compute_rate(struct intel_dp *intel_dp, int port_clock,
16051605
u8 *link_bw, u8 *rate_select)
16061606
{
1607+
struct intel_display *display = to_intel_display(intel_dp);
1608+
1609+
/* FIXME g4x can't generate an exact 2.7GHz with the 96MHz non-SSC refclk */
1610+
if (display->platform.g4x && port_clock == 268800)
1611+
port_clock = 270000;
1612+
16071613
/* eDP 1.4 rate select method. */
16081614
if (intel_dp->use_rate_select) {
16091615
*link_bw = 0;

0 commit comments

Comments
 (0)