All of lore.kernel.org
 help / color / mirror / Atom feed
* i915 build error on drm-misc-next
@ 2024-02-23 15:50 Jeffrey Hugo
  2024-02-23 17:00 ` Rodrigo Vivi
  0 siblings, 1 reply; 5+ messages in thread
From: Jeffrey Hugo @ 2024-02-23 15:50 UTC (permalink / raw)
  To: Jani Nikula, rodrigo.vivi, joonas.lahtinen, Tvrtko Ursulin
  Cc: intel-gfx, intel-xe, open list:DRM PANEL DRIVERS

With the x86_64_defconfig I see the following when building drm-misc-next:

   CC      drivers/gpu/drm/i915/display/intel_crt.o
   CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
   CC      drivers/gpu/drm/i915/display/intel_ddi.o
   CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
   CC      drivers/gpu/drm/i915/display/intel_display_device.o
   CC      drivers/gpu/drm/i915/display/intel_display_trace.o
   CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
   CC      drivers/gpu/drm/i915/display/intel_dp.o
   CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
   CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
   CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
   CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
   CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
   CC      drivers/gpu/drm/i915/display/intel_dsi.o
   CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
   CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
   CC      drivers/gpu/drm/i915/display/intel_dvo.o
   CC      drivers/gpu/drm/i915/display/intel_gmbus.o
   CC      drivers/gpu/drm/i915/display/intel_hdmi.o
   CC      drivers/gpu/drm/i915/display/intel_lspcon.o
   CC      drivers/gpu/drm/i915/display/intel_lvds.o
   CC      drivers/gpu/drm/i915/display/intel_panel.o
   CC      drivers/gpu/drm/i915/display/intel_pps.o
drivers/gpu/drm/i915/display/intel_dp.c: In function 
‘intel_write_dp_vsc_sdp’:
drivers/gpu/drm/i915/display/intel_dp.c:4232:15: error: implicit 
declaration of function ‘intel_dp_vsc_sdp_pack’; did you mean 
‘drm_dp_vsc_sdp_pack’? [-Werror=implicit-function-declaration]
  4232 |         len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
       |               ^~~~~~~~~~~~~~~~~~~~~
       |               drm_dp_vsc_sdp_pack

Is this a known issue?

-Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 build error on drm-misc-next
  2024-02-23 15:50 i915 build error on drm-misc-next Jeffrey Hugo
@ 2024-02-23 17:00 ` Rodrigo Vivi
  2024-02-23 17:47   ` Abhinav Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Vivi @ 2024-02-23 17:00 UTC (permalink / raw)
  To: Jeffrey Hugo, Jouni Högander, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann
  Cc: Jani Nikula, joonas.lahtinen, Tvrtko Ursulin, intel-gfx, intel-xe,
	open list:DRM PANEL DRIVERS

On Fri, Feb 23, 2024 at 08:50:06AM -0700, Jeffrey Hugo wrote:
> With the x86_64_defconfig I see the following when building drm-misc-next:
> 
>   CC      drivers/gpu/drm/i915/display/intel_crt.o
>   CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
>   CC      drivers/gpu/drm/i915/display/intel_ddi.o
>   CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
>   CC      drivers/gpu/drm/i915/display/intel_display_device.o
>   CC      drivers/gpu/drm/i915/display/intel_display_trace.o
>   CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
>   CC      drivers/gpu/drm/i915/display/intel_dp.o
>   CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
>   CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
>   CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
>   CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
>   CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
>   CC      drivers/gpu/drm/i915/display/intel_dsi.o
>   CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
>   CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
>   CC      drivers/gpu/drm/i915/display/intel_dvo.o
>   CC      drivers/gpu/drm/i915/display/intel_gmbus.o
>   CC      drivers/gpu/drm/i915/display/intel_hdmi.o
>   CC      drivers/gpu/drm/i915/display/intel_lspcon.o
>   CC      drivers/gpu/drm/i915/display/intel_lvds.o
>   CC      drivers/gpu/drm/i915/display/intel_panel.o
>   CC      drivers/gpu/drm/i915/display/intel_pps.o
> drivers/gpu/drm/i915/display/intel_dp.c: In function
> ‘intel_write_dp_vsc_sdp’:
> drivers/gpu/drm/i915/display/intel_dp.c:4232:15: error: implicit declaration
> of function ‘intel_dp_vsc_sdp_pack’; did you mean ‘drm_dp_vsc_sdp_pack’?
> [-Werror=implicit-function-declaration]
>  4232 |         len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
>       |               ^~~~~~~~~~~~~~~~~~~~~
>       |               drm_dp_vsc_sdp_pack
> 
> Is this a known issue?

o.O - what a mistery!

it looks that drm-misc-next has only part of the patch:
31a5b6ed88c7 ("drm/i915/display: Unify VSC SPD preparation")

without the patch itself...

I couldn't even trace back to understand how the declaration is
gone from the drm-misc-next...

> 
> -Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 build error on drm-misc-next
  2024-02-23 17:00 ` Rodrigo Vivi
