All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Yacoub <markyacoub@google.com>
To: Mark Yacoub <markyacoub@chromium.org>
Cc: "Michel Dänzer" <michel@daenzer.net>,
	"amd-gfx list" <amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/amdgpu: Use drm_dbg_kms for reporting failure to get a GEM FB
Date: Wed, 2 Jun 2021 10:44:04 -0400	[thread overview]
Message-ID: <CAC0gqY4iO3kXq_6zafWnfQehXCgzPLhzmuJ3qSnC-nSnw0MGHQ@mail.gmail.com> (raw)
In-Reply-To: <1cb79c0b-63f4-777d-29f3-552987aeb790@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1546 bytes --]

On Wed, Jun 2, 2021 at 5:56 AM Christian König <
ckoenig.leichtzumerken@gmail.com> wrote:

>
>
> Am 02.06.21 um 11:53 schrieb Michel Dänzer:
> > From: Michel Dänzer <mdaenzer@redhat.com>
> >
> > drm_err meant broken user space could spam dmesg.
> >
> > Fixes: f258907fdd835e "drm/amdgpu: Verify bo size can fit framebuffer
> >                         size on init."
> > Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
>
> Reviewed-by: Christian König <christian.koenig@amd.com>
>
> > ---
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ++--
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> > index 8170e24ce37d..2a4cd7d377bf 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> > @@ -1058,7 +1058,7 @@ int amdgpu_display_gem_fb_init(struct drm_device
> *dev,
> >
> >       return 0;
> >   err:
> > -     drm_err(dev, "Failed to init gem fb: %d\n", ret);
> > +     drm_dbg_kms(dev, "Failed to init gem fb: %d\n", ret);
> >       rfb->base.obj[0] = NULL;
> >       return ret;
> >   }
> > @@ -1096,7 +1096,7 @@ int amdgpu_display_gem_fb_verify_and_init(
> >
> >       return 0;
> >   err:
> > -     drm_err(dev, "Failed to verify and init gem fb: %d\n", ret);
> > +     drm_dbg_kms(dev, "Failed to verify and init gem fb: %d\n", ret);
> >       rfb->base.obj[0] = NULL;
> >       return ret;
> >   }
>
>

[-- Attachment #1.2: Type: text/html, Size: 2336 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  reply	other threads:[~2021-06-02 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02  9:53 [PATCH] drm/amdgpu: Use drm_dbg_kms for reporting failure to get a GEM FB Michel Dänzer
2021-06-02  9:56 ` Christian König
2021-06-02 14:44   ` Mark Yacoub [this message]
2021-06-02 14:45     ` Mark Yacoub
2021-06-02 16:21       ` Alex Deucher
2021-06-03  7:48         ` Michel Dänzer

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=CAC0gqY4iO3kXq_6zafWnfQehXCgzPLhzmuJ3qSnC-nSnw0MGHQ@mail.gmail.com \
    --to=markyacoub@google.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=markyacoub@chromium.org \
    --cc=michel@daenzer.net \
    /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.