On Tue, Sep 29, 2015 at 07:08:43PM +0100, Russell King - ARM Linux wrote: > Here are my queued changes for the Armada DRM driver, for the upcoming > 4.4 merge window. If there are no further comments (there was only one minor comment which has been fixed), I'll send a pull request for this to David later today. > > These changes are about updating the driver to some of the more recent > DRM APIs, and removing the non-component support now that has > stabilised. This results in all of armada_output and armada_slave > being removed, resulting in 460 lines of code removed from that change > alone. > > Other changes include: > > * moving more towards supporting DRM planes in a more generic way, > thereby reducing the duplication between the primary and overlay > planes. > * locking cleanups, more like locking removal, prefering inherently > atomic operations (eg, xchg) instead of spinlocking. This ultimately > results in simpler and faster code. > > I've been running these patches for a while and haven't noticed any ill > effects. > > Posted for comment, if nothing is forthcoming, I'll send a pull request > to David in a week or so's time. These patches are against v4.2, but > rebase to 4.3-rc3 without any fuss. > > drivers/gpu/drm/armada/Kconfig | 9 -- > drivers/gpu/drm/armada/Makefile | 3 +- > drivers/gpu/drm/armada/armada_crtc.c | 258 +++++++++++++++++++++++--------- > drivers/gpu/drm/armada/armada_crtc.h | 34 +++-- > drivers/gpu/drm/armada/armada_drm.h | 16 -- > drivers/gpu/drm/armada/armada_drv.c | 148 +++--------------- > drivers/gpu/drm/armada/armada_output.c | 142 ------------------ > drivers/gpu/drm/armada/armada_output.h | 33 ---- > drivers/gpu/drm/armada/armada_overlay.c | 147 +++++++++--------- > drivers/gpu/drm/armada/armada_slave.c | 139 ----------------- > drivers/gpu/drm/armada/armada_slave.h | 26 ---- > 11 files changed, 297 insertions(+), 658 deletions(-) > delete mode 100644 drivers/gpu/drm/armada/armada_output.c > delete mode 100644 drivers/gpu/drm/armada/armada_output.h > delete mode 100644 drivers/gpu/drm/armada/armada_slave.c > delete mode 100644 drivers/gpu/drm/armada/armada_slave.h > > -- > FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up > according to speedtest.net. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel