[PATCH 01/16] drm/i915/display_device: Add Check HAS_DSC for bigjoiner
Ville Syrjälä
ville.syrjala at linux.intel.com
Mon Sep 23 18:30:16 UTC 2024
On Mon, Sep 23, 2024 at 11:43:21PM +0530, Ankit Nautiyal wrote:
> Bigjoiner needs DSC, add a check to reflect that.
Might want to point out here that DSC can be fused off, hence
the platform check itself is not sufficient.
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_device.h b/drivers/gpu/drm/i915/display/intel_display_device.h
> index 5306bbd13e59..6a5bee59e6aa 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_device.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_device.h
> @@ -118,7 +118,7 @@ enum intel_display_subplatform {
>
> #define HAS_4TILE(i915) (IS_DG2(i915) || DISPLAY_VER(i915) >= 14)
> #define HAS_ASYNC_FLIPS(i915) (DISPLAY_VER(i915) >= 5)
> -#define HAS_BIGJOINER(i915) (DISPLAY_VER(i915) >= 11)
> +#define HAS_BIGJOINER(i915) (DISPLAY_VER(i915) >= 11 && HAS_DSC(i915))
> #define HAS_CDCLK_CRAWL(i915) (DISPLAY_INFO(i915)->has_cdclk_crawl)
> #define HAS_CDCLK_SQUASH(i915) (DISPLAY_INFO(i915)->has_cdclk_squash)
> #define HAS_CUR_FBC(i915) (!HAS_GMCH(i915) && IS_DISPLAY_VER(i915, 7, 13))
> --
> 2.45.2
--
Ville Syrjälä
Intel
More information about the Intel-gfx
mailing list