From: John Harrison <john.c.harrison@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>,
<intel-gfx@lists.freedesktop.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: Add RCS mask to GuC ADS params
Date: Thu, 3 Mar 2022 14:49:13 -0800 [thread overview]
Message-ID: <ca14d77e-1b27-2a8a-90f0-b0f2b5ec393c@intel.com> (raw)
In-Reply-To: <20220303223435.2793124-2-matthew.d.roper@intel.com>
On 3/3/2022 14:34, Matt Roper wrote:
> From: Stuart Summers <stuart.summers@intel.com>
>
> If RCS is not enumerated, GuC will return invalid parameters.
> Make sure we do not send RCS supported when we have not enumerated
> it.
>
> Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
> Signed-off-by: Stuart Summers <stuart.summers@intel.com>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
> index 32c2053f2f08..acc4a3766dc1 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
> @@ -433,7 +433,7 @@ static void guc_mmio_reg_state_init(struct intel_guc *guc)
> static void fill_engine_enable_masks(struct intel_gt *gt,
> struct iosys_map *info_map)
> {
> - info_map_write(info_map, engine_enabled_masks[GUC_RENDER_CLASS], 1);
> + info_map_write(info_map, engine_enabled_masks[GUC_RENDER_CLASS], RCS_MASK(gt));
> info_map_write(info_map, engine_enabled_masks[GUC_COMPUTE_CLASS], CCS_MASK(gt));
> info_map_write(info_map, engine_enabled_masks[GUC_BLITTER_CLASS], 1);
> info_map_write(info_map, engine_enabled_masks[GUC_VIDEO_CLASS], VDBOX_MASK(gt));
next prev parent reply other threads:[~2022-03-03 22:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-03 22:34 [Intel-gfx] [PATCH 1/2] drm/i915/xehp: Support platforms with CCS engines but no RCS Matt Roper
2022-03-03 22:34 ` [Intel-gfx] [PATCH 2/2] drm/i915: Add RCS mask to GuC ADS params Matt Roper
2022-03-03 22:49 ` John Harrison [this message]
2022-03-03 23:15 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/xehp: Support platforms with CCS engines but no RCS Patchwork
2022-03-03 23:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-04 7:25 ` [Intel-gfx] [PATCH 1/2] " Lucas De Marchi
2022-03-04 13:45 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
2022-03-04 16:15 ` Matt Roper
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=ca14d77e-1b27-2a8a-90f0-b0f2b5ec393c@intel.com \
--to=john.c.harrison@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.d.roper@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