| From: |
| Dmitry Osipenko <digetx-AT-gmail.com> |
| To: |
| Thierry Reding <thierry.reding-AT-gmail.com>, Jonathan Hunter <jonathanh-AT-nvidia.com>, Matt Merhar <mattmerhar-AT-protonmail.com>, Peter Geis <pgwipeout-AT-gmail.com>, Nicolas Chauvet <kwizart-AT-gmail.com> |
| Subject: |
| [PATCH v14 0/2] Add memory bandwidth management to NVIDIA Tegra DRM driver |
| Date: |
| Thu, 11 Mar 2021 20:06:04 +0300 |
| Message-ID: |
| <20210311170606.7543-1-digetx@gmail.com> |
| Cc: |
| linux-tegra-AT-vger.kernel.org, linux-pm-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, dri-devel-AT-lists.freedesktop.org |
| Archive-link: |
| Article |
This series adds memory bandwidth management to the NVIDIA Tegra DRM driver,
which is done using interconnect framework. It fixes display corruption that
happens due to insufficient memory bandwidth.
Changelog:
v14: - Made improvements that were suggested by Michał Mirosław to v13:
- Changed 'unsigned int' to 'bool'.
- Renamed functions which calculate bandwidth state.
- Reworked comment in the code that explains why downscaled plane
require higher bandwidth.
- Added round-up to bandwidth calculation.
- Added sanity checks of the plane index and fixed out-of-bounds
access which happened on T124 due to the cursor plane index.
v13: - No code changes. Patches missed v5.12, re-sending them for v5.13.
Dmitry Osipenko (2):
drm/tegra: dc: Support memory bandwidth management
drm/tegra: dc: Extend debug stats with total number of events
drivers/gpu/drm/tegra/Kconfig | 1 +
drivers/gpu/drm/tegra/dc.c | 362 ++++++++++++++++++++++++++++++++++
drivers/gpu/drm/tegra/dc.h | 19 ++
drivers/gpu/drm/tegra/drm.c | 14 ++
drivers/gpu/drm/tegra/hub.c | 3 +
drivers/gpu/drm/tegra/plane.c | 127 ++++++++++++
drivers/gpu/drm/tegra/plane.h | 15 ++
7 files changed, 541 insertions(+)
--
2.29.2