From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 00/11] drm/i915/dp: link rate and lane count refactoring
Date: Sat, 21 Jan 2017 21:37:19 +0200 [thread overview]
Message-ID: <cover.1485015599.git.jani.nikula@intel.com> (raw)
The link rate and lane count management has become quite
convoluted. Clean it up. Calculate source/sink/common rates only
once. Separate the max link rate and lane count from the source/sink max
link rate and lane counts; the former are dynamic and depend on the link
conditions, the latter are static properties of the source/sink
devices. Reduce link bw code use, and prefer rate throughout.
There are two potential bug fixes in the series, but presumably they can
only happen with the link fallback codes. Max sink rate usage was wrong
for eDP 1.4. Max lane count was probably wrong for DP MST.
This probably conflicts royally with Manasi's work, but eventually this
is where we should go. The current code just conflates and complicates
too many things around link parameter management.
BR,
Jani.
Jani Nikula (11):
drm/i915/dp: use known correct array size in rate_to_index
drm/i915/dp: return errors from rate_to_index()
drm/i915/dp: rename rate_to_index() to intel_dp_find_rate() and reuse
drm/i915/dp: cache source rates at init
drm/i915/dp: generate and cache sink rate array for all DP, not just
eDP 1.4
drm/i915/dp: use the sink rates array for max sink rates
drm/i915/dp: cache common rates with sink rates
drm/i915/dp: fallback link rate seek doesn't need to use rate limit
drm/i915/dp: don't call the link parameters sink parameters
drm/i915/dp: add functions for max common link rate and lane count
drm/i915/mst: use max link not sink lane count
drivers/gpu/drm/i915/intel_dp.c | 216 +++++++++++++++-----------
drivers/gpu/drm/i915/intel_dp_link_training.c | 3 +-
drivers/gpu/drm/i915/intel_dp_mst.c | 4 +-
drivers/gpu/drm/i915/intel_drv.h | 19 ++-
4 files changed, 138 insertions(+), 104 deletions(-)
--
2.1.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2017-01-21 19:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 19:37 Jani Nikula [this message]
2017-01-21 19:37 ` [PATCH 01/11] drm/i915/dp: use known correct array size in rate_to_index Jani Nikula
2017-01-21 19:37 ` [PATCH 02/11] drm/i915/dp: return errors from rate_to_index() Jani Nikula
2017-01-21 19:37 ` [PATCH 03/11] drm/i915/dp: rename rate_to_index() to intel_dp_find_rate() and reuse Jani Nikula
2017-01-21 19:37 ` [PATCH 04/11] drm/i915/dp: cache source rates at init Jani Nikula
2017-01-21 19:37 ` [PATCH 05/11] drm/i915/dp: generate and cache sink rate array for all DP, not just eDP 1.4 Jani Nikula
2017-01-21 19:37 ` [PATCH 06/11] drm/i915/dp: use the sink rates array for max sink rates Jani Nikula
2017-01-21 19:37 ` [PATCH 07/11] drm/i915/dp: cache common rates with " Jani Nikula
2017-01-21 19:37 ` [PATCH 08/11] drm/i915/dp: fallback link rate seek doesn't need to use rate limit Jani Nikula
2017-01-21 19:37 ` [PATCH 09/11] drm/i915/dp: don't call the link parameters sink parameters Jani Nikula
2017-01-21 19:37 ` [PATCH 10/11] drm/i915/dp: add functions for max common link rate and lane count Jani Nikula
2017-01-21 19:37 ` [PATCH 11/11] drm/i915/mst: use max link not sink " Jani Nikula
2017-01-21 20:24 ` ✗ Fi.CI.BAT: failure for drm/i915/dp: link rate and lane count refactoring 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=cover.1485015599.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@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.