Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c40 struct vmw_shader shader; member
103 struct vmw_shader *shader = vmw_res_to_shader(res); in vmw_gb_shader_init() local
123 shader->size = size; in vmw_gb_shader_init()
124 shader->type = type; in vmw_gb_shader_init()
133 struct vmw_shader *shader = vmw_res_to_shader(res); in vmw_gb_shader_create() local
165 cmd->body.type = shader->type; in vmw_gb_shader_create()
166 cmd->body.sizeInBytes = shader->size; in vmw_gb_shader_create()
291 shader.res); in vmw_user_shader_base_to_res()
297 container_of(res, struct vmw_user_shader, shader.res); in vmw_user_shader_free()
307 struct vmw_shader *shader = vmw_res_to_shader(res); in vmw_shader_free() local
[all …]
/drivers/gpu/drm/nouveau/core/subdev/clock/
Dnvaa.c205 const int shader = cstate->domain[nv_clk_src_shader]; in nvaa_clock_calc() local
241 if (shader == clk->read(clk, nv_clk_src_href)) { in nvaa_clock_calc()
244 clock = calc_pll(priv, 0x4020, shader, &N, &M, &P1); in nvaa_clock_calc()
246 out = calc_P((core << 1), shader, &divs); in nvaa_clock_calc()
249 if (abs(shader - out) <= in nvaa_clock_calc()
250 abs(shader - clock) && in nvaa_clock_calc()
Dnv50.c366 const int shader = cstate->domain[nv_clk_src_shader]; in nv50_clock_calc() local
465 if (P1-- && shader == (core << 1)) { in nv50_clock_calc()
469 freq = calc_pll(priv, 0x4020, shader, &N, &M, &P1); in nv50_clock_calc()
Dbase.c335 cstate->domain[nv_clk_src_shader] = perfE.shader; in nouveau_pstate_new()
/drivers/gpu/drm/nouveau/core/subdev/bios/
Dperf.c117 info->shader = nv_ro16(bios, perf + 0x06) * 1000; in nvbios_perfEp()
118 info->core = info->shader + (signed char) in nvbios_perfEp()
134 info->shader = nv_ro16(bios, perf + 0x0a) * 1000; in nvbios_perfEp()
143 info->shader = nv_ro16(bios, perf + 0x0a) * 1000; in nvbios_perfEp()
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
Dperf.h14 u32 shader; member