lkml.org 
[lkml]   [2023]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/7] drm/msm/adreno: Add ZAP firmware name to A635
    On Tue, Sep 26, 2023 at 08:24:37PM +0200, Konrad Dybcio wrote:
    >
    > Some (many?) devices with A635 expect a ZAP shader to be loaded.
    >
    > Set the file name to allow for that.
    >
    > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
    > ---
    > drivers/gpu/drm/msm/adreno/adreno_device.c | 1 +
    > 1 file changed, 1 insertion(+)
    >
    > diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c
    > index fa527935ffd4..16527fe8584d 100644
    > --- a/drivers/gpu/drm/msm/adreno/adreno_device.c
    > +++ b/drivers/gpu/drm/msm/adreno/adreno_device.c
    > @@ -454,6 +454,7 @@ static const struct adreno_info gpulist[] = {
    > .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT |
    > ADRENO_QUIRK_HAS_HW_APRIV,
    > .init = a6xx_gpu_init,
    > + .zapfw = "a660_zap.mbn",

    sc7280 doesn't have a TZ and so no zap shader support. Can we handle
    this using "firmware-name" property in your top level platform dt? Zap
    firmwares are signed with different keys for each OEMs. So there is
    cross-compatibility anyway.

    -Ahil.

    > .hwcg = a660_hwcg,
    > .address_space_size = SZ_16G,
    > .speedbins = ADRENO_SPEEDBINS(
    >
    > --
    > 2.42.0
    >

    \
     
     \ /
      Last update: 2023-10-16 22:14    [W:5.103 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site