diff options
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2023-03-16 11:20:37 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2023-03-23 10:43:17 +0100 |
commit | a769a7af9d0df53d638fedc87332ca0aec80267b (patch) | |
tree | 35fcfc27df962502585a82e8a1394ef4d2bc0193 /drivers/gpu/drm/panfrost/panfrost_device.h | |
parent | 2ade28304d91963862c434cd954d5da84534d851 (diff) | |
download | lwn-a769a7af9d0df53d638fedc87332ca0aec80267b.tar.gz lwn-a769a7af9d0df53d638fedc87332ca0aec80267b.zip |
drm/panfrost: Increase MAX_PM_DOMAINS to 5
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>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316102041.210269-9-angelogioacchino.delregno@collabora.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_device.h')
-rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |