Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-08-02 Thread kernel test robot
Hi Sui, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.11-rc1 next-20240802] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to us

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-30 Thread Markus Elfring
>> … >>> +++ b/drivers/gpu/drm/loongson/loongson_drv.h >>> @@ -0,0 +1,108 @@ >> … >>> +#ifndef __LOONGSON_DRV_H__ >>> +#define __LOONGSON_DRV_H__ >> … >> >> I suggest to omit leading underscores from such identifiers. … > I suggest add this rules to the checkpatch.pl script, … I hope that you woul

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-30 Thread Sui Jingfeng
Hi, On 2024/7/29 14:40, Markus Elfring wrote: … +++ b/drivers/gpu/drm/loongson/loongson_drv.h @@ -0,0 +1,108 @@ … +#ifndef __LOONGSON_DRV_H__ +#define __LOONGSON_DRV_H__ … I suggest to omit leading underscores from such identifiers. https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-30 Thread Sui Jingfeng
Hi, On 2024/7/29 15:37, Markus Elfring wrote: … +++ b/drivers/gpu/drm/loongson/loongson_drv.c @@ -0,0 +1,298 @@ … +static int loongson_drm_driver_probe(struct platform_device *pdev) +{ … + dev_info(&pdev->dev, "probed\n"); … +} … Do you find such information really relevant? T

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-29 Thread Markus Elfring
… > +++ b/drivers/gpu/drm/loongson/loongson_drv.c > @@ -0,0 +1,298 @@ … > +static int loongson_drm_driver_probe(struct platform_device *pdev) > +{ … > + dev_info(&pdev->dev, "probed\n"); … > +} … Do you find such information really relevant? Regards, Markus

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-28 Thread Markus Elfring
… > +++ b/drivers/gpu/drm/loongson/loongson_drv.h > @@ -0,0 +1,108 @@ … > +#ifndef __LOONGSON_DRV_H__ > +#define __LOONGSON_DRV_H__ … I suggest to omit leading underscores from such identifiers. https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

Re: [PATCH v5 1/2] drm/loongson: Introduce component framework support

2024-07-28 Thread Markus Elfring
… > +++ b/drivers/gpu/drm/loongson/loongson_drv.c > @@ -0,0 +1,298 @@ … > +static int loongson_drm_freeze(struct drm_device *ddev) > +{ … > + /* unpin all of buffers in the VRAM */ > + mutex_lock(&ldrm->gem.mutex); … > + mutex_unlock(&ldrm->gem.mutex); > + > + lsdc_bo_evict_vram(dde