All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Feeney <james@nurealm.net>
To: "Christian König" <christian.koenig@amd.com>,
	"Alex Deucher" <alexander.deucher@amd.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: atombios_crtc.c - make error messages distinguishable "unable to allocate a PPLL\n"
Date: Mon, 08 Jun 2015 11:09:41 -0600	[thread overview]
Message-ID: <5575CC55.8000102@nurealm.net> (raw)
In-Reply-To: <5575C339.7080105@amd.com>

> Actually it's always the same error. The message just appears in that file
> multiple times for different hardware generations.

Which is fine, presupposing that the user already knows what hardware generation
they are using _and_ how the video card manufacturer actually implemented the
display interfaces, as, for instance, whether or not the "external PLL" really
exists, or was left off.  That is "presuming the conclusion", though.  The user
does _not_ know.

The problem is that the error message is not informative for the person who is
actually encountering the problem.  At that point, the user already knows that
their display is not working, and they do not need an error message that says,
effectively, "Your display is not working."  That is insulting.  They need
information about how to respond, how to "fix" the problem.  The idea is to be
able to look at the source code.

For instance, I have an HD 5570 card, including a DisplayPort interface, for
which we can read "The 5000-series designs host two internal clocks and one
external clock."  With exactly three clocks and three displays, there should
_never_ be an allocation error.  Instead, there are constant "unable to allocate
a PPLL" errors, generated in the fifth "/* all other cases */" code path.  Why?

I had to modify and recompile the source just to find where the error was being
generated.  Please make life a little easier.

James
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-06-08 17:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 16:26 atombios_crtc.c - make error messages distinguishable "unable to allocate a PPLL\n" James Feeney
2015-06-08 16:30 ` Christian König
2015-06-08 17:09   ` James Feeney [this message]
2015-06-08 17:43     ` Deucher, Alexander
2015-06-08 19:42       ` James Feeney
2015-06-08 20:22         ` Deucher, Alexander
2015-06-10 22:12           ` James Feeney
2015-06-11  9:57             ` Christian König
2015-06-11 13:35             ` Alex Deucher

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=5575CC55.8000102@nurealm.net \
    --to=james@nurealm.net \
    --cc=alexander.deucher@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    /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.