Message ID | 20210805101937.14664-1-vandita.kulkarni@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915: Update small joiner ram size | expand |
On Thu, Aug 05, 2021 at 03:49:37PM +0530, Vandita Kulkarni wrote: > Xelpd supports larger small joiner ram. > > Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com> > --- > drivers/gpu/drm/i915/display/intel_dp.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c > index 75d4ebc66941..d174f0d6e7cd 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp.c > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > @@ -461,7 +461,9 @@ u32 intel_dp_mode_to_fec_clock(u32 mode_clock) > static int > small_joiner_ram_size_bits(struct drm_i915_private *i915) > { > - if (DISPLAY_VER(i915) >= 11) > + if (DISPLAY_VER(i915) >= 13) > + return 17280 * 8; Verified from the Bspec, looks good to me. Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Manasi > + else if (DISPLAY_VER(i915) >= 11) > return 7680 * 8; > else > return 6144 * 8; > -- > 2.32.0 >
Thanks for the review. Changes pushed. > -----Original Message----- > From: Navare, Manasi D <manasi.d.navare@intel.com> > Sent: Friday, August 6, 2021 12:13 AM > To: Kulkarni, Vandita <vandita.kulkarni@intel.com> > Cc: intel-gfx@lists.freedesktop.org; Shankar, Uma > <uma.shankar@intel.com> > Subject: Re: [Intel-gfx] [PATCH] drm/i915: Update small joiner ram size > > On Thu, Aug 05, 2021 at 03:49:37PM +0530, Vandita Kulkarni wrote: > > Xelpd supports larger small joiner ram. > > > > Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com> > > --- > > drivers/gpu/drm/i915/display/intel_dp.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c > > b/drivers/gpu/drm/i915/display/intel_dp.c > > index 75d4ebc66941..d174f0d6e7cd 100644 > > --- a/drivers/gpu/drm/i915/display/intel_dp.c > > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > > @@ -461,7 +461,9 @@ u32 intel_dp_mode_to_fec_clock(u32 mode_clock) > > static int small_joiner_ram_size_bits(struct drm_i915_private *i915) > > { > > - if (DISPLAY_VER(i915) >= 11) > > + if (DISPLAY_VER(i915) >= 13) > > + return 17280 * 8; > > Verified from the Bspec, looks good to me. > > Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> > > Manasi > > > + else if (DISPLAY_VER(i915) >= 11) > > return 7680 * 8; > > else > > return 6144 * 8; > > -- > > 2.32.0 > >
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 75d4ebc66941..d174f0d6e7cd 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -461,7 +461,9 @@ u32 intel_dp_mode_to_fec_clock(u32 mode_clock) static int small_joiner_ram_size_bits(struct drm_i915_private *i915) { - if (DISPLAY_VER(i915) >= 11) + if (DISPLAY_VER(i915) >= 13) + return 17280 * 8; + else if (DISPLAY_VER(i915) >= 11) return 7680 * 8; else return 6144 * 8;
Xelpd supports larger small joiner ram. Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com> --- drivers/gpu/drm/i915/display/intel_dp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)