Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1360543

[RFC v3 0/3] Mediatek MT8173 CMDQ support

From HS Liao <hs.liao@mediatek.com>
Newsgroups linux.kernel
Subject [RFC v3 0/3] Mediatek MT8173 CMDQ support
Date 2016-03-18 12:30 +0100
Message-ID <re0Lo-4Z2-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used
to help read/write registers with critical time limitation, such as
updating display configuration during the vblank. It controls Global
Command Engine (GCE) hardware to achieve this requirement.

These patches have a build dependency on top of v4.5-rc1.

Changes since v2:
 - use cmdq instead of cqctx
 - document cmdq_code
 - use cmdq thread base instead of thread id, so remove thread id
 - remove buffer pool and let linux manage memory
 - remove task_free_list
 - merge cmdq_task_exec_async_impl into cmdq_task_exec_async
 - use list_for_each_entry_safe instead of list_for_each_safe
 - merge cmdq_dev_init into cmdq_probe
 - use cmdq record(rec) instead of cmdq handle
 - use cmdq command instead of cmdq desc
 - remove unused interfaces
 - set IRQF_TRIGGER_LOW in device tree
 - remove event array and related code since client should clear event
   before wait it
 - report status to callback function
 - remove some debug code
 - remove some protection code, e.g. suspend/resume
 - rewrite some code to shrink code size

Best regards,
HS Liao

HS Liao (3):
  dt-bindings: soc: Add documentation for the MediaTek GCE unit
  CMDQ: Mediatek CMDQ driver
  arm64: dts: mt8173: Add GCE node

 .../devicetree/bindings/soc/mediatek/gce.txt       |   34 +
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |    8 +
 drivers/soc/mediatek/Kconfig                       |   10 +
 drivers/soc/mediatek/Makefile                      |    1 +
 drivers/soc/mediatek/mtk-cmdq.c                    | 1805 ++++++++++++++++++++
 include/soc/mediatek/cmdq.h                        |  181 ++
 6 files changed, 2039 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/mediatek/gce.txt
 create mode 100644 drivers/soc/mediatek/mtk-cmdq.c
 create mode 100644 include/soc/mediatek/cmdq.h

-- 
1.7.9.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC v3 0/3] Mediatek MT8173 CMDQ support HS Liao <hs.liao@mediatek.com> - 2016-03-18 12:30 +0100
  [RFC v3 1/3] dt-bindings: soc: Add documentation for the MediaTek GCE unit HS Liao <hs.liao@mediatek.com> - 2016-03-18 12:30 +0100
    Re: [RFC v3 1/3] dt-bindings: soc: Add documentation for the  MediaTek GCE unit Rob Herring <robh@kernel.org> - 2016-03-20 02:00 +0100
      Re: [RFC v3 1/3] dt-bindings: soc: Add documentation for the  MediaTek GCE unit Horng-Shyang Liao <hs.liao@mediatek.com> - 2016-03-21 09:20 +0100
  [RFC v3 3/3] arm64: dts: mt8173: Add GCE node HS Liao <hs.liao@mediatek.com> - 2016-03-18 12:30 +0100

csiph-web