[PATCH v2 3/7] drm/msm/adreno: Implement SMEM-based speed bin
Konrad Dybcio
konrad.dybcio at linaro.org
Tue Jun 25 17:41:29 UTC 2024
On 25.06.2024 7:20 PM, Rob Clark wrote:
> On Wed, Jun 5, 2024 at 1:10 PM Konrad Dybcio <konrad.dybcio at linaro.org> wrote:
>>
[...]
>> struct adreno_speedbin {
>> - uint16_t fuse;
>> + /* <= 16-bit for NVMEM fuses, 32b for SOCID values */
>> + uint32_t fuse;
>> +/* As of SM8650, PCODE on production SoCs is meaningless wrt the GPU bin */
>> +#define ADRENO_SKU_ID_FCODE GENMASK(15, 0)
>> +#define ADRENO_SKU_ID(fcode) (SOCINFO_PC_UNKNOWN << 16 | fcode)
>
> So, as I understand this, we are actually only using the feature-code,
> which is the low 16b. So in reality the "fuse" is still only 16b?
Right, a leftover from when the pcode was used too.. None of them should
exceed 16b.
Konrad
More information about the Freedreno
mailing list