lkml.org 
[lkml]   [2023]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 08/12] drm/panfrost: Increase MAX_PM_DOMAINS to 5
    Date
    From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>

    Increase the MAX_PM_DOMAINS constant from 3 to 5, to support the
    extra power domains required by the Mali-G57 on the MT8192.

    Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
    Reviewed-by: Steven Price <steven.price@arm.com>
    ---
    drivers/gpu/drm/panfrost/panfrost_device.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h
    index d9ba68cffb77..b0126b9fbadc 100644
    --- a/drivers/gpu/drm/panfrost/panfrost_device.h
    +++ b/drivers/gpu/drm/panfrost/panfrost_device.h
    @@ -23,7 +23,7 @@ struct panfrost_job;
    struct panfrost_perfcnt;

    #define NUM_JOB_SLOTS 3
    -#define MAX_PM_DOMAINS 3
    +#define MAX_PM_DOMAINS 5

    struct panfrost_features {
    u16 id;
    --
    2.39.2
    \
     
     \ /
      Last update: 2023-03-27 00:38    [W:4.783 / U:0.412 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site