[PATCH v2 1/7] dt-bindings: display: simple-framebuffer: Support system memory framebuffers

Thierry Reding thierry.reding at gmail.com
Mon Oct 17 14:38:54 UTC 2022


On Mon, Oct 10, 2022 at 11:37:37AM +0200, Thomas Zimmermann wrote:
> Hi
> 
> Am 07.10.22 um 14:49 schrieb Thierry Reding:
> > From: Thierry Reding <treding at nvidia.com>
> > 
> > In order to support framebuffers residing in system memory, allow the
> > memory-region property to override the framebuffer memory specification
> > in the "reg" property.
> 
> What happens if both properties are present and they disagree with each
> other?
> 
> I understand that the framebuffer is behind 'memory-region', but does 'reg'
> still contain device memory?  Do we need to acquire ownership from within
> the driver?

The intention is for both memory-region and reg properties to be
mutually exclusive. I can't think of a scenario where you would need or
want both.

Note also the documentation for the memory-region property:

|  memory-region:
|    maxItems: 1
|    description: Phandle to a node describing the memory to be used for the
|      framebuffer. If present, overrides the "reg" property (if one exists).

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20221017/8798c413/attachment.sig>


More information about the dri-devel mailing list