Re: [PATCH 25/49] staging: hikey9xx/gpu: do some code cleanups

2020-08-21 Thread John Stultz
On Thu, Aug 20, 2020 at 1:23 AM Mauro Carvalho Chehab wrote: > > (added c/c Rob Herring) > > Em Wed, 19 Aug 2020 18:53:06 -0700 > John Stultz escreveu: > > > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > > wrote: > > > @@ -376,7 +355,7 @@ static int kirin_drm_platform_resume(struct >

Re: [PATCH 25/49] staging: hikey9xx/gpu: do some code cleanups

2020-08-20 Thread Mauro Carvalho Chehab
(added c/c Rob Herring) Em Wed, 19 Aug 2020 18:53:06 -0700 John Stultz escreveu: > On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab > wrote: > > @@ -376,7 +355,7 @@ static int kirin_drm_platform_resume(struct > > platform_device *pdev) > > } > > > > static const struct of_device_id kiri

Re: [PATCH 25/49] staging: hikey9xx/gpu: do some code cleanups

2020-08-19 Thread John Stultz
On Wed, Aug 19, 2020 at 4:46 AM Mauro Carvalho Chehab wrote: > @@ -376,7 +355,7 @@ static int kirin_drm_platform_resume(struct > platform_device *pdev) > } > > static const struct of_device_id kirin_drm_dt_ids[] = { > - { .compatible = "hisilicon,hi3660-dpe", > + { .compatible = "hi

[PATCH 25/49] staging: hikey9xx/gpu: do some code cleanups

2020-08-19 Thread Mauro Carvalho Chehab
- Get rid of a global var meant to store one of its priv structs; - Change the name of the driver, in order to not be confused with the kirin6220; - Remove some unneeded ifdef; - use drm_of.h helper. Signed-off-by: Mauro Carvalho Chehab --- .../staging/hikey9xx/gpu/kirin9xx_drm_drv.c | 81