Lines Matching full:runtime
92 const struct intel_runtime_info *runtime, in intel_device_info_print() argument
95 if (runtime->graphics.ip.rel) in intel_device_info_print()
97 runtime->graphics.ip.ver, in intel_device_info_print()
98 runtime->graphics.ip.rel); in intel_device_info_print()
101 runtime->graphics.ip.ver); in intel_device_info_print()
103 if (runtime->media.ip.rel) in intel_device_info_print()
105 runtime->media.ip.ver, in intel_device_info_print()
106 runtime->media.ip.rel); in intel_device_info_print()
109 runtime->media.ip.ver); in intel_device_info_print()
111 if (runtime->display.ip.rel) in intel_device_info_print()
113 runtime->display.ip.ver, in intel_device_info_print()
114 runtime->display.ip.rel); in intel_device_info_print()
117 runtime->display.ip.ver); in intel_device_info_print()
120 drm_printf(p, "memory-regions: %x\n", runtime->memory_regions); in intel_device_info_print()
121 drm_printf(p, "page-sizes: %x\n", runtime->page_sizes); in intel_device_info_print()
123 drm_printf(p, "ppgtt-size: %d\n", runtime->ppgtt_size); in intel_device_info_print()
124 drm_printf(p, "ppgtt-type: %d\n", runtime->ppgtt_type); in intel_device_info_print()
131 drm_printf(p, "has_pooled_eu: %s\n", str_yes_no(runtime->has_pooled_eu)); in intel_device_info_print()
137 drm_printf(p, "has_hdcp: %s\n", str_yes_no(runtime->has_hdcp)); in intel_device_info_print()
138 drm_printf(p, "has_dmc: %s\n", str_yes_no(runtime->has_dmc)); in intel_device_info_print()
139 drm_printf(p, "has_dsc: %s\n", str_yes_no(runtime->has_dsc)); in intel_device_info_print()
141 drm_printf(p, "rawclk rate: %u kHz\n", runtime->rawclk_freq); in intel_device_info_print()
292 * intel_device_info_runtime_init - initialize runtime info
295 * Determine various intel_device_info fields at runtime.
310 struct intel_runtime_info *runtime = RUNTIME_INFO(dev_priv); in intel_device_info_runtime_init() local
316 runtime->num_scalers[pipe] = 0; in intel_device_info_runtime_init()
319 runtime->num_scalers[pipe] = 2; in intel_device_info_runtime_init()
321 runtime->num_scalers[PIPE_A] = 2; in intel_device_info_runtime_init()
322 runtime->num_scalers[PIPE_B] = 2; in intel_device_info_runtime_init()
323 runtime->num_scalers[PIPE_C] = 1; in intel_device_info_runtime_init()
330 runtime->num_sprites[pipe] = 4; in intel_device_info_runtime_init()
333 runtime->num_sprites[pipe] = 6; in intel_device_info_runtime_init()
336 runtime->num_sprites[pipe] = 3; in intel_device_info_runtime_init()
347 runtime->num_sprites[PIPE_A] = 2; in intel_device_info_runtime_init()
348 runtime->num_sprites[PIPE_B] = 2; in intel_device_info_runtime_init()
349 runtime->num_sprites[PIPE_C] = 1; in intel_device_info_runtime_init()
352 runtime->num_sprites[pipe] = 2; in intel_device_info_runtime_init()
355 runtime->num_sprites[pipe] = 1; in intel_device_info_runtime_init()
378 runtime->pipe_mask = 0; in intel_device_info_runtime_init()
379 runtime->cpu_transcoder_mask = 0; in intel_device_info_runtime_init()
380 runtime->fbc_mask = 0; in intel_device_info_runtime_init()
383 runtime->pipe_mask &= ~BIT(PIPE_C); in intel_device_info_runtime_init()
384 runtime->cpu_transcoder_mask &= ~BIT(TRANSCODER_C); in intel_device_info_runtime_init()
390 runtime->pipe_mask &= ~BIT(PIPE_A); in intel_device_info_runtime_init()
391 runtime->cpu_transcoder_mask &= ~BIT(TRANSCODER_A); in intel_device_info_runtime_init()
392 runtime->fbc_mask &= ~BIT(INTEL_FBC_A); in intel_device_info_runtime_init()
395 runtime->pipe_mask &= ~BIT(PIPE_B); in intel_device_info_runtime_init()
396 runtime->cpu_transcoder_mask &= ~BIT(TRANSCODER_B); in intel_device_info_runtime_init()
399 runtime->pipe_mask &= ~BIT(PIPE_C); in intel_device_info_runtime_init()
400 runtime->cpu_transcoder_mask &= ~BIT(TRANSCODER_C); in intel_device_info_runtime_init()
405 runtime->pipe_mask &= ~BIT(PIPE_D); in intel_device_info_runtime_init()
406 runtime->cpu_transcoder_mask &= ~BIT(TRANSCODER_D); in intel_device_info_runtime_init()
410 runtime->has_hdcp = 0; in intel_device_info_runtime_init()
413 runtime->fbc_mask = 0; in intel_device_info_runtime_init()
416 runtime->has_dmc = 0; in intel_device_info_runtime_init()
420 runtime->has_dsc = 0; in intel_device_info_runtime_init()
426 runtime->ppgtt_type = INTEL_PPGTT_NONE; in intel_device_info_runtime_init()
429 runtime->rawclk_freq = intel_read_rawclk(dev_priv); in intel_device_info_runtime_init()
430 drm_dbg(&dev_priv->drm, "rawclk rate: %d kHz\n", runtime->rawclk_freq); in intel_device_info_runtime_init()
437 runtime->cpu_transcoder_mask = 0; in intel_device_info_runtime_init()
438 memset(runtime->num_sprites, 0, sizeof(runtime->num_sprites)); in intel_device_info_runtime_init()
439 memset(runtime->num_scalers, 0, sizeof(runtime->num_scalers)); in intel_device_info_runtime_init()
440 runtime->fbc_mask = 0; in intel_device_info_runtime_init()
441 runtime->has_hdcp = false; in intel_device_info_runtime_init()
442 runtime->has_dmc = false; in intel_device_info_runtime_init()
443 runtime->has_dsc = false; in intel_device_info_runtime_init()