@ 2024-02-23 17:47   ` Abhinav Kumar
  2024-02-23 19:35     ` Rodrigo Vivi
  0 siblings, 1 reply; 5+ messages in thread
From: Abhinav Kumar @ 2024-02-23 17:47 UTC (permalink / raw)
  To: Rodrigo Vivi, Jeffrey Hugo, Jouni Högander,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann
  Cc: Jani Nikula, joonas.lahtinen, Tvrtko Ursulin, intel-gfx, intel-xe,
	open list:DRM PANEL DRIVERS, Dmitry Baryshkov

CC Dmitry

Hi Rodrigo

On 2/23/2024 9:00 AM, Rodrigo Vivi wrote:
> On Fri, Feb 23, 2024 at 08:50:06AM -0700, Jeffrey Hugo wrote:
>> With the x86_64_defconfig I see the following when building drm-misc-next:
>>
>>    CC      drivers/gpu/drm/i915/display/intel_crt.o
>>    CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
>>    CC      drivers/gpu/drm/i915/display/intel_ddi.o
>>    CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
>>    CC      drivers/gpu/drm/i915/display/intel_display_device.o
>>    CC      drivers/gpu/drm/i915/display/intel_display_trace.o
>>    CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
>>    CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
>>    CC      drivers/gpu/drm/i915/display/intel_dsi.o
>>    CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
>>    CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
>>    CC      drivers/gpu/drm/i915/display/intel_dvo.o
>>    CC      drivers/gpu/drm/i915/display/intel_gmbus.o
>>    CC      drivers/gpu/drm/i915/display/intel_hdmi.o
>>    CC      drivers/gpu/drm/i915/display/intel_lspcon.o
>>    CC      drivers/gpu/drm/i915/display/intel_lvds.o
>>    CC      drivers/gpu/drm/i915/display/intel_panel.o
>>    CC      drivers/gpu/drm/i915/display/intel_pps.o
>> drivers/gpu/drm/i915/display/intel_dp.c: In function
>> ‘intel_write_dp_vsc_sdp’:
>> drivers/gpu/drm/i915/display/intel_dp.c:4232:15: error: implicit declaration
>> of function ‘intel_dp_vsc_sdp_pack’; did you mean ‘drm_dp_vsc_sdp_pack’?
>> [-Werror=implicit-function-declaration]
>>   4232 |         len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
>>        |               ^~~~~~~~~~~~~~~~~~~~~
>>        |               drm_dp_vsc_sdp_pack
>>
>> Is this a known issue?
> 
> o.O - what a mistery!
> 
> it looks that drm-misc-next has only part of the patch:
> 31a5b6ed88c7 ("drm/i915/display: Unify VSC SPD preparation")
> 
> without the patch itself...
> 
> I couldn't even trace back to understand how the declaration is
> gone from the drm-misc-next...
> 

Looks like the issue here is that the below patch which landed in 
drm-misc-next

https://patchwork.freedesktop.org/patch/579128/?series=130145&rev=1

was based on top of drm-tip because the intel CI runs on drm-tip and not 
drm-misc-next.

But, https://patchwork.freedesktop.org/patch/572622/ is not present in 
drm-misc-next.

Hence this broke the compilation.

How would you prefer to fix this? We revert 
https://patchwork.freedesktop.org/series/130145/ from drm-misc and land 
it through i915 tree and can you provide us a tag from the i915 tree to 
rebase our msm-next tree on?

