• Thierry Reding's avatar
    gpu: host1x: Use correct semantics for HOST1X_CHANNEL_DMAEND · 0e43b8da
    Thierry Reding authored
    The HOST1X_CHANNEL_DMAEND is an offset relative to the value written to
    the HOST1X_CHANNEL_DMASTART register, but it is currently treated as an
    absolute address. This can cause SMMU faults if the CDMA fetches past a
    pushbuffer's IOMMU mapping.
    
    Properly setting the DMAEND prevents the CDMA from fetching beyond that
    address and avoid such issues. This is currently not observed because a
    whole (almost) page of essentially scratch space absorbs any excessive
    prefetching by CDMA. However, changing the number of slots in the push
    buffer can trigger these SMMU faults.
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    0e43b8da
Name
Last commit
Last update
..
hw Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
bus.c Loading commit data...
bus.h Loading commit data...
cdma.c Loading commit data...
cdma.h Loading commit data...
channel.c Loading commit data...
channel.h Loading commit data...
debug.c Loading commit data...
debug.h Loading commit data...
dev.c Loading commit data...
dev.h Loading commit data...
intr.c Loading commit data...
intr.h Loading commit data...
job.c Loading commit data...
job.h Loading commit data...
mipi.c Loading commit data...
syncpt.c Loading commit data...
syncpt.h Loading commit data...