mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 15:14:30 -04:00
drm/i915/display: Consider ultrajoiner for computing maxdotclock
Use the check for ultrajoiner while computing maxdotclock. v2: Add Check for HAS_UNCOMPRESSED_JOINER. (Ville) v3: Remove extraneous newline. (Ville) Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240930163549.416410-13-ankit.k.nautiyal@intel.com
This commit is contained in:
@@ -8186,8 +8186,9 @@ static int max_dotclock(struct drm_i915_private *i915)
|
||||
{
|
||||
int max_dotclock = i915->display.cdclk.max_dotclk_freq;
|
||||
|
||||
/* icl+ might use joiner */
|
||||
if (HAS_BIGJOINER(i915))
|
||||
if (HAS_ULTRAJOINER(i915))
|
||||
max_dotclock *= 4;
|
||||
else if (HAS_UNCOMPRESSED_JOINER(i915) || HAS_BIGJOINER(i915))
|
||||
max_dotclock *= 2;
|
||||
|
||||
return max_dotclock;
|
||||
|
||||
Reference in New Issue
Block a user