On Thu, Feb 27, 2025 at 05:58:08PM +0100, Marek Vasut wrote: > The instance of the GPU populated in Freescale i.MX95 is the > Mali G310, add support for this variant. > > Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Frank Li <[email protected]> > --- > Cc: Boris Brezillon <[email protected]> > Cc: Conor Dooley <[email protected]> > Cc: David Airlie <[email protected]> > Cc: Fabio Estevam <[email protected]> > Cc: Krzysztof Kozlowski <[email protected]> > Cc: Liviu Dudau <[email protected]> > Cc: Maarten Lankhorst <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: Pengutronix Kernel Team <[email protected]> > Cc: Philipp Zabel <[email protected]> > Cc: Rob Herring <[email protected]> > Cc: Sascha Hauer <[email protected]> > Cc: Sebastian Reichel <[email protected]> > Cc: Shawn Guo <[email protected]> > Cc: Simona Vetter <[email protected]> > Cc: Steven Price <[email protected]> > Cc: Thomas Zimmermann <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > drivers/gpu/drm/panthor/panthor_drv.c | 1 + > drivers/gpu/drm/panthor/panthor_gpu.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/panthor/panthor_drv.c > b/drivers/gpu/drm/panthor/panthor_drv.c > index 06fe46e320738..2504a456d45c4 100644 > --- a/drivers/gpu/drm/panthor/panthor_drv.c > +++ b/drivers/gpu/drm/panthor/panthor_drv.c > @@ -1591,6 +1591,7 @@ static struct attribute *panthor_attrs[] = { > ATTRIBUTE_GROUPS(panthor); > > static const struct of_device_id dt_match[] = { > + { .compatible = "fsl,imx95-mali" }, /* G310 */ > { .compatible = "rockchip,rk3588-mali" }, > { .compatible = "arm,mali-valhall-csf" }, > {} > diff --git a/drivers/gpu/drm/panthor/panthor_gpu.c > b/drivers/gpu/drm/panthor/panthor_gpu.c > index 0f07ef7d9aea7..2371ab8e50627 100644 > --- a/drivers/gpu/drm/panthor/panthor_gpu.c > +++ b/drivers/gpu/drm/panthor/panthor_gpu.c > @@ -67,6 +67,7 @@ struct panthor_model { > } > > static const struct panthor_model gpu_models[] = { > + GPU_MODEL(g310, 0, 0), /* NXP i.MX95 */ > GPU_MODEL(g610, 10, 7), > {}, > }; > -- > 2.47.2 >
