Searched refs:DCP_REG (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_compressor.c | 42 #define DCP_REG(reg)\ macro 83 status_pos = dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_POSITION)); in reset_lb_on_vblank() 87 if (status_pos != dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_POSITION))) { in reset_lb_on_vblank() 89 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank() 92 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank() 94 frame_count = dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_FRAME_COUNT)); in reset_lb_on_vblank() 98 if (frame_count != dm_read_reg(compressor->ctx, DCP_REG(mmCRTC_STATUS_FRAME_COUNT))) in reset_lb_on_vblank() 106 value = dm_read_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL)); in reset_lb_on_vblank() 109 dm_write_reg(compressor->ctx, DCP_REG(mmLB_SYNC_RESET_SEL), value); in reset_lb_on_vblank() 312 DCP_REG(mmGRPH_COMPRESS_SURFACE_ADDRESS_HIGH), in dce110_compressor_program_compressed_surface_address_and_pitch() [all …]
|
D | dce110_timing_generator.c | 49 #define DCP_REG(reg) (reg + tg110->offsets.dcp) macro 1220 uint32_t address = DCP_REG(mmDCP_GSL_CONTROL); in dce110_timing_generator_setup_global_swap_lock() 1321 uint32_t address = DCP_REG(mmDCP_GSL_CONTROL); in dce110_timing_generator_tear_down_global_swap_lock()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_compressor.c | 41 #define DCP_REG(reg)\ macro 495 DCP_REG(mmGRPH_COMPRESS_SURFACE_ADDRESS_HIGH), in dce112_compressor_program_compressed_surface_address_and_pitch() 498 DCP_REG(mmGRPH_COMPRESS_SURFACE_ADDRESS), 0); in dce112_compressor_program_compressed_surface_address_and_pitch() 513 DCP_REG(mmGRPH_COMPRESS_SURFACE_ADDRESS_HIGH), in dce112_compressor_program_compressed_surface_address_and_pitch() 516 DCP_REG(mmGRPH_COMPRESS_SURFACE_ADDRESS), in dce112_compressor_program_compressed_surface_address_and_pitch() 531 dm_write_reg(compressor->ctx, DCP_REG(mmGRPH_COMPRESS_PITCH), 0); in dce112_compressor_program_compressed_surface_address_and_pitch() 539 dm_write_reg(compressor->ctx, DCP_REG(mmGRPH_COMPRESS_PITCH), value); in dce112_compressor_program_compressed_surface_address_and_pitch()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_timing_generator.c | 84 #define DCP_REG(reg) (reg + tg110->offsets.dcp) macro
|