drm/amd/display: Remove vupdate_int_entry definition
authorjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:55:26 +0000 (03:55 +0000)
committerjsg <jsg@openbsd.org>
Mon, 11 Apr 2022 03:55:26 +0000 (03:55 +0000)
From Maira Canal
bd443887ed2adbc7d89b12b6b2980024da1f8d31 in linux 5.15.y/5.15.33
3679b8518cd213c25d555553ef212e233faf698c in mainline linux

sys/dev/pci/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c

index ed54e1c..a728087 100644 (file)
@@ -266,14 +266,6 @@ static const struct irq_source_info_funcs vline0_irq_info_funcs = {
                .funcs = &pflip_irq_info_funcs\
        }
 
-#define vupdate_int_entry(reg_num)\
-       [DC_IRQ_SOURCE_VUPDATE1 + reg_num] = {\
-               IRQ_REG_ENTRY(OTG, reg_num,\
-                       OTG_GLOBAL_SYNC_STATUS, VUPDATE_INT_EN,\
-                       OTG_GLOBAL_SYNC_STATUS, VUPDATE_EVENT_CLEAR),\
-               .funcs = &vblank_irq_info_funcs\
-       }
-
 /* vupdate_no_lock_int_entry maps to DC_IRQ_SOURCE_VUPDATEx, to match semantic
  * of DCE's DC_IRQ_SOURCE_VUPDATEx.
  */
@@ -402,12 +394,6 @@ irq_source_info_dcn21[DAL_IRQ_SOURCES_NUMBER] = {
        dc_underflow_int_entry(6),
        [DC_IRQ_SOURCE_DMCU_SCP] = dummy_irq_entry(),
        [DC_IRQ_SOURCE_VBIOS_SW] = dummy_irq_entry(),
-       vupdate_int_entry(0),
-       vupdate_int_entry(1),
-       vupdate_int_entry(2),
-       vupdate_int_entry(3),
-       vupdate_int_entry(4),
-       vupdate_int_entry(5),
        vupdate_no_lock_int_entry(0),
        vupdate_no_lock_int_entry(1),
        vupdate_no_lock_int_entry(2),