dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/cirrus: convert cirrus to atomic mode-setting
@ 2015-08-05  7:22 John Hunter
  2015-08-05  7:22 ` [PATCH 1/7] drm/cirrus: phase 1 - use the transitional helpers John Hunter
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: John Hunter @ 2015-08-05  7:22 UTC (permalink / raw)
  To: dri-devel

From: Zhao Junwang <zhjwpku@gmail.com>

This patch series aim to convert DRM_CIRRUS to atomic mode-setting.
This mostly reference my previous patch series on DRM_BOCHS and
Gustavo Padovan;s patch series on drm/exynos.

Zhao Junwang (7):
  drm/cirrus: phase 1 - use the transitional helpers
  drm/cirrus: phase 2: wire up state reset, duplicate and destroy
  drm/cirrus: phase 3: atomic updates of planes
  drm/cirrus: add return 0 to make sure if (bo->pin_count) early_exit
  drm/cirrus: phase 3: use atomic .set_config helper
  drm/cirrus: atomic dpms support
  drm/cirrus: add DRIVER_ATOMIC to .driver_features

 drivers/gpu/drm/cirrus/cirrus_drv.c  |    3 +-
 drivers/gpu/drm/cirrus/cirrus_drv.h  |    3 +-
 drivers/gpu/drm/cirrus/cirrus_main.c |    5 +-
 drivers/gpu/drm/cirrus/cirrus_mode.c |  299 ++++++++++++++++++++--------------
 drivers/gpu/drm/cirrus/cirrus_ttm.c  |    2 +
 5 files changed, 187 insertions(+), 125 deletions(-)

-- 
1.7.10.4


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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features
@ 2015-08-05  7:08 John Hunter
  2015-08-05  7:14 ` zhaojunwang
  0 siblings, 1 reply; 11+ messages in thread
From: John Hunter @ 2015-08-05  7:08 UTC (permalink / raw)
  To: dri-devel; +Cc: Zhao Junwang, Daniel Vetter, Matthew Garrett, Dave Airlie

From: Zhao Junwang <zhjwpku@gmail.com>

Since  driver is now fully atomic, we should add DRIVER_ATOMIC to
.driver_features

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Matthew Garrett <mjg59@coreos.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Zhao Junwang <zhaojunwang@pku.edu.cn>
Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
---
 drivers/gpu/drm/cirrus/cirrus_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.c b/drivers/gpu/drm/cirrus/cirrus_drv.c
index 80f1cd2..742647b 100644
--- a/drivers/gpu/drm/cirrus/cirrus_drv.c
+++ b/drivers/gpu/drm/cirrus/cirrus_drv.c
@@ -130,7 +130,7 @@ static const struct file_operations cirrus_driver_fops = {
 #endif
 };
 static struct drm_driver driver = {
-	.driver_features = DRIVER_MODESET | DRIVER_GEM,
+	.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC,
 	.load = cirrus_driver_load,
 	.unload = cirrus_driver_unload,
 	.set_busid = drm_pci_set_busid,
-- 
1.7.10.4


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

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH 0/7] drm/cirrus: convert cirrus to atomic mode-setting
@ 2015-07-30 10:08 John Hunter
  2015-07-30 10:08 ` [PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features John Hunter
  0 siblings, 1 reply; 11+ messages in thread
From: John Hunter @ 2015-07-30 10:08 UTC (permalink / raw)
  To: dri-devel

From: Zhao Junwang <zhjwpku@gmail.com>

This patch series aim to convert DRM_CIRRUS to atomic mode-setting.
This mostly reference my previous patch series on DRM_BOCHS and
Gustavo Padovan;s patch series on drm/exynos.

Zhao Junwang (7):
  drm/cirrus: phase 1 - use the transitional helpers
  drm/cirrus: phase 2: wire up state reset, duplicate and destroy
  drm/cirrus: phase 3: atomic updates of planes
  drm/cirrus: add return 0 to make sure if (bo->pin_count) early_exit
  drm/cirrus: phase 3: use atomic .set_config helper
  drm/cirrus: atomic dpms support
  drm/cirrus: add DRIVER_ATOMIC to .driver_features

 drivers/gpu/drm/cirrus/cirrus_drv.c  |    3 +-
 drivers/gpu/drm/cirrus/cirrus_drv.h  |    3 +-
 drivers/gpu/drm/cirrus/cirrus_main.c |    5 +-
 drivers/gpu/drm/cirrus/cirrus_mode.c |  299 ++++++++++++++++++++--------------
 drivers/gpu/drm/cirrus/cirrus_ttm.c  |    2 +
 5 files changed, 187 insertions(+), 125 deletions(-)

-- 
1.7.10.4


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-08-05  7:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05  7:22 [PATCH 0/7] drm/cirrus: convert cirrus to atomic mode-setting John Hunter
2015-08-05  7:22 ` [PATCH 1/7] drm/cirrus: phase 1 - use the transitional helpers John Hunter
2015-08-05  7:22 ` [PATCH 2/7] drm/cirrus: phase 2: wire up state reset, duplicate and destroy John Hunter
2015-08-05  7:22 ` [PATCH 3/7] drm/cirrus: phase 3: atomic updates of planes John Hunter
2015-08-05  7:22 ` [PATCH 4/7] drm/cirrus: add return 0 to make sure if (bo->pin_count) early_exit John Hunter
2015-08-05  7:22 ` [PATCH 5/7] drm/cirrus: phase 3: use atomic .set_config helper John Hunter
2015-08-05  7:22 ` [PATCH 6/7] drm/cirrus: atomic dpms support John Hunter
2015-08-05  7:22 ` [PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features John Hunter
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05  7:08 John Hunter
2015-08-05  7:14 ` zhaojunwang
2015-07-30 10:08 [PATCH 0/7] drm/cirrus: convert cirrus to atomic mode-setting John Hunter
2015-07-30 10:08 ` [PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features John Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox