Searched refs:blackout (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v6_0.c | 53 u32 blackout; in gmc_v6_0_mc_stop() local 60 blackout = RREG32(MC_SHARED_BLACKOUT_CNTL); in gmc_v6_0_mc_stop() 61 if (REG_GET_FIELD(blackout, mmMC_SHARED_BLACKOUT_CNTL, xxBLACKOUT_MODE) != 1) { in gmc_v6_0_mc_stop() 65 blackout = REG_SET_FIELD(blackout, in gmc_v6_0_mc_stop() 67 WREG32(MC_SHARED_BLACKOUT_CNTL, blackout | 1); in gmc_v6_0_mc_stop()
|
D | gmc_v7_0.c | 80 u32 blackout; in gmc_v7_0_mc_stop() local 87 blackout = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v7_0_mc_stop() 88 if (REG_GET_FIELD(blackout, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE) != 1) { in gmc_v7_0_mc_stop() 92 blackout = REG_SET_FIELD(blackout, in gmc_v7_0_mc_stop() 94 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout | 1); in gmc_v7_0_mc_stop()
|
D | gmc_v8_0.c | 163 u32 blackout; in gmc_v8_0_mc_stop() local 170 blackout = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v8_0_mc_stop() 171 if (REG_GET_FIELD(blackout, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE) != 1) { in gmc_v8_0_mc_stop() 175 blackout = REG_SET_FIELD(blackout, in gmc_v8_0_mc_stop() 177 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout); in gmc_v8_0_mc_stop()
|
/drivers/gpu/drm/radeon/ |
D | rv515.c | 298 u32 crtc_enabled, tmp, frame_count, blackout; in rv515_mc_stop() local 344 blackout = RREG32(R700_MC_CITF_CNTL); in rv515_mc_stop() 346 blackout = RREG32(R600_CITF_CNTL); in rv515_mc_stop() 347 if ((blackout & R600_BLACKOUT_MASK) != R600_BLACKOUT_MASK) { in rv515_mc_stop() 351 blackout |= R600_BLACKOUT_MASK; in rv515_mc_stop() 353 WREG32(R700_MC_CITF_CNTL, blackout); in rv515_mc_stop() 355 WREG32(R600_CITF_CNTL, blackout); in rv515_mc_stop()
|
D | ni.c | 637 u32 mem_type, running, blackout = 0; in ni_mc_load_microcode() local 673 blackout = RREG32(MC_SHARED_BLACKOUT_CNTL); in ni_mc_load_microcode() 704 WREG32(MC_SHARED_BLACKOUT_CNTL, blackout); in ni_mc_load_microcode()
|
D | evergreen.c | 2759 u32 crtc_enabled, tmp, frame_count, blackout; in evergreen_mc_stop() local 2827 blackout = RREG32(MC_SHARED_BLACKOUT_CNTL); in evergreen_mc_stop() 2828 if ((blackout & BLACKOUT_MODE_MASK) != 1) { in evergreen_mc_stop() 2832 blackout &= ~BLACKOUT_MODE_MASK; in evergreen_mc_stop() 2833 WREG32(MC_SHARED_BLACKOUT_CNTL, blackout | 1); in evergreen_mc_stop()
|