From: Jyri Sarha <jsarha@ti.com>
To: dri-devel@lists.freedesktop.org
Cc: Jyri Sarha <jsarha@ti.com>,
tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com
Subject: [PATCH v2 00/21] drm/tilcdc: Atomic modeset support
Date: Tue, 28 Jun 2016 10:20:55 +0300 [thread overview]
Message-ID: <cover.1467098026.git.jsarha@ti.com> (raw)
This series implements atomic modeset for TI's LCDC HW. The code has
been tested on X-server, weston, and our kmsxx kms testing suite. The
patches are based on my earlier tilcdc fixes and cleanups series [1].
I know that the tiny display pipe has been accepted for mainline and I
have intention of moving lcdc on top of it at some point. However,
there is just too many things I would still have to reimplemet to do
it now. How to deal with different encoders, connectors and panels
for example. This series should be considered as a first step towards
making that move. It implements many things that are needed in simple
display pipe too.
There is a lot of changes since RFC version of the series and this is
not a complete list:
- Added patches
- drm/tilcdc: Fix tilcdc component master unloading
- drm/tilcdc: Make tilcdc_crtc_page_flip() work if crtc is not yet on
- drm/tilcdc: panel: Set crtc panel info at init phase
- drm/tilcdc: panel: Add atomic modeset helpers to connector funcs
- drm/tilcdc: tfp410: Set crtc panel info at init phase
- drm/tilcdc: tfp410: Add atomic modeset helpers to connector funcs
- drm/tilcdc: Enable and disable interrupts in crtc start() and stop()
- drm/tilcdc: Use drm_atomic_helper_resume/suspend()
- drm/tilcdc: Get rid of legacy dpms mechanism
- drm/tilcdc: Remove unnecessary pm_runtime_get() and *_put() calls
- drm/tilcdc: Change tilcdc_crtc_page_flip() to tilcdc_crtc_update_fb()
- At least following changes to the "old" patches
- Add mechanism to update crtc state's mode_changed if plane fb
pixel_format changes
- Add tilcdc_atomic_check() for mode_config_funcs
- Leave tilcdc_crtc_mode_fixup() connected to drm_crtc_helper_funcs
[1] https://lists.freedesktop.org/archives/dri-devel/2016-June/111258.html
Jyri Sarha (21):
drm/tilcdc: Fix tilcdc component master unloading
drm/tilcdc: Make tilcdc_crtc_page_flip() public
drm/tilcdc: Make tilcdc_crtc_page_flip() work if crtc is not yet on
drm/tilcdc: Add dummy primary plane implementation
drm/tilcdc: Initialize dummy primary plane from crtc init
drm/tilcdc: Add tilcdc_crtc_mode_set_nofb()
drm/tilcdc: Add tilcdc_crtc_atomic_check()
drm/tilcdc: Add atomic mode config funcs
drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load()
drm/tilcdc: Set DRIVER_ATOMIC and use atomic crtc helpers
drm/tilcdc: Remove obsolete crtc helper functions
drm/tilcdc: Remove tilcdc_verify_fb()
drm/tilcdc: panel: Set crtc panel info at init phase
drm/tilcdc: panel: Add atomic modeset helpers to connector funcs
drm/tilcdc: tfp410: Set crtc panel info at init phase
drm/tilcdc: tfp410: Add atomic modeset helpers to connector funcs
drm/tilcdc: Enable and disable interrupts in crtc start() and stop()
drm/tilcdc: Use drm_atomic_helper_resume/suspend()
drm/tilcdc: Get rid of legacy dpms mechanism
drm/tilcdc: Remove unnecessary pm_runtime_get() and *_put() calls
drm/tilcdc: Change tilcdc_crtc_page_flip() to tilcdc_crtc_update_fb()
drivers/gpu/drm/tilcdc/Makefile | 1 +
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 311 ++++++++++++++++-----------------
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 210 +++++++++++-----------
drivers/gpu/drm/tilcdc/tilcdc_drv.h | 14 +-
drivers/gpu/drm/tilcdc/tilcdc_panel.c | 11 +-
drivers/gpu/drm/tilcdc/tilcdc_plane.c | 132 ++++++++++++++
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 8 +-
7 files changed, 410 insertions(+), 277 deletions(-)
create mode 100644 drivers/gpu/drm/tilcdc/tilcdc_plane.c
--
1.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2016-06-28 7:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 7:20 Jyri Sarha [this message]
2016-06-28 7:20 ` [PATCH v2 01/21] drm/tilcdc: Fix tilcdc component master unloading Jyri Sarha
2016-06-28 7:20 ` [PATCH v2 02/21] drm/tilcdc: Make tilcdc_crtc_page_flip() public Jyri Sarha
2016-06-28 7:20 ` [PATCH v2 03/21] drm/tilcdc: Make tilcdc_crtc_page_flip() work if crtc is not yet on Jyri Sarha
2016-06-28 7:20 ` [PATCH v2 04/21] drm/tilcdc: Add dummy primary plane implementation Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 05/21] drm/tilcdc: Initialize dummy primary plane from crtc init Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 06/21] drm/tilcdc: Add tilcdc_crtc_mode_set_nofb() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 07/21] drm/tilcdc: Add tilcdc_crtc_atomic_check() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 08/21] drm/tilcdc: Add atomic mode config funcs Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 09/21] drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 10/21] drm/tilcdc: Set DRIVER_ATOMIC and use atomic crtc helpers Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 11/21] drm/tilcdc: Remove obsolete crtc helper functions Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 12/21] drm/tilcdc: Remove tilcdc_verify_fb() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 13/21] drm/tilcdc: panel: Set crtc panel info at init phase Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 14/21] drm/tilcdc: panel: Add atomic modeset helpers to connector funcs Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 15/21] drm/tilcdc: tfp410: Set crtc panel info at init phase Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 16/21] drm/tilcdc: tfp410: Add atomic modeset helpers to connector funcs Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 17/21] drm/tilcdc: Enable and disable interrupts in crtc start() and stop() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 18/21] drm/tilcdc: Use drm_atomic_helper_resume/suspend() Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 19/21] drm/tilcdc: Get rid of legacy dpms mechanism Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 20/21] drm/tilcdc: Remove unnecessary pm_runtime_get() and *_put() calls Jyri Sarha
2016-06-28 7:21 ` [PATCH v2 21/21] drm/tilcdc: Change tilcdc_crtc_page_flip() to tilcdc_crtc_update_fb() Jyri Sarha
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.1467098026.git.jsarha@ti.com \
--to=jsarha@ti.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=tomi.valkeinen@ti.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox