[Intel-gfx] linux-next: Tree for May 16 (drm/i915/gt/intel_gt_sysfs_pm.c)

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue May 17 07:35:31 UTC 2022


Hi,

On 16/05/2022 22:22, Randy Dunlap wrote:
> 
> 
> On 5/16/22 03:57, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20220513:
>>
> 
> on i386:
> 
>    CC      drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c: In function ‘act_freq_mhz_show’:
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:276:20: error: implicit declaration of function ‘sysfs_gt_attribute_r_max_func’ [-Werror=implicit-function-declaration]
>    u32 actual_freq = sysfs_gt_attribute_r_max_func(dev, attr,
>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c: In function ‘boost_freq_mhz_store’:
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:327:9: error: implicit declaration of function ‘sysfs_gt_attribute_w_func’ [-Werror=implicit-function-declaration]
>    return sysfs_gt_attribute_w_func(dev, attr,
>           ^~~~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c: In function ‘min_freq_mhz_show’:
> ../drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:416:17: error: implicit declaration of function ‘sysfs_gt_attribute_r_min_func’ [-Werror=implicit-function-declaration]
>    u32 min_freq = sysfs_gt_attribute_r_min_func(dev, attr,
>                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> 
> 
> Full randconfig file is attached.

There is a fix for this in 09708b6d82ef ("drm/i915/gt: Fix build error 
without CONFIG_PM") queued up, waiting for the next pull request, which 
the plan was to send out next week or so. Is that okay?

Regards,

Tvrtko


More information about the Intel-gfx mailing list