Home
last modified time | relevance | path

Searched refs:blackout (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Dgmc_v6_0.c66 u32 blackout; in gmc_v6_0_mc_stop() local
70 blackout = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v6_0_mc_stop()
71 if (REG_GET_FIELD(blackout, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE) != 1) { in gmc_v6_0_mc_stop()
75 blackout = REG_SET_FIELD(blackout, in gmc_v6_0_mc_stop()
77 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout | 1); in gmc_v6_0_mc_stop()
Dgmc_v7_0.c92 u32 blackout; in gmc_v7_0_mc_stop() local
96 blackout = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v7_0_mc_stop()
97 if (REG_GET_FIELD(blackout, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE) != 1) { in gmc_v7_0_mc_stop()
101 blackout = REG_SET_FIELD(blackout, in gmc_v7_0_mc_stop()
103 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout | 1); in gmc_v7_0_mc_stop()
Dgmc_v8_0.c181 u32 blackout; in gmc_v8_0_mc_stop() local
185 blackout = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v8_0_mc_stop()
186 if (REG_GET_FIELD(blackout, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE) != 1) { in gmc_v8_0_mc_stop()
190 blackout = REG_SET_FIELD(blackout, in gmc_v8_0_mc_stop()
192 WREG32(mmMC_SHARED_BLACKOUT_CNTL, blackout); in gmc_v8_0_mc_stop()
/drivers/gpu/drm/radeon/
Drv515.c270 u32 crtc_enabled, tmp, frame_count, blackout; in rv515_mc_stop() local
316 blackout = RREG32(R700_MC_CITF_CNTL); in rv515_mc_stop()
318 blackout = RREG32(R600_CITF_CNTL); in rv515_mc_stop()
319 if ((blackout & R600_BLACKOUT_MASK) != R600_BLACKOUT_MASK) { in rv515_mc_stop()
323 blackout |= R600_BLACKOUT_MASK; in rv515_mc_stop()
325 WREG32(R700_MC_CITF_CNTL, blackout); in rv515_mc_stop()
327 WREG32(R600_CITF_CNTL, blackout); in rv515_mc_stop()
Dni.c627 u32 mem_type, running, blackout = 0; in ni_mc_load_microcode() local
663 blackout = RREG32(MC_SHARED_BLACKOUT_CNTL); in ni_mc_load_microcode()
694 WREG32(MC_SHARED_BLACKOUT_CNTL, blackout); in ni_mc_load_microcode()
Devergreen.c2668 u32 crtc_enabled, tmp, frame_count, blackout; in evergreen_mc_stop() local
2736 blackout = RREG32(MC_SHARED_BLACKOUT_CNTL); in evergreen_mc_stop()
2737 if ((blackout & BLACKOUT_MODE_MASK) != 1) { in evergreen_mc_stop()
2741 blackout &= ~BLACKOUT_MODE_MASK; in evergreen_mc_stop()
2742 WREG32(MC_SHARED_BLACKOUT_CNTL, blackout | 1); in evergreen_mc_stop()