diff options
| author | 2024-09-16 15:58:35 +0530 | |
|---|---|---|
| committer | 2024-09-18 12:12:50 +0530 | |
| commit | f87bdbd66de4a16069525825387e25dae3e0163e (patch) | |
| tree | 706db0d1e65f00e1616c5b543b61891e7ac5c705 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/i915/display: Use joined pipes in intel_dp_joiner_needs_dsc (diff) | |
| download | wireguard-linux-f87bdbd66de4a16069525825387e25dae3e0163e.tar.xz wireguard-linux-f87bdbd66de4a16069525825387e25dae3e0163e.zip | |
drm/i915/display: Use joined pipes in intel_mode_valid_max_plane_size
In preparation of ultrajoiner, use number of pipes in the
intel_mode_valid_max_plane_size helper, instead of joiner flag.
v2: Use num_joined_pipes 1 where there are no joined pipes (Ville)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916102836.2149012-4-ankit.k.nautiyal@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 8600ac55f766..1b94dfe9499a 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1524,7 +1524,7 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector, return 0; } - *status = intel_mode_valid_max_plane_size(dev_priv, mode, joiner); + *status = intel_mode_valid_max_plane_size(dev_priv, mode, num_joined_pipes); return 0; } |
