Home
last modified time | relevance | path

Searched refs:dmcu (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_dmcu.c34 #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 …]
Ddce_dmcu.h181 struct dmcu base;
252 struct dmcu *dce_dmcu_create(
258 struct dmcu *dcn10_dmcu_create(
264 void dce_dmcu_destroy(struct dmcu **dmcu);
Ddce_clocks.c282 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/
Ddmcu.h35 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/
Dcore_types.h170 struct dmcu *dmcu; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c710 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/
Ddc_link.c2053 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()
Ddc.c701 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/
Ddce100_resource.c688 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/
Ddce120_resource.c529 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/
Ddce110_resource.c716 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/
Ddce112_resource.c705 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/
Ddcn10_resource.c890 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()
Ddcn10_hw_sequencer.c955 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()