Re: [PATCH 1/2] dt-bindings: Add Apple SoC GPU

From: Sven Peter
Date: Wed Jun 11 2025 - 15:18:14 EST


On 11.06.25 21:06, Sasha Finkelstein wrote:
On Wed, 11 Jun 2025 at 20:44, Sven Peter <sven@xxxxxxxxxx> wrote:
+ - description: Driver-opaque calibration blob
+ - description: Calibration blob

Like Alyssa mentioned, this description also raises more questions than
it answers for me. Do we know what these two blobs contain or why they
are two separate blobs?

At some point in the gpu initialization process we give the firmware a bag
of pointers to various stuff it needs. HwCalA and HwCalB are separate
pointers, and they use separate gpu allocations. We do not fully know
what is in there, but we know what some of the fields do and how to
create the blobs based on data from apple device tree.

I looked at the driver itself and there are two comments related to
these:

HwDataA: This mostly contains power-related configuration.
HwDataB: This mostly contains GPU-related configuration.

Are they still accurate our just outdated leftovers from an early
version? If they're accurate I'd include them in the description here as
well.


Best,


Sven