>>
>> -Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 build error on drm-misc-next
  2024-02-23 17:47   ` Abhinav Kumar
@ 2024-02-23 19:35     ` Rodrigo Vivi
  2024-02-23 20:18       ` Abhinav Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Vivi @ 2024-02-23 19:35 UTC (permalink / raw)
  To: Abhinav Kumar, Dave Airlie, Daniel Vetter
  Cc: Jeffrey Hugo, Jouni Högander, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Jani Nikula, joonas.lahtinen,
	Tvrtko Ursulin, intel-gfx, intel-xe, open list:DRM PANEL DRIVERS,
	Dmitry Baryshkov

On Fri, Feb 23, 2024 at 09:47:11AM -0800, Abhinav Kumar wrote:
> CC Dmitry
> 
> Hi Rodrigo
> 
> On 2/23/2024 9:00 AM, Rodrigo Vivi wrote:
> > On Fri, Feb 23, 2024 at 08:50:06AM -0700, Jeffrey Hugo wrote:
> > > With the x86_64_defconfig I see the following when building drm-misc-next:
> > > 
> > >    CC      drivers/gpu/drm/i915/display/intel_crt.o
> > >    CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
> > >    CC      drivers/gpu/drm/i915/display/intel_ddi.o
> > >    CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
> > >    CC      drivers/gpu/drm/i915/display/intel_display_device.o
> > >    CC      drivers/gpu/drm/i915/display/intel_display_trace.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dsi.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
> > >    CC      drivers/gpu/drm/i915/display/intel_dvo.o
> > >    CC      drivers/gpu/drm/i915/display/intel_gmbus.o
> > >    CC      drivers/gpu/drm/i915/display/intel_hdmi.o
> > >    CC      drivers/gpu/drm/i915/display/intel_lspcon.o
> > >    CC      drivers/gpu/drm/i915/display/intel_lvds.o
> > >    CC      drivers/gpu/drm/i915/display/intel_panel.o
> > >    CC      drivers/gpu/drm/i915/display/intel_pps.o
> > > drivers/gpu/drm/i915/display/intel_dp.c: In function
> > > ‘intel_write_dp_vsc_sdp’:
> > > drivers/gpu/drm/i915/display/intel_dp.c:4232:15: error: implicit declaration
> > > of function ‘intel_dp_vsc_sdp_pack’; did you mean ‘drm_dp_vsc_sdp_pack’?
> > > [-Werror=implicit-function-declaration]
> > >   4232 |         len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
> > >        |               ^~~~~~~~~~~~~~~~~~~~~
> > >        |               drm_dp_vsc_sdp_pack
> > > 
> > > Is this a known issue?
> > 
> > o.O - what a mistery!
> > 
> > it looks that drm-misc-next has only part of the patch:
> > 31a5b6ed88c7 ("drm/i915/display: Unify VSC SPD preparation")
> > 
> > without the patch itself...
> > 
> > I couldn't even trace back to understand how the declaration is
> > gone from the drm-misc-next...
> > 
> 
> Looks like the issue here is that the below patch which landed in
> drm-misc-next
> 
> https://patchwork.freedesktop.org/patch/579128/?series=130145&rev=1
> 
> was based on top of drm-tip because the intel CI runs on drm-tip and not
> drm-misc-next.
> 
> But, https://patchwork.freedesktop.org/patch/572622/ is not present in
> drm-misc-next.
> 
> Hence this broke the compilation.
> 
> How would you prefer to fix this? We revert
> https://patchwork.freedesktop.org/series/130145/ from drm-misc and land it
> through i915 tree and can you provide us a tag from the i915 tree to rebase
> our msm-next tree on?

The revert from drm-misc is a possibility, then you squash
https://lore.kernel.org/all/20240223191548.392185-1-rodrigo.vivi@intel.com/
in and merge it again.

or if drm-misc and drm maintainers are okay we can simply add
https://lore.kernel.org/all/20240223191548.392185-1-rodrigo.vivi@intel.com/
on top of drm-misc-next

and on any conflict later the resolution is simply deleting this line
anyway.

> 
> > > 
> > > -Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i915 build error on drm-misc-next
  2024-02-23 19:35     ` Rodrigo Vivi
