From: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
To: Jeffrey Hugo <quic_jhugo@quicinc.com>
Cc: Oded Gabbay <ogabbay@kernel.org>,
Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 2/9] accel/ivpu: Remove duplicated error messages
Date: Tue, 29 Aug 2023 13:09:13 +0200 [thread overview]
Message-ID: <20230829110913.GA4086697@linux.intel.com> (raw)
In-Reply-To: <0b1f3c3a-cb46-fcce-2423-d8a4df852d69@quicinc.com>
On Mon, Aug 28, 2023 at 02:41:50PM -0600, Jeffrey Hugo wrote:
> > ivpu_pm_enable(vdev);
> > @@ -651,10 +625,8 @@ static int ivpu_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> > pci_set_drvdata(pdev, vdev);
> > ret = ivpu_dev_init(vdev);
> > - if (ret) {
> > - dev_err(&pdev->dev, "Failed to initialize VPU device: %d\n", ret);
> > + if (ret)
> > return ret;
> > - }
>
> Commit text doesn't mention anything about this change.
Will add to commit message info about this.
> > ret = drm_dev_register(&vdev->drm, 0);
> > if (ret) {
> > diff --git a/drivers/accel/ivpu/ivpu_fw.c b/drivers/accel/ivpu/ivpu_fw.c
> > index 9827ea4d7b83..9b6ecd3e9537 100644
> > --- a/drivers/accel/ivpu/ivpu_fw.c
> > +++ b/drivers/accel/ivpu/ivpu_fw.c
> > @@ -78,7 +78,7 @@ static int ivpu_fw_request(struct ivpu_device *vdev)
> > }
> > }
> > - ivpu_err(vdev, "Failed to request firmware: %d\n", ret);
> > + ivpu_err(vdev, "Failed to load firmware: %d\n", ret);
>
> Commit text doesn't mention anything about this. Nor do I understand it as
> this function doesn't load the firmware.
I'll remove this change.
> Everything below this point seems to be not related to $SUBJECT and feels
> like should be a separate patch.
I'll add to commit massage that we also add missed prints
in functions called from ivpu_dev_init().
And for remaining changes I'll prepare separate patches,
one for ivpu_mmu_context.c context and one for ivpu_pm_init().
Thanks
Stanislaw
next prev parent reply other threads:[~2023-08-29 11:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 9:47 [PATCH v2 0/9] accel/ivpu: Update for -next 2023.08.25 Stanislaw Gruszka
2023-08-28 9:47 ` [PATCH v2 1/9] accel/ivpu: Move set autosuspend delay to HW specific code Stanislaw Gruszka
2023-08-28 20:37 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 2/9] accel/ivpu: Remove duplicated error messages Stanislaw Gruszka
2023-08-28 20:41 ` Jeffrey Hugo
2023-08-29 11:09 ` Stanislaw Gruszka [this message]
2023-08-28 9:47 ` [PATCH v2 3/9] accel/ivpu: Print information about used workarounds Stanislaw Gruszka
2023-08-28 20:44 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 4/9] accel/ivpu: Initialize context with SSID = 1 Stanislaw Gruszka
2023-08-28 20:47 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 5/9] accel/ivpu: Move ivpu_fw_load() to ivpu_fw_init() Stanislaw Gruszka
2023-08-28 20:49 ` Jeffrey Hugo
2023-08-29 11:12 ` Stanislaw Gruszka
2023-08-29 15:10 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 6/9] accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size() Stanislaw Gruszka
2023-08-28 20:50 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 7/9] accel/ivpu/37xx: Change register rename leftovers Stanislaw Gruszka
2023-08-28 20:51 ` Jeffrey Hugo
2023-08-28 9:47 ` [PATCH v2 8/9] accel/ivpu/37xx: White space cleanup Stanislaw Gruszka
2023-08-28 20:55 ` Jeffrey Hugo
2023-08-29 11:14 ` Stanislaw Gruszka
2023-08-28 9:47 ` [PATCH v2 9/9] accel/ivpu: Move MMU register definitions to ivpu_mmu.c Stanislaw Gruszka
2023-08-28 21:01 ` Jeffrey Hugo
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=20230829110913.GA4086697@linux.intel.com \
--to=stanislaw.gruszka@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jacek.lawrynowicz@linux.intel.com \
--cc=ogabbay@kernel.org \
--cc=quic_jhugo@quicinc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.