Re: [PATCH 1/5] drm/i915/irq: use DISPLAY_VER instead of GRAPHICS_VER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 04 Jan 2024, Matt Roper <matthew.d.roper@xxxxxxxxx> wrote:
> On Thu, Jan 04, 2024 at 07:43:46PM +0200, Jani Nikula wrote:
>> Display code should not care about graphics version.
>> 
>> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
>
> For the series:
>
> Reviewed-by: Matt Roper <matthew.d.roper@xxxxxxxxx>

Thanks, pushed to drm-intel-next, with the tabs in commit message for
2/5 fixed.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/display/intel_display_irq.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_display_irq.c b/drivers/gpu/drm/i915/display/intel_display_irq.c
>> index 6964f4b95865..99843883cef7 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display_irq.c
>> +++ b/drivers/gpu/drm/i915/display/intel_display_irq.c
>> @@ -1587,7 +1587,7 @@ void ilk_de_irq_postinstall(struct drm_i915_private *i915)
>>  	struct intel_uncore *uncore = &i915->uncore;
>>  	u32 display_mask, extra_mask;
>>  
>> -	if (GRAPHICS_VER(i915) >= 7) {
>> +	if (DISPLAY_VER(i915) >= 7) {
>>  		display_mask = (DE_MASTER_IRQ_CONTROL | DE_GSE_IVB |
>>  				DE_PCH_EVENT_IVB | DE_AUX_CHANNEL_A_IVB);
>>  		extra_mask = (DE_PIPEC_VBLANK_IVB | DE_PIPEB_VBLANK_IVB |
>> -- 
>> 2.39.2
>> 

-- 
Jani Nikula, Intel



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux