public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Jani Nikula <jani.nikula@intel.com>, <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/dsc/mtl: Enable alternate ICH method
Date: Mon, 22 Aug 2022 15:53:33 +0530	[thread overview]
Message-ID: <11ce7053-9832-8165-9642-9194a1fae9d1@intel.com> (raw)
In-Reply-To: <20220817124516.284456-2-jani.nikula@intel.com>

LGTM.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>

On 8/17/2022 6:15 PM, Jani Nikula wrote:
> From: Vandita Kulkarni <vandita.kulkarni@intel.com>
>
> DSC 1.2 is supported from MTL, hence program ICH accordingly.
>
> Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
>   drivers/gpu/drm/i915/display/intel_vdsc.c | 2 ++
>   drivers/gpu/drm/i915/i915_reg.h           | 1 +
>   2 files changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vdsc.c b/drivers/gpu/drm/i915/display/intel_vdsc.c
> index 43e1bbc1e303..ac4ba7ac85c6 100644
> --- a/drivers/gpu/drm/i915/display/intel_vdsc.c
> +++ b/drivers/gpu/drm/i915/display/intel_vdsc.c
> @@ -597,6 +597,8 @@ static void intel_dsc_pps_configure(const struct intel_crtc_state *crtc_state)
>   		DSC_VER_MIN_SHIFT |
>   		vdsc_cfg->bits_per_component << DSC_BPC_SHIFT |
>   		vdsc_cfg->line_buf_depth << DSC_LINE_BUF_DEPTH_SHIFT;
> +	if (vdsc_cfg->dsc_version_minor == 2)
> +		pps_val |= DSC_ALT_ICH_SEL;
>   	if (vdsc_cfg->block_pred_enable)
>   		pps_val |= DSC_BLOCK_PREDICTION;
>   	if (vdsc_cfg->convert_rgb)
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 50d7bfd541ad..2e3aa684cf1b 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -8003,6 +8003,7 @@ enum skl_power_gate {
>   #define ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe)	_MMIO_PIPE((pipe) - PIPE_B, \
>   							   _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB, \
>   							   _ICL_DSC1_PICTURE_PARAMETER_SET_0_PC)
> +#define  DSC_ALT_ICH_SEL		(1 << 20)
>   #define  DSC_VBR_ENABLE			(1 << 19)
>   #define  DSC_422_ENABLE			(1 << 18)
>   #define  DSC_COLOR_SPACE_CONVERSION	(1 << 17)

  reply	other threads:[~2022-08-22 10:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-17 12:45 [Intel-gfx] [PATCH 1/2] drm/i915/dsc/mtl: Update the DSC minor version Jani Nikula
2022-08-17 12:45 ` [Intel-gfx] [PATCH 2/2] drm/i915/dsc/mtl: Enable alternate ICH method Jani Nikula
2022-08-22 10:23   ` Nautiyal, Ankit K [this message]
2022-08-17 13:48 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/dsc/mtl: Update the DSC minor version Patchwork
2022-08-18 13:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/dsc/mtl: Update the DSC minor version (rev2) Patchwork
2022-08-18 13:11 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-08-19  2:43 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-08-22  9:52 ` [Intel-gfx] [PATCH 1/2] drm/i915/dsc/mtl: Update the DSC minor version Nautiyal, Ankit K
2022-08-22 10:02   ` Jani Nikula
2022-08-22 10:25     ` Nautiyal, Ankit K
2022-08-22 10:40       ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11ce7053-9832-8165-9642-9194a1fae9d1@intel.com \
    --to=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox