[Intel-gfx] [PATCH] drm/i915/wm: remove stale and unused ilk_wm_max_level() declaration

Jani Nikula jani.nikula at intel.com
Thu Apr 20 10:58:27 UTC 2023


On Wed, 19 Apr 2023, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:
> On Wed, Apr 19, 2023 at 02:54:49PM +0300, Jani Nikula wrote:
>> The declaration was removed earlier, but got accidentally resurrected in
>> i915xx_wm.[ch] refactoring. Remove harder.
>
> i9xx_wm

I was going to fix that while pushing, but got distracted and
forgot. *facepalm*.

>
>> 
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Thanks, pushed to din, warts and all.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/display/i9xx_wm.h | 1 -
>>  1 file changed, 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/i9xx_wm.h b/drivers/gpu/drm/i915/display/i9xx_wm.h
>> index a7875cbcd05a..b87ae369685a 100644
>> --- a/drivers/gpu/drm/i915/display/i9xx_wm.h
>> +++ b/drivers/gpu/drm/i915/display/i9xx_wm.h
>> @@ -12,7 +12,6 @@ struct drm_i915_private;
>>  struct intel_crtc_state;
>>  struct intel_plane_state;
>>  
>> -int ilk_wm_max_level(const struct drm_i915_private *i915);
>>  bool ilk_disable_lp_wm(struct drm_i915_private *i915);
>>  void ilk_wm_sanitize(struct drm_i915_private *i915);
>>  bool intel_set_memory_cxsr(struct drm_i915_private *i915, bool enable);
>> -- 
>> 2.39.2

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list