/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_dmcu.c | 34 #define TO_DCE_DMCU(dmcu)\ argument 35 container_of(dmcu, struct dce_dmcu, base) 57 static bool dce_dmcu_init(struct dmcu *dmcu) in dce_dmcu_init() argument 63 bool dce_dmcu_load_iram(struct dmcu *dmcu, in dce_dmcu_load_iram() argument 68 struct dce_dmcu *dmcu_dce = TO_DCE_DMCU(dmcu); in dce_dmcu_load_iram() 91 static void dce_get_dmcu_psr_state(struct dmcu *dmcu, uint32_t *psr_state) in dce_get_dmcu_psr_state() argument 93 struct dce_dmcu *dmcu_dce = TO_DCE_DMCU(dmcu); in dce_get_dmcu_psr_state() 114 static void dce_dmcu_set_psr_enable(struct dmcu *dmcu, bool enable, bool wait) in dce_dmcu_set_psr_enable() argument 116 struct dce_dmcu *dmcu_dce = TO_DCE_DMCU(dmcu); in dce_dmcu_set_psr_enable() 140 dce_get_dmcu_psr_state(dmcu, &psr_state); in dce_dmcu_set_psr_enable() [all …]
|
D | dce_dmcu.h | 181 struct dmcu base; 252 struct dmcu *dce_dmcu_create( 258 struct dmcu *dcn10_dmcu_create( 264 void dce_dmcu_destroy(struct dmcu **dmcu);
|
D | dce_clocks.c | 282 struct dmcu *dmcu = core_dc->res_pool->dmcu; in dce_psr_set_clock() local 287 dmcu->funcs->set_psr_wait_loop(dmcu, actual_clk_khz / 1000 / 7); in dce_psr_set_clock() 299 struct dmcu *dmcu = core_dc->res_pool->dmcu; in dce112_set_clock() local 336 dmcu->funcs->set_psr_wait_loop(dmcu, in dce112_set_clock()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dmcu.h | 35 struct dmcu { struct 45 bool (*dmcu_init)(struct dmcu *dmcu); argument 46 bool (*load_iram)(struct dmcu *dmcu, 50 void (*set_psr_enable)(struct dmcu *dmcu, bool enable, bool wait); 51 bool (*setup_psr)(struct dmcu *dmcu, 54 void (*get_psr_state)(struct dmcu *dmcu, uint32_t *psr_state); 55 void (*set_psr_wait_loop)(struct dmcu *dmcu, 57 void (*get_psr_wait_loop)(struct dmcu *dmcu, 59 bool (*is_dmcu_initialized)(struct dmcu *dmcu);
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 170 struct dmcu *dmcu; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 710 if (pool->base.dmcu != NULL) in destruct() 711 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 871 pool->base.dmcu = dce_dmcu_create(ctx, in dce80_construct() 875 if (pool->base.dmcu == NULL) { in dce80_construct() 1064 pool->base.dmcu = dce_dmcu_create(ctx, in dce81_construct() 1068 if (pool->base.dmcu == NULL) { in dce81_construct() 1246 pool->base.dmcu = dce_dmcu_create(ctx, in dce83_construct() 1250 if (pool->base.dmcu == NULL) { in dce83_construct()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 2053 struct dmcu *dmcu = core_dc->res_pool->dmcu; in dc_link_set_backlight_level() local 2059 if ((dmcu == NULL) || in dc_link_set_backlight_level() 2071 use_smooth_brightness = dmcu->funcs->is_dmcu_initialized(dmcu); in dc_link_set_backlight_level() 2117 struct dmcu *dmcu = core_dc->res_pool->dmcu; in dc_link_set_psr_enable() local 2119 if (dmcu != NULL && link->psr_enabled) in dc_link_set_psr_enable() 2120 dmcu->funcs->set_psr_enable(dmcu, enable, wait); in dc_link_set_psr_enable()
|
D | dc.c | 701 if (dc->res_pool->dmcu != NULL) in dc_create() 702 dc->versions.dmcu_version = dc->res_pool->dmcu->dmcu_version; in dc_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 688 if (pool->base.dmcu != NULL) in destruct() 689 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 878 pool->base.dmcu = dce_dmcu_create(ctx, in construct() 882 if (pool->base.dmcu == NULL) { in construct()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 529 if (pool->base.dmcu != NULL) in destruct() 530 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 940 pool->base.dmcu = dce_dmcu_create(ctx, in construct() 944 if (pool->base.dmcu == NULL) { in construct()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 716 if (pool->base.dmcu != NULL) in destruct() 717 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 1223 pool->base.dmcu = dce_dmcu_create(ctx, in construct() 1227 if (pool->base.dmcu == NULL) { in construct()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 705 if (pool->base.dmcu != NULL) in destruct() 706 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 1168 pool->base.dmcu = dce_dmcu_create(ctx, in construct() 1172 if (pool->base.dmcu == NULL) { in construct()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 890 if (pool->base.dmcu != NULL) in destruct() 891 dce_dmcu_destroy(&pool->base.dmcu); in destruct() 1182 pool->base.dmcu = dcn10_dmcu_create(ctx, in construct() 1186 if (pool->base.dmcu == NULL) { in construct()
|
D | dcn10_hw_sequencer.c | 955 struct dmcu *dmcu = dc->res_pool->dmcu; in dcn10_init_hw() local 1076 if (dmcu != NULL) in dcn10_init_hw() 1077 dmcu->funcs->dmcu_init(dmcu); in dcn10_init_hw()
|