/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_timing_generator.c | 43 generic_reg_update_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 46 generic_reg_set_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__) 89 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_is_in_vertical_blank() local 93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank() 111 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_validate_timing() local 120 if (v_blank < tg110->min_v_blank || in dce120_timing_generator_validate_timing() 121 timing->h_sync_width < tg110->min_h_sync_width || in dce120_timing_generator_validate_timing() 122 timing->v_sync_width < tg110->min_v_sync_width) in dce120_timing_generator_validate_timing() 139 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_enable_crtc() local 151 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, true); in dce120_timing_generator_enable_crtc() [all …]
|
D | dce120_timing_generator.h | 35 struct dce110_timing_generator *tg110,
|
D | dce120_resource.c | 588 struct dce110_timing_generator *tg110 = in dce120_timing_generator_create() local 591 if (!tg110) in dce120_timing_generator_create() 594 dce120_timing_generator_construct(tg110, ctx, instance, offsets); in dce120_timing_generator_create() 595 return &tg110->base; in dce120_timing_generator_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_timing_generator.c | 83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 84 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif) 128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce80_timing_generator_enable_advanced_request() local 225 struct dce110_timing_generator *tg110, in dce80_timing_generator_construct() argument 230 tg110->controller_id = CONTROLLER_ID_D0 + instance; in dce80_timing_generator_construct() 231 tg110->base.inst = instance; in dce80_timing_generator_construct() 232 tg110->offsets = *offsets; in dce80_timing_generator_construct() 233 tg110->derived_offsets = reg_offsets[instance]; in dce80_timing_generator_construct() 235 tg110->base.funcs = &dce80_tg_funcs; in dce80_timing_generator_construct() [all …]
|
D | dce80_resource.c | 509 struct dce110_timing_generator *tg110 = in dce80_timing_generator_create() local 512 if (!tg110) in dce80_timing_generator_create() 515 dce80_timing_generator_construct(tg110, ctx, instance, offsets); in dce80_timing_generator_create() 516 return &tg110->base; in dce80_timing_generator_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_timing_generator.c | 83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 84 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif) 128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_timing_generator_enable_advanced_request() local 183 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_is_tg_enabled() local 244 struct dce110_timing_generator *tg110, in dce60_timing_generator_construct() argument 249 tg110->controller_id = CONTROLLER_ID_D0 + instance; in dce60_timing_generator_construct() 250 tg110->base.inst = instance; in dce60_timing_generator_construct() 251 tg110->offsets = *offsets; in dce60_timing_generator_construct() 252 tg110->derived_offsets = reg_offsets[instance]; in dce60_timing_generator_construct() [all …]
|
D | dce60_resource.c | 504 struct dce110_timing_generator *tg110 = in dce60_timing_generator_create() local 507 if (!tg110) in dce60_timing_generator_create() 510 dce60_timing_generator_construct(tg110, ctx, instance, offsets); in dce60_timing_generator_create() 511 return &tg110->base; in dce60_timing_generator_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_timing_generator.c | 48 #define CRTC_REG(reg) (reg + tg110->offsets.crtc) 49 #define DCP_REG(reg) (reg + tg110->offsets.dcp) 97 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_is_in_vertical_blank() local 110 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_set_early_control() local 127 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_enable_crtc() local 146 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, true); in dce110_timing_generator_enable_crtc() 155 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_program_blank_color() local 191 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); 236 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_disable_crtc() local 238 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, false); in dce110_timing_generator_disable_crtc() [all …]
|
D | dce110_timing_generator_v.c | 690 struct dce110_timing_generator *tg110, in dce110_timing_generator_v_construct() argument 693 tg110->controller_id = CONTROLLER_ID_UNDERLAY0; in dce110_timing_generator_v_construct() 695 tg110->base.funcs = &dce110_tg_v_funcs; in dce110_timing_generator_v_construct() 697 tg110->base.ctx = ctx; in dce110_timing_generator_v_construct() 698 tg110->base.bp = ctx->dc_bios; in dce110_timing_generator_v_construct() 700 tg110->max_h_total = CRTC_H_TOTAL__CRTC_H_TOTAL_MASK + 1; in dce110_timing_generator_v_construct() 701 tg110->max_v_total = CRTC_V_TOTAL__CRTC_V_TOTAL_MASK + 1; in dce110_timing_generator_v_construct() 703 tg110->min_h_blank = 56; in dce110_timing_generator_v_construct() 704 tg110->min_h_front_porch = 4; in dce110_timing_generator_v_construct() 705 tg110->min_h_back_porch = 4; in dce110_timing_generator_v_construct()
|
D | dce110_timing_generator_v.h | 30 struct dce110_timing_generator *tg110,
|
D | dce110_resource.c | 522 struct dce110_timing_generator *tg110 = in dce110_timing_generator_create() local 525 if (!tg110) in dce110_timing_generator_create() 528 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce110_timing_generator_create() 529 return &tg110->base; in dce110_timing_generator_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 469 struct dce110_timing_generator *tg110 = in dce100_timing_generator_create() local 472 if (!tg110) in dce100_timing_generator_create() 475 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce100_timing_generator_create() 476 return &tg110->base; in dce100_timing_generator_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 498 struct dce110_timing_generator *tg110 = in dce112_timing_generator_create() local 501 if (!tg110) in dce112_timing_generator_create() 504 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce112_timing_generator_create() 505 return &tg110->base; in dce112_timing_generator_create()
|