Re: [RESEND PATCH] drm/i915:Remove unused parameter in marco

2024-10-02 Thread Jani Nikula
On Wed, 25 Sep 2024, He Lugang wrote: > The parameter dev_priv is actually not used in macro PORT_ALPM_CTL > and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. > > Reviewed-by: Jani Nikula > Signed-off-by: He Lugang > --- > drivers/gpu/drm/i915/display/intel_alpm.c | 4 ++-- > driver

[RESEND PATCH] drm/i915:Remove unused parameter in marco

2024-09-24 Thread He Lugang
The parameter dev_priv is actually not used in macro PORT_ALPM_CTL and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. Reviewed-by: Jani Nikula Signed-off-by: He Lugang --- drivers/gpu/drm/i915/display/intel_alpm.c | 4 ++-- drivers/gpu/drm/i915/display/intel_psr.c | 2 +- driver

Re: [PATCH] drm/i915:Remove unused parameter in marco.

2024-09-05 Thread HeLuang
在 2024/9/6 01:08, Jani Nikula 写道: On Thu, 05 Sep 2024, Rodrigo Vivi wrote: On Sat, Aug 31, 2024 at 09:51:14PM +0800, He Lugang wrote: The parameter dev_priv is actually not used in macro PORT_ALPM_CTL and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. It is magically used on our ba

Re: [PATCH] drm/i915:Remove unused parameter in marco.

2024-09-05 Thread Jani Nikula
On Thu, 05 Sep 2024, Rodrigo Vivi wrote: > On Sat, Aug 31, 2024 at 09:51:14PM +0800, He Lugang wrote: >> The parameter dev_priv is actually not used in macro PORT_ALPM_CTL >> and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. > > It is magically used on our back... hence the build failures

Re: [PATCH] drm/i915:Remove unused parameter in marco.

2024-09-05 Thread Rodrigo Vivi
On Sat, Aug 31, 2024 at 09:51:14PM +0800, He Lugang wrote: > The parameter dev_priv is actually not used in macro PORT_ALPM_CTL > and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. It is magically used on our back... hence the build failures that CI got. Jani is doing a great clean-up work

[PATCH] drm/i915:Remove unused parameter in marco.

2024-08-31 Thread He Lugang
The parameter dev_priv is actually not used in macro PORT_ALPM_CTL and PORT_ALPM_LFPS_CTL,so remove it to simplify the code. Signed-off-by: He Lugang --- drivers/gpu/drm/i915/display/intel_alpm.c | 4 ++-- drivers/gpu/drm/i915/display/intel_psr.c | 2 +- drivers/gpu/drm/i915/display/int