@ 2024-02-23 20:18       ` Abhinav Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Abhinav Kumar @ 2024-02-23 20:18 UTC (permalink / raw)
  To: Rodrigo Vivi, Dave Airlie, Daniel Vetter
  Cc: Jeffrey Hugo, Jouni Högander, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Jani Nikula, joonas.lahtinen,
	Tvrtko Ursulin, intel-gfx, intel-xe, open list:DRM PANEL DRIVERS,
	Dmitry Baryshkov



On 2/23/2024 11:35 AM, Rodrigo Vivi wrote:
> On Fri, Feb 23, 2024 at 09:47:11AM -0800, Abhinav Kumar wrote:
>> CC Dmitry
>>
>> Hi Rodrigo
>>
>> On 2/23/2024 9:00 AM, Rodrigo Vivi wrote:
>>> On Fri, Feb 23, 2024 at 08:50:06AM -0700, Jeffrey Hugo wrote:
>>>> With the x86_64_defconfig I see the following when building drm-misc-next:
>>>>
>>>>     CC      drivers/gpu/drm/i915/display/intel_crt.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_cx0_phy.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_ddi.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_ddi_buf_trans.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_display_device.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_display_trace.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dkl_phy.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp_aux.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp_hdcp.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dsi.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_dvo.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_gmbus.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_hdmi.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_lspcon.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_lvds.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_panel.o
>>>>     CC      drivers/gpu/drm/i915/display/intel_pps.o
>>>> drivers/gpu/drm/i915/display/intel_dp.c: In function
>>>> ‘intel_write_dp_vsc_sdp’:
>>>> drivers/gpu/drm/i915/display/intel_dp.c:4232:15: error: implicit declaration
>>>> of function ‘intel_dp_vsc_sdp_pack’; did you mean ‘drm_dp_vsc_sdp_pack’?
>>>> [-Werror=implicit-function-declaration]
>>>>    4232 |         len = intel_dp_vsc_sdp_pack(vsc, &sdp, sizeof(sdp));
>>>>         |               ^~~~~~~~~~~~~~~~~~~~~
>>>>         |               drm_dp_vsc_sdp_pack
>>>>
>>>> Is this a known issue?
>>>
>>> o.O - what a mistery!
>>>
>>> it looks that drm-misc-next has only part of the patch:
>>> 31a5b6ed88c7 ("drm/i915/display: Unify VSC SPD preparation")
>>>
>>> without the patch itself...
>>>
>>> I couldn't even trace back to understand how the declaration is
>>> gone from the drm-misc-next...
>>>
>>
>> Looks like the issue here is that the below patch which landed in
>> drm-misc-next
>>
>> https://patchwork.freedesktop.org/patch/579128/?series=130145&rev=1
>>
>> was based on top of drm-tip because the intel CI runs on drm-tip and not
>> drm-misc-next.
>>
>> But, https://patchwork.freedesktop.org/patch/572622/ is not present in
>> drm-misc-next.
>>
>> Hence this broke the compilation.
>>
>> How would you prefer to fix this? We revert
>> https://patchwork.freedesktop.org/series/130145/ from drm-misc and land it
>> through i915 tree and can you provide us a tag from the i915 tree to rebase
>> our msm-next tree on?
> 
> The revert from drm-misc is a possibility, then you squash
> https://lore.kernel.org/all/20240223191548.392185-1-rodrigo.vivi@intel.com/
> in and merge it again.
> 
> or if drm-misc and drm maintainers are okay we can simply add
> https://lore.kernel.org/all/20240223191548.392185-1-rodrigo.vivi@intel.com/
> on top of drm-misc-next
> 

I am totally fine with this second option. Have given my R-b.


> and on any conflict later the resolution is simply deleting this line
> anyway.
> 
>>
>>>>
>>>> -Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-26 13:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 15:50 i915 build error on drm-misc-next Jeffrey Hugo
2024-02-23 17:00 ` Rodrigo Vivi
2024-02-23 17:47   ` Abhinav Kumar
2024-02-23 19:35     ` Rodrigo Vivi
2024-02-23 20:18       ` Abhinav Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.