[Intel-gfx] [PATCH 0/4] Prep series - CDCLK code churn

2022-10-21 Thread Anusha Srivatsa
No functional changes. The series is more of a prep series
for the mid_cdclk_config series:
https://patchwork.freedesktop.org/series/109694/

Main change:
 - Change usage of "crawler" and "squasher". Use crawling and
squashing instead.
 - Handle both squash and crawl similar in terms of checking
if the platform supports them or not. With the changes introduced,
both are a display feature flag.
 - Move code from bxt_set_cdclk() to make it more modularized
and easy to read and understand.

v2: Change function names to align with rest of the driver.
No major changes.

Cc: Balasubramani Vivekanandan 
Cc: Ville Syrjälä 

Anusha Srivatsa (4):
  drm/i915/display: Change terminology for cdclk actions
  drm/i915/display: Introduce HAS_CDCLK_SQUASH macro
  drm/i915/display: Move chunks of code out of bxt_set_cdclk()
  drm/i915/display: Move squash_ctl register programming to its own
function

 drivers/gpu/drm/i915/display/intel_cdclk.c | 80 --
 drivers/gpu/drm/i915/i915_drv.h|  1 +
 drivers/gpu/drm/i915/i915_pci.c|  1 +
 drivers/gpu/drm/i915/intel_device_info.h   |  1 +
 4 files changed, 48 insertions(+), 35 deletions(-)

-- 
2.25.1



Re: [Intel-gfx] [PATCH 0/4] Prep series - CDCLK code churn

2022-10-21 Thread Jani Nikula
On Fri, 21 Oct 2022, Balasubramani Vivekanandan 
 wrote:
> On 20.10.2022 17:20, Anusha Srivatsa wrote:
>> No functional changes. The series is more of a prep series
>> for the mid_cdclk_config series:
>> https://patchwork.freedesktop.org/series/109694/
>> 
>> Main change:
>>  - Change usage of "crawler" and "squasher". Use crawling and
>> squashing instead.
>>  - Handle bot hsquash and cralw similar in terms of checking
> Please check the typos here

This is a cover letter. It's not merged anywhere. It's not necessary to
point out typos here.

BR,
Jani.

>
> Regards,
> Bala
>
>> if the platform supports them or not. With the changes introduced,
>> both are a display feature flag.
>>  - Move code from bxt_set_cdclk() to make it more modularized
>> and easy to read and understand.
>> 
>> Cc: Balasubramani Vivekanandan 
>> Cc: Ville Syrjälä 
>> 
>> Anusha Srivatsa (4):
>>   drm/i915/display: Change terminology for cdclk actions
>>   drm/i915/display: Introduce HAS_CDCLK_SQUASH macro
>>   drm/i915/display: Move chunks of code out of bxt_set_cdclk()
>>   drm/i915/display: Move squash_ctl register programming to its own
>> function
>> 
>>  drivers/gpu/drm/i915/display/intel_cdclk.c | 80 --
>>  drivers/gpu/drm/i915/i915_drv.h|  1 +
>>  drivers/gpu/drm/i915/i915_pci.c|  1 +
>>  drivers/gpu/drm/i915/intel_device_info.h   |  1 +
>>  4 files changed, 48 insertions(+), 35 deletions(-)
>> 
>> -- 
>> 2.25.1
>> 

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [Intel-gfx] [PATCH 0/4] Prep series - CDCLK code churn

2022-10-21 Thread Balasubramani Vivekanandan
On 20.10.2022 17:20, Anusha Srivatsa wrote:
> No functional changes. The series is more of a prep series
> for the mid_cdclk_config series:
> https://patchwork.freedesktop.org/series/109694/
> 
> Main change:
>  - Change usage of "crawler" and "squasher". Use crawling and
> squashing instead.
>  - Handle bot hsquash and cralw similar in terms of checking
Please check the typos here

Regards,
Bala

> if the platform supports them or not. With the changes introduced,
> both are a display feature flag.
>  - Move code from bxt_set_cdclk() to make it more modularized
> and easy to read and understand.
> 
> Cc: Balasubramani Vivekanandan 
> Cc: Ville Syrjälä 
> 
> Anusha Srivatsa (4):
>   drm/i915/display: Change terminology for cdclk actions
>   drm/i915/display: Introduce HAS_CDCLK_SQUASH macro
>   drm/i915/display: Move chunks of code out of bxt_set_cdclk()
>   drm/i915/display: Move squash_ctl register programming to its own
> function
> 
>  drivers/gpu/drm/i915/display/intel_cdclk.c | 80 --
>  drivers/gpu/drm/i915/i915_drv.h|  1 +
>  drivers/gpu/drm/i915/i915_pci.c|  1 +
>  drivers/gpu/drm/i915/intel_device_info.h   |  1 +
>  4 files changed, 48 insertions(+), 35 deletions(-)
> 
> -- 
> 2.25.1
> 


[Intel-gfx] [PATCH 0/4] Prep series - CDCLK code churn

2022-10-20 Thread Anusha Srivatsa
No functional changes. The series is more of a prep series
for the mid_cdclk_config series:
https://patchwork.freedesktop.org/series/109694/

Main change:
 - Change usage of "crawler" and "squasher". Use crawling and
squashing instead.
 - Handle bot hsquash and cralw similar in terms of checking
if the platform supports them or not. With the changes introduced,
both are a display feature flag.
 - Move code from bxt_set_cdclk() to make it more modularized
and easy to read and understand.

Cc: Balasubramani Vivekanandan 
Cc: Ville Syrjälä 

Anusha Srivatsa (4):
  drm/i915/display: Change terminology for cdclk actions
  drm/i915/display: Introduce HAS_CDCLK_SQUASH macro
  drm/i915/display: Move chunks of code out of bxt_set_cdclk()
  drm/i915/display: Move squash_ctl register programming to its own
function

 drivers/gpu/drm/i915/display/intel_cdclk.c | 80 --
 drivers/gpu/drm/i915/i915_drv.h|  1 +
 drivers/gpu/drm/i915/i915_pci.c|  1 +
 drivers/gpu/drm/i915/intel_device_info.h   |  1 +
 4 files changed, 48 insertions(+), 35 deletions(-)

-- 
2.25.1