Searched refs:crtc_offsets (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | rv515.c | 45 static const u32 crtc_offsets[2] = variable 283 tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]); in rv515_mc_stop() 288 WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp); in rv515_mc_stop() 301 tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]); in rv515_mc_stop() 303 WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp); in rv515_mc_stop() 336 tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); in rv515_mc_stop() 339 WREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i], tmp); in rv515_mc_stop() 386 tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); in rv515_mc_resume() 389 WREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i], tmp); in rv515_mc_resume() 397 tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); in rv515_mc_resume() [all …]
|
A D | evergreen.c | 122 static const u32 crtc_offsets[6] = variable 2725 WREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i], tmp); in evergreen_mc_stop() 2750 tmp = RREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i]); in evergreen_mc_stop() 2753 WREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i], tmp); in evergreen_mc_stop() 4479 WREG32(INT_MASK + crtc_offsets[i], 0); in evergreen_disable_interrupt_state() 4481 WREG32(GRPH_INT_CONTROL + crtc_offsets[i], 0); in evergreen_disable_interrupt_state() 4579 rdev, INT_MASK + crtc_offsets[i], in evergreen_irq_set() 4602 rdev, AFMT_AUDIO_PACKET_CONTROL + crtc_offsets[i], in evergreen_irq_set() 4632 WREG32(GRPH_INT_STATUS + crtc_offsets[j], in evergreen_irq_ack() 4638 WREG32(VBLANK_STATUS + crtc_offsets[j], in evergreen_irq_ack() [all …]
|
A D | rs600.c | 57 static const u32 crtc_offsets[2] = variable 65 if (RREG32(AVIVO_D1CRTC_STATUS + crtc_offsets[crtc]) & AVIVO_D1CRTC_V_BLANK) in avivo_is_in_vblank() 75 pos1 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving() 76 pos2 = RREG32(AVIVO_D1CRTC_STATUS_POSITION + crtc_offsets[crtc]); in avivo_is_counter_moving() 99 if (!(RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[crtc]) & AVIVO_CRTC_EN)) in avivo_wait_for_vblank()
|
A D | si.c | 141 static const u32 crtc_offsets[] = variable 5960 WREG32(INT_MASK + crtc_offsets[i], 0); in si_disable_interrupt_state() 5962 WREG32(GRPH_INT_CONTROL + crtc_offsets[i], 0); in si_disable_interrupt_state() 6114 rdev, INT_MASK + crtc_offsets[i], VBLANK_INT_MASK, in si_irq_set() 6120 WREG32(GRPH_INT_CONTROL + crtc_offsets[i], GRPH_PFLIP_INT_MASK); in si_irq_set() 6152 grph_int[i] = RREG32(GRPH_INT_STATUS + crtc_offsets[i]); in si_irq_ack() 6159 WREG32(GRPH_INT_STATUS + crtc_offsets[j], in si_irq_ack() 6165 WREG32(VBLANK_STATUS + crtc_offsets[j], in si_irq_ack() 6168 WREG32(VLINE_STATUS + crtc_offsets[j], in si_irq_ack()
|
A D | r600.c | 102 static const u32 crtc_offsets[2] = variable 1593 if (RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]) & AVIVO_CRTC_EN) { in r600_is_display_hung() 1594 crtc_status[i] = RREG32(AVIVO_D1CRTC_STATUS_HV_COUNT + crtc_offsets[i]); in r600_is_display_hung() 1602 tmp = RREG32(AVIVO_D1CRTC_STATUS_HV_COUNT + crtc_offsets[i]); in r600_is_display_hung()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | dce_v10_0.c | 55 static const u32 crtc_offsets[] = variable 423 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v10_0_is_display_hung() 497 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 1); in dce_v10_0_disable_dce() 498 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v10_0_disable_dce() 500 WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); in dce_v10_0_disable_dce() 501 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 0); in dce_v10_0_disable_dce() 3143 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v10_0_set_pageflip_irq_state() 3146 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v10_0_set_pageflip_irq_state() 3232 WREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc], tmp); in dce_v10_0_crtc_vblank_int_ack() 3245 tmp = RREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc]); in dce_v10_0_crtc_vline_int_ack() [all …]
|
A D | dce_v11_0.c | 55 static const u32 crtc_offsets[] = variable 439 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v11_0_is_display_hung() 523 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 1); in dce_v11_0_disable_dce() 524 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v11_0_disable_dce() 526 WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); in dce_v11_0_disable_dce() 527 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 0); in dce_v11_0_disable_dce() 3266 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v11_0_set_pageflip_irq_state() 3269 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v11_0_set_pageflip_irq_state() 3355 WREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc], tmp); in dce_v11_0_crtc_vblank_int_ack() 3368 tmp = RREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc]); in dce_v11_0_crtc_vline_int_ack() [all …]
|
A D | dce_v8_0.c | 56 static const u32 crtc_offsets[6] = variable 154 return RREG32(mmCRTC_STATUS_FRAME_COUNT + crtc_offsets[crtc]); in dce_v8_0_vblank_get_counter() 214 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v8_0_crtc_get_scanoutpos() 366 tmp = RREG32(mmCRTC_STATUS_HV_COUNT + crtc_offsets[i]); in dce_v8_0_is_display_hung() 437 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 1); in dce_v8_0_disable_dce() 438 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v8_0_disable_dce() 440 WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); in dce_v8_0_disable_dce() 441 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 0); in dce_v8_0_disable_dce() 3117 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v8_0_set_pageflip_interrupt_state() 3120 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v8_0_set_pageflip_interrupt_state() [all …]
|
A D | dce_v6_0.c | 59 static const u32 crtc_offsets[6] = variable 220 *vbl = RREG32(mmCRTC_V_BLANK_START_END + crtc_offsets[crtc]); in dce_v6_0_crtc_get_scanoutpos() 390 crtc_enabled = RREG32(mmCRTC_CONTROL + crtc_offsets[i]) & in dce_v6_0_disable_dce() 393 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 1); in dce_v6_0_disable_dce() 394 tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); in dce_v6_0_disable_dce() 396 WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); in dce_v6_0_disable_dce() 397 WREG32(mmCRTC_UPDATE_LOCK + crtc_offsets[i], 0); in dce_v6_0_disable_dce() 2997 WREG32(mmVLINE_STATUS + crtc_offsets[crtc], VLINE_ACK); in dce_v6_0_crtc_irq() 3025 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v6_0_set_pageflip_interrupt_state() 3028 WREG32(mmGRPH_INTERRUPT_CONTROL + crtc_offsets[type], in dce_v6_0_set_pageflip_interrupt_state() [all …]
|
Completed in 54 milliseconds