Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Jani Nikula <jani.nikula@intel.com>,
	dri-devel@lists.freedesktop.org,
	maarten.lankhorst@linux.intel.com,
	Maxime Ripard <mripard@kernel.org>,
	David Airlie <airlied@redhat.com>,
	simona.vetter@ffwll.ch
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v3 0/4] drm: replace drm_print.h includes from headers with a forward declaration
Date: Sun, 2 Nov 2025 12:44:34 +0100	[thread overview]
Message-ID: <9c67c29b-06e9-469b-9273-eaac368632d6@suse.de> (raw)
In-Reply-To: <18ad4c11261b85614f7e3a2aabe611f2ecbf16a5@intel.com>

Hi

Am 31.10.25 um 11:01 schrieb Jani Nikula:
> On Thu, 30 Oct 2025, Thomas Zimmermann <tzimmermann@suse.de> wrote:
>> Am 30.10.25 um 10:31 schrieb Jani Nikula:
>>> Considering that this touches a lot of drivers, albeit just the include
>>> lists and thus highly unlikely to cause functional changes or hard
>>> conflicts, can I go ahead and merge this to drm-misc-next?
>> Of course, go ahead.
> Done, thanks again!

Looks like fallout from this series:


   CC [M]  drivers/gpu/drm/rockchip/rockchip_drm_vop2.o
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'vop2_convert_format':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:215:17: error: 
implicit declaration of function 'DRM_ERROR'; did you mean 'SO_ERROR'? 
[-Wimplicit-function-declaration]
   215 |                 DRM_ERROR("unsupported format[%08x]\n", format);
       |                 ^~~~~~~~~
       |                 SO_ERROR
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'rockchip_vop2_mod_supported':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:395:33: error: 
implicit declaration of function 'drm_dbg_kms' 
[-Wimplicit-function-declaration]
   395 |                                 drm_dbg_kms(vop2->drm,
       |                                 ^~~~~~~~~~~
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'vop2_setup_scale':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:602:25: error: 
implicit declaration of function 'drm_dbg'; did you mean 'dev_dbg'? 
[-Wimplicit-function-declaration]
   602 |                         drm_dbg(vop2->drm, "%s dst_w[%d] should 
align as 2 pixel\n",
       |                         ^~~~~~~
       |                         dev_dbg
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'vop2_core_clks_prepare_enable':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:763:17: error: 
implicit declaration of function 'drm_err'; did you mean 'pr_err'? 
[-Wimplicit-function-declaration]
   763 |                 drm_err(vop2->drm, "failed to enable hclk - 
%d\n", ret);
       |                 ^~~~~~~
       |                 pr_err
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'vop2_crtc_atomic_disable':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:967:17: error: 
implicit declaration of function 'drm_info'; did you mean 'pr_info'? 
[-Wimplicit-function-declaration]
   967 |                 drm_info(vop2->drm, "wait for vp%d dsp_hold 
timeout\n", vp->id);
       |                 ^~~~~~~~
       |                 pr_info
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'vop2_crtc_atomic_enable':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1758:41: error: 
implicit declaration of function 'drm_warn'; did you mean 'dev_warn'? 
[-Wimplicit-function-declaration]
  1758 |  drm_warn(vop2->drm,
       |                                         ^~~~~~~~
       |                                         dev_warn
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 
'rk3576_vp_isr':
linux/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:2198:17: error: 
implicit declaration of function 'drm_err_ratelimited'; did you mean 
'pr_err_ratelimited'? [-Wimplicit-function-declaration]
  2198 |                 drm_err_ratelimited(vop2->drm, "POST_BUF_EMPTY 
irq err at vp%d\n", vp->id);
       |                 ^~~~~~~~~~~~~~~~~~~
       |                 pr_err_ratelimited


Best regards
Thomas

>
> BR,
> Jani.
>
>

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)



  reply	other threads:[~2025-11-02 11:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-29 10:39 [PATCH v3 0/4] drm: replace drm_print.h includes from headers with a forward declaration Jani Nikula
2025-10-29 10:39 ` [PATCH v3 1/4] drm: include drm_print.h where needed Jani Nikula
2025-10-29 10:39 ` [PATCH v3 2/4] drm/buddy: replace drm_print.h include with a forward declaration Jani Nikula
2025-10-29 10:39 ` [PATCH v3 3/4] drm/mm: " Jani Nikula
2025-10-29 10:39 ` [PATCH v3 4/4] drm/ttm: " Jani Nikula
2025-10-29 14:32 ` ✗ CI.checkpatch: warning for drm: replace drm_print.h includes from headers with a forward declaration (rev3) Patchwork
2025-10-29 14:33 ` ✓ CI.KUnit: success " Patchwork
2025-10-29 14:52 ` ✗ CI.checksparse: warning " Patchwork
2025-10-29 15:34 ` ✓ Xe.CI.BAT: success " Patchwork
     [not found] ` <41bb4163-8f5b-47c5-8121-7010147bc5e6@suse.de>
2025-10-30  9:31   ` [PATCH v3 0/4] drm: replace drm_print.h includes from headers with a forward declaration Jani Nikula
2025-10-30 11:17     ` Thomas Zimmermann
2025-10-31 10:01       ` Jani Nikula
2025-11-02 11:44         ` Thomas Zimmermann [this message]
2025-11-03  9:28           ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c67c29b-06e9-469b-9273-eaac368632d6@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona.vetter@ffwll.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox