Re: [Intel-gfx] linux-next: build warnings after merge of the drm-misc tree

2022-06-11 Thread Doug Anderson
Hi,

On Sat, Jun 11, 2022 at 1:21 AM Stephen Rothwell  wrote:
>
> Hi all,
>
> After merging the drm-misc tree, today's linux-next build (htmldocs)
> produced these warnings:
>
> Documentation/gpu/drm-kms-helpers:241: 
> include/drm/display/drm_dp_helper.h:377: WARNING: Unexpected indentation.
> Documentation/gpu/drm-kms-helpers:241: 
> include/drm/display/drm_dp_helper.h:378: WARNING: Block quote ends without a 
> blank line; unexpected unindent.
>
> Introduced by commit
>
>   69ef4a192bba ("drm: Document the power requirements for DP AUX transfers")

Thanks for the report. Fixed by:

https://lore.kernel.org/r/20220611095445.1.I534072d346b1ebbf0db565b714de9b65cbb24651@changeid

I'll plan to land it as soon as I see a Reviewed-by.

-Doug


Re: [Intel-gfx] linux-next: build warnings after merge of the drm-misc tree

2022-04-12 Thread Stephen Rothwell
Hi all,

On Wed, 6 Apr 2022 15:44:31 +1000 Stephen Rothwell  
wrote:
>
> After merging the drm-misc tree, today's linux-next build (KCONFIG_NAME)
 
htmldocs

> produced these warnings:
> 
> drivers/gpu/drm/drm_edid.c:1589: warning: Function parameter or member 
> '_edid' not described in 'drm_edid_header_is_valid'
> drivers/gpu/drm/drm_edid.c:1589: warning: Excess function parameter 
> 'raw_edid' description in 'drm_edid_header_is_valid'
> drivers/gpu/drm/drm_edid.c:1737: warning: Function parameter or member 
> '_block' not described in 'drm_edid_block_valid'
> drivers/gpu/drm/drm_edid.c:1737: warning: Excess function parameter 
> 'raw_edid' description in 'drm_edid_block_valid'
> 
> Introduced by commits
> 
>   6d987ddd6843 ("drm/edid: make drm_edid_header_is_valid() accept void 
> pointer")
>   1f221284ab63 ("drm/edid: split drm_edid_block_valid() to check and act 
> parts")

These warnings are now produced by the drm tree.

-- 
Cheers,
Stephen Rothwell


pgpovCE5kKsHD.pgp
Description: OpenPGP digital signature


Re: [Intel-gfx] linux-next: build warnings after merge of the drm-misc tree

2022-04-05 Thread Stephen Rothwell
Hi all,

On Wed, 6 Apr 2022 15:44:31 +1000 Stephen Rothwell  
wrote:
>
> After merging the drm-misc tree, today's linux-next build (KCONFIG_NAME)

This was an "htmldocs" build.

-- 
Cheers,
Stephen Rothwell


pgp21BZgJxF3c.pgp
Description: OpenPGP digital signature


Re: [Intel-gfx] linux-next: build warnings after merge of the drm-misc tree

2021-01-15 Thread Nirmoy

Hi Stephen,

On 1/15/21 2:23 AM, Stephen Rothwell wrote:

Hi all,

After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_display.c: In function 
'amdgpu_display_user_framebuffer_create':
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:929:24: warning: unused variable 
'adev' [-Wunused-variable]
   929 |  struct amdgpu_device *adev = drm_to_adev(dev);
   |^~~~

Introduced by commit

   8f66090b7bb7 ("drm/amdgpu: Remove references to struct drm_device.pdev")



I just sent a patch for this.




drivers/gpu/drm/amd/amdgpu/amdgpu_device.c: In function 
'amdgpu_device_resize_fb_bar':
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1109:6: warning: unused variable 
'space_needed' [-Wunused-variable]
  1109 |  u64 space_needed = roundup_pow_of_two(adev->gmc.real_vram_size);
   |  ^~~~

Introduced by commit

   453f617a30aa ("drm/amdgpu: Resize BAR0 to the maximum available size, even if it 
doesn't cover VRAM")



We have a fix already merged in drm-misc-next for this.


Thanks,

Nirmoy




___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] linux-next: build warnings after merge of the drm-misc tree

2015-08-14 Thread Thierry Reding
On Fri, Aug 14, 2015 at 03:35:32PM +1000, Stephen Rothwell wrote:
 Hi all,
 
 After merging the drm-misc tree, today's linux-next build (arm
 multi_v7_defconfig) produced these warnings:
 
 drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: initialization from 
 incompatible pointer type
   .get_vblank_counter = drm_vblank_count,
   ^
 drivers/gpu/drm/exynos/exynos_drm_drv.c:290:2: warning: (near initialization 
 for 'exynos_drm_driver.get_vblank_counter')
 drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: initialization from 
 incompatible pointer type
   .get_vblank_counter = drm_vblank_count,
   ^
 drivers/gpu/drm/rcar-du/rcar_du_drv.c:262:2: warning: (near initialization 
 for 'rcar_du_driver.get_vblank_counter')
 drivers/gpu/drm/msm/msm_drv.c:981:2: warning: initialization from 
 incompatible pointer type
   .get_vblank_counter = drm_vblank_count,
   ^
 drivers/gpu/drm/msm/msm_drv.c:981:2: warning: (near initialization for 
 'msm_driver.get_vblank_counter')
 
 Introduced by commit
 
   b90180b057f7 (drm/irq: More pipe/crtc consistency cleanups)

Yes, that patch turned out to be incomplete. Daniel suggested to remove
it from drm-misc for now and I'll address this fully in a larger patch
for 4.4.

Thierry


signature.asc
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx