From: jsg Date: Mon, 11 Apr 2022 03:55:26 +0000 (+0000) Subject: drm/amd/display: Remove vupdate_int_entry definition X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c3c9e01d2aedc6e6ed67269a3cfab1c5549301c0;p=openbsd drm/amd/display: Remove vupdate_int_entry definition From Maira Canal bd443887ed2adbc7d89b12b6b2980024da1f8d31 in linux 5.15.y/5.15.33 3679b8518cd213c25d555553ef212e233faf698c in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c b/sys/dev/pci/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c index ed54e1c819b..a728087b3f3 100644 --- a/sys/dev/pci/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c +++ b/sys/dev/pci/drm/amd/display/dc/irq/dcn21/irq_service_dcn21.c @@ -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),