Skip to content
Commit 046338b4 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

drm/vc4: Adopt the dma configuration from the HVS or V3D component



vc4_drv isn't necessarily under the /soc node in DT as it is a
virtual device, but it is the one that does the allocations.
The DMA addresses are consumed by primarily the HVS or V3D, and
those require VideoCore cache alias address mapping, and so will be
under /soc.

During probe find the a suitable device node for HVS or V3D,
and adopt the DMA configuration of that node.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent fc674135
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment