[Intel-gfx] [PATCH] drm/i915: Update small joiner ram size

Navare, Manasi manasi.d.navare at intel.com
Thu Aug 5 18:42:34 UTC 2021


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 at 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 at intel.com>

Manasi

> +	else if (DISPLAY_VER(i915) >= 11)
>  		return 7680 * 8;
>  	else
>  		return 6144 * 8;
> -- 
> 2.32.0
> 


More information about the Intel-gfx mailing list