[PATCH v3 0/7] drm/tegra: Miscellaneous enhancements
Mark Zhang
nvmarkzhang at gmail.com
Sun Feb 17 23:42:39 PST 2013
Hi Thierry,
Which version is this patch set based on? I tried to apply it on
linux-next 0206 & tot 0215 but failed:
Applying: drm: Add consistency check for page-flipping
Applying: drm/tegra: Add plane support
error: patch failed: drivers/gpu/drm/tegra/drm.h:121
error: drivers/gpu/drm/tegra/drm.h: patch does not apply
Patch failed at 0002 drm/tegra: Add plane support
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".
Mark
On 02/14/2013 12:04 AM, Thierry Reding wrote:
> This patch series introduces a number of useful features for the Tegra
> DRM driver. Patch 1 is a documentation update and adds a warning to the
> page-flip IOCTL to catch buggy drivers that return success but failed to
> update the crtc->fb field, which would cause the reference counting to
> become unbalanced.
>
> Patch 2 adds support for the additional two planes available on Tegra
> hardware, while patch 3 implement .mode_set_base() to allow for some
> nice speed up when changing the framebuffer without actually changing
> the resolution. Patch 4 adds VBLANK support and patch 5 builds on the
> previous two to provide the page-flipping IOCTL. Patch 6 splits the
> DC_CMD_STATE_CONTROL register writes into two consecutive writes as
> required by the TRM.
>
> Finally patch 7 adds a new file, named "framebuffers" to debugfs which
> can be used to dump a list of framebuffers attached to the DRM device.
> This is most useful to inspect the reference count but could also be
> helpful in diagnosing out-of-memory conditions and such.
>
> Thierry
>
> Thierry Reding (7):
> drm: Add consistency check for page-flipping
> drm/tegra: Add plane support
> drm/tegra: Implement .mode_set_base()
> drm/tegra: Implement VBLANK support
> drm/tegra: Implement page-flipping support
> drm/tegra: Split DC_CMD_STATE_CONTROL register write
> drm/tegra: Add list of framebuffers to debugfs
>
> Documentation/DocBook/drm.tmpl | 6 +
> drivers/gpu/drm/drm_crtc.c | 7 +
> drivers/gpu/drm/tegra/dc.c | 489 ++++++++++++++++++++++++++++++++---------
> drivers/gpu/drm/tegra/dc.h | 2 +-
> drivers/gpu/drm/tegra/drm.c | 103 +++++++++
> drivers/gpu/drm/tegra/drm.h | 37 ++++
> 6 files changed, 533 insertions(+), 111 deletions(-)
>
More information about the dri-devel
mailing list