From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com
Cc: devicetree@vger.kernel.org, jsarha@ti.com,
dri-devel@lists.freedesktop.org
Subject: [PATCH v3 0/3] drm/omap: Workaround for errata i878
Date: Tue, 10 Apr 2018 14:32:58 +0300 [thread overview]
Message-ID: <20180410113301.18984-1-peter.ujfalusi@ti.com> (raw)
Hi,
Changes since v2:
- Use threaded irq when the i878 workaround is used to avoid unlikely system
freeze: dma_sync_wait() have 5 second timeout
- Use mutex instead of spinlock as wa_lock
- use the dmaengine_prep_dma_memcpy() wrapper
- do not explicitly call dma_async_issue_pending() as it is done as part of
dma_sync_wait()
- Use define for the DMM register size (4 bytes)
- Cleanup patch for the remove path: no need to check if the irq is valid. The
driver would not probe w/o valid interrupt.
Changes since v1:
- rebased on drm-next
- comments for the v1 (https://patchwork.kernel.org/patch/8358741/) addressed
- u32 -> dma_addr_t when applicable
- additional wmb()/rmb() added to make sure we have correct behavior
Errata i878 says that MPU should not be used to access RAM and DMM at
the same time. As it's not possible to prevent MPU accessing RAM, we
need to access DMM via a proxy.
Regards,
Peter
---
Peter Ujfalusi (1):
drm/omap: dmm_tiler: No need to check if irq is valid in
omap_dmm_remove
Tomi Valkeinen (2):
dt-bindings: arm: omap: dmm: Document new compatible for DRA7xx family
drm/omap: partial workaround for DRA7xx DMM errata i878
.../devicetree/bindings/arm/omap/dmm.txt | 3 +-
drivers/gpu/drm/omapdrm/omap_dmm_priv.h | 8 +
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 164 +++++++++++++++++-
3 files changed, 168 insertions(+), 7 deletions(-)
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-04-10 11:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-10 11:32 Peter Ujfalusi [this message]
2018-04-10 11:32 ` [PATCH v3 1/3] drm/omap: dmm_tiler: No need to check if irq is valid in omap_dmm_remove Peter Ujfalusi
2018-04-10 11:33 ` [PATCH v3 2/3] dt-bindings: arm: omap: dmm: Document new compatible for DRA7xx family Peter Ujfalusi
2018-05-23 9:56 ` Tomi Valkeinen
2018-04-10 11:33 ` [PATCH v3 3/3] drm/omap: partial workaround for DRA7xx DMM errata i878 Peter Ujfalusi
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=20180410113301.18984-1-peter.ujfalusi@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--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