From: Sagar Arun Kamble <sagar.a.kamble@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v2 5/6] drm/i915/guc: Move Guc early init into own function
Date: Tue, 3 Oct 2017 11:56:36 +0530 [thread overview]
Message-ID: <d6a91046-170d-3ee2-4266-ff97cb446042@intel.com> (raw)
In-Reply-To: <20171002140109.52844-6-michal.wajdeczko@intel.com>
On 10/2/2017 7:31 PM, Michal Wajdeczko wrote:
> We don't want to make aggregate uc functions to be too detailed.
> This will also make future patch easier.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
> ---
> drivers/gpu/drm/i915/intel_uc.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_uc.c b/drivers/gpu/drm/i915/intel_uc.c
> index d921509..616e0f1 100644
> --- a/drivers/gpu/drm/i915/intel_uc.c
> +++ b/drivers/gpu/drm/i915/intel_uc.c
> @@ -88,10 +88,8 @@ static void gen8_guc_raise_irq(struct intel_guc *guc)
> I915_WRITE(GUC_SEND_INTERRUPT, GUC_SEND_TRIGGER);
> }
>
> -void intel_uc_init_early(struct drm_i915_private *dev_priv)
> +static void guc_init_early(struct intel_guc *guc)
> {
> - struct intel_guc *guc = &dev_priv->guc;
> -
> intel_guc_ct_init_early(&guc->ct);
>
> mutex_init(&guc->send_mutex);
> @@ -99,6 +97,11 @@ void intel_uc_init_early(struct drm_i915_private *dev_priv)
> guc->notify = gen8_guc_raise_irq;
> }
>
> +void intel_uc_init_early(struct drm_i915_private *dev_priv)
> +{
> + guc_init_early(&dev_priv->guc);
> +}
> +
> void intel_uc_init_fw(struct drm_i915_private *dev_priv)
> {
> i915_fetch_uc_fw(dev_priv, &dev_priv->huc.fw);
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-10-03 6:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 14:01 [PATCH v2 0/6] drm/i915: Guc code reorg Michal Wajdeczko
2017-10-02 14:01 ` [PATCH v2 1/6] drm/i915/uc: Drop unnecessary forward declaration Michal Wajdeczko
2017-10-02 14:01 ` [PATCH v2 2/6] drm/i915/uc: Move uC fw helper code into dedicated files Michal Wajdeczko
2017-10-03 7:48 ` Joonas Lahtinen
2017-10-02 14:01 ` [PATCH v2 3/6] drm/i915/uc: Create intel_uc_init_mmio Michal Wajdeczko
2017-10-03 5:58 ` Sagar Arun Kamble
2017-10-03 8:05 ` Joonas Lahtinen
2017-10-03 7:57 ` Joonas Lahtinen
2017-10-02 14:01 ` [PATCH v2 4/6] drm/i915/huc: Move HuC declarations into dedicated header Michal Wajdeczko
2017-10-03 8:10 ` Joonas Lahtinen
2017-10-02 14:01 ` [PATCH v2 5/6] drm/i915/guc: Move Guc early init into own function Michal Wajdeczko
2017-10-03 6:26 ` Sagar Arun Kamble [this message]
2017-10-02 14:01 ` [PATCH v2 6/6] drm/i915/guc: Move GuC declarations and functions into dedicated files Michal Wajdeczko
2017-10-03 6:35 ` Sagar Arun Kamble
2017-10-03 8:29 ` Joonas Lahtinen
2017-10-02 14:39 ` ✗ Fi.CI.BAT: failure for drm/i915: Guc code reorg Patchwork
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=d6a91046-170d-3ee2-4266-ff97cb446042@intel.com \
--to=sagar.a.kamble@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=michal.wajdeczko@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