[PATCH] drm/i915: remove unused DISPLAY_PLANE_FLIP_PENDING() macro
Jani Nikula
jani.nikula at intel.com
Thu Jun 26 08:55:30 UTC 2025
On Wed, 25 Jun 2025, Rodrigo Vivi <rodrigo.vivi at intel.com> wrote:
> On Wed, Jun 25, 2025 at 04:21:40PM +0300, Jani Nikula wrote:
>> DISPLAY_PLANE_FLIP_PENDING() has been unused since commit fd3a40242e87
>> ("drm/i915: Rip out legacy page_flip completion/irq handling"). Remove.
>>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Thanks, pushed to din, exceptionally without CI results because this is
certain not to cause regressions, and the build bot responded with
success.
BR,
Jani.
>
>> ---
>> drivers/gpu/drm/i915/i915_reg.h | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
>> index 04fb40867cc0..8d56b3c45451 100644
>> --- a/drivers/gpu/drm/i915/i915_reg.h
>> +++ b/drivers/gpu/drm/i915/i915_reg.h
>> @@ -385,7 +385,6 @@
>> #define VLV_PCBR _MMIO(VLV_DISPLAY_BASE + 0x2120)
>> #define VLV_PCBR_ADDR_SHIFT 12
>>
>> -#define DISPLAY_PLANE_FLIP_PENDING(plane) (1 << (11 - (plane))) /* A and B only */
>> #define EIR _MMIO(0x20b0)
>> #define EMR _MMIO(0x20b4)
>> #define ESR _MMIO(0x20b8)
>> --
>> 2.39.5
>>
--
Jani Nikula, Intel
More information about the Intel-gfx
mailing list