/dflybsd-src/sys/dev/drm/ |
H A D | drm_crtc.c | 83 struct drm_crtc *crtc; in drm_crtc_from_index() local 102 int drm_crtc_force_disable(struct drm_crtc *crtc) in drm_crtc_force_disable() 129 struct drm_crtc *crtc; in drm_crtc_force_disable_all() local 159 struct drm_crtc *crtc; in drm_crtc_register_all() local 178 struct drm_crtc *crtc; in drm_crtc_unregister_all() local 187 static int drm_crtc_crc_init(struct drm_crtc *crtc) in drm_crtc_crc_init() 199 static void drm_crtc_crc_fini(struct drm_crtc *crtc) in drm_crtc_crc_fini() 216 struct drm_crtc *crtc = fence_to_crtc(fence); in drm_crtc_fence_get_driver_name() local 223 struct drm_crtc *crtc = fence_to_crtc(fence); in drm_crtc_fence_get_timeline_name() local 240 struct dma_fence *drm_crtc_create_fence(struct drm_crtc *crtc) in drm_crtc_create_fence() [all …]
|
H A D | drm_vblank.c | 121 struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); in __get_vblank_counter() local 295 u32 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc) in drm_crtc_accurate_vblank_count() 319 struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); in __disable_vblank() local 474 wait_queue_head_t *drm_crtc_vblank_waitqueue(struct drm_crtc *crtc) in drm_crtc_vblank_waitqueue() 492 void drm_calc_timestamping_constants(struct drm_crtc *crtc, in drm_calc_timestamping_constants() 580 struct drm_crtc *crtc; in drm_calc_vbltimestamp_from_scanoutpos() local 744 u64 drm_crtc_vblank_count(struct drm_crtc *crtc) in drm_crtc_vblank_count() 796 u64 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc, in drm_crtc_vblank_count_and_time() 871 void drm_crtc_arm_vblank_event(struct drm_crtc *crtc, in drm_crtc_arm_vblank_event() 896 void drm_crtc_send_vblank_event(struct drm_crtc *crtc, in drm_crtc_send_vblank_event() [all …]
|
H A D | drm_atomic_helper.c | 208 struct drm_crtc *crtc; in set_best_encoder() local 370 struct drm_crtc *crtc; in mode_fixup() local 458 struct drm_crtc *crtc, in mode_valid_path() 495 struct drm_crtc *crtc = conn_state->crtc; in mode_valid() local 566 struct drm_crtc *crtc; in drm_atomic_helper_check_modeset() local 718 struct drm_crtc *crtc; in drm_atomic_helper_check_planes() local 810 struct drm_crtc *crtc; in disable_outputs() local 917 struct drm_crtc *crtc; in drm_atomic_helper_update_legacy_modeset_state() local 980 struct drm_crtc *crtc; in crtc_set_mode() local 1079 struct drm_crtc *crtc; in drm_atomic_helper_commit_modeset_enables() local [all …]
|
H A D | drm_atomic.c | 158 struct drm_crtc *crtc = state->crtcs[i].ptr; in drm_atomic_state_default_clear() local 267 struct drm_crtc *crtc) in drm_atomic_get_crtc_state() 300 struct drm_crtc *crtc, s32 __user *fence_ptr) in set_out_fence_for_crtc() 306 struct drm_crtc *crtc) in get_out_fence_for_crtc() 449 int drm_atomic_crtc_set_property(struct drm_crtc *crtc, in drm_atomic_crtc_set_property() 525 drm_atomic_crtc_get_property(struct drm_crtc *crtc, in drm_atomic_crtc_get_property() 562 static int drm_atomic_crtc_check(struct drm_crtc *crtc, in drm_atomic_crtc_check() 618 struct drm_crtc *crtc = state->crtc; in drm_atomic_crtc_print_state() local 734 struct drm_crtc *crtc = drm_crtc_find(dev, NULL, val); in drm_atomic_plane_set_property() local 1151 struct drm_crtc *crtc = drm_crtc_find(dev, NULL, val); in drm_atomic_connector_set_property() local [all …]
|
H A D | drm_crtc_helper.c | 128 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use() 168 struct drm_crtc *crtc; in __drm_helper_disable_unused_functions() local 269 bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, in drm_crtc_helper_set_mode() 439 drm_crtc_helper_disable(struct drm_crtc *crtc) in drm_crtc_helper_disable() 833 static int drm_helper_choose_crtc_dpms(struct drm_crtc *crtc) in drm_helper_choose_crtc_dpms() 874 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in drm_helper_connector_dpms() local 942 struct drm_crtc *crtc; in drm_helper_resume_force_mode() local 1004 int drm_helper_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in drm_helper_crtc_mode_set() 1069 int drm_helper_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in drm_helper_crtc_mode_set_base()
|
H A D | drm_color_mgmt.c | 135 void drm_crtc_enable_color_mgmt(struct drm_crtc *crtc, in drm_crtc_enable_color_mgmt() 177 int drm_mode_crtc_set_gamma_size(struct drm_crtc *crtc, in drm_mode_crtc_set_gamma_size() 224 struct drm_crtc *crtc; in drm_mode_gamma_set_ioctl() local 303 struct drm_crtc *crtc; in drm_mode_gamma_get_ioctl() local
|
H A D | drm_plane_helper.c | 72 static int get_connectors_for_crtc(struct drm_crtc *crtc, in get_connectors_for_crtc() 130 struct drm_crtc *crtc = state->crtc; in drm_plane_helper_check_state() local 221 struct drm_crtc *crtc, in drm_plane_helper_check_update() 302 int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_primary_helper_update() 436 struct drm_crtc *crtc[2]; in drm_plane_helper_commit() local 545 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_plane_helper_update()
|
H A D | drm_internal.h | 147 static inline int drm_debugfs_crtc_add(struct drm_crtc *crtc) in drm_debugfs_crtc_add() 151 static inline void drm_debugfs_crtc_remove(struct drm_crtc *crtc) in drm_debugfs_crtc_remove() 155 static inline int drm_debugfs_crtc_crc_add(struct drm_crtc *crtc) in drm_debugfs_crtc_crc_add()
|
H A D | drm_simple_kms_helper.c | 37 static int drm_simple_kms_crtc_check(struct drm_crtc *crtc, in drm_simple_kms_crtc_check() 50 static void drm_simple_kms_crtc_enable(struct drm_crtc *crtc, in drm_simple_kms_crtc_enable() 62 static void drm_simple_kms_crtc_disable(struct drm_crtc *crtc, in drm_simple_kms_crtc_disable() 228 struct drm_crtc *crtc = &pipe->crtc; in drm_simple_display_pipe_init() local
|
H A D | drm_mode_config.c | 90 struct drm_crtc *crtc; in drm_mode_getresources() local 173 struct drm_crtc *crtc; in drm_mode_config_reset() local 416 struct drm_crtc *crtc, *ct; in drm_mode_config_cleanup() local
|
/dflybsd-src/sys/dev/drm/i915/ |
H A D | intel_fifo_underrun.c | 54 struct intel_crtc *crtc; in ivb_can_enable_err_int() local 73 struct intel_crtc *crtc; in cpt_can_enable_serr_int() local 87 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc) in i9xx_check_fifo_underruns() 139 static void ivybridge_check_fifo_underruns(struct intel_crtc *crtc) in ivybridge_check_fifo_underruns() 205 static void cpt_check_pch_fifo_underruns(struct intel_crtc *crtc) in cpt_check_pch_fifo_underruns() 253 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in __intel_set_cpu_fifo_underrun_reporting() local 321 struct intel_crtc *crtc = in intel_set_pch_fifo_underrun_reporting() local 365 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in intel_cpu_fifo_underrun_irq_handler() local 416 struct intel_crtc *crtc; in intel_check_cpu_fifo_underruns() local 443 struct intel_crtc *crtc; in intel_check_pch_fifo_underruns() local
|
H A D | intel_fbc.c | 418 struct intel_crtc *crtc = fbc->crtc; in intel_fbc_work_fn() local 468 static void intel_fbc_schedule_activation(struct intel_crtc *crtc) in intel_fbc_schedule_activation() 510 static bool multiple_pipes_ok(struct intel_crtc *crtc, in multiple_pipes_ok() 579 static int intel_fbc_alloc_cfb(struct intel_crtc *crtc) in intel_fbc_alloc_cfb() 711 static bool intel_fbc_hw_tracking_covers_screen(struct intel_crtc *crtc) in intel_fbc_hw_tracking_covers_screen() 736 static void intel_fbc_update_state_cache(struct intel_crtc *crtc, in intel_fbc_update_state_cache() 773 static bool intel_fbc_can_activate(struct intel_crtc *crtc) in intel_fbc_can_activate() 878 static void intel_fbc_get_reg_params(struct intel_crtc *crtc, in intel_fbc_get_reg_params() 913 void intel_fbc_pre_update(struct intel_crtc *crtc, in intel_fbc_pre_update() 941 static void __intel_fbc_post_update(struct intel_crtc *crtc) in __intel_fbc_post_update() [all …]
|
H A D | intel_display.c | 854 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in vlv_find_best_dpll() local 914 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in chv_find_best_dpll() local 976 bool intel_crtc_active(struct intel_crtc *crtc) in intel_crtc_active() 998 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in intel_pipe_to_cpu_transcoder() local 1022 static void wait_for_pipe_scanline_moving(struct intel_crtc *crtc, bool state) in wait_for_pipe_scanline_moving() 1033 static void intel_wait_for_pipe_scanline_stopped(struct intel_crtc *crtc) in intel_wait_for_pipe_scanline_stopped() 1038 static void intel_wait_for_pipe_scanline_moving(struct intel_crtc *crtc) in intel_wait_for_pipe_scanline_moving() 1059 static void intel_wait_for_pipe_off(struct intel_crtc *crtc) in intel_wait_for_pipe_off() 1253 static void assert_planes_disabled(struct intel_crtc *crtc) in assert_planes_disabled() 1262 static void assert_vblank_disabled(struct drm_crtc *crtc) in assert_vblank_disabled() [all …]
|
H A D | intel_psr.c | 81 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in vlv_psr_setup_vsc() local 208 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in vlv_psr_enable_source() local 222 struct drm_crtc *crtc = dig_port->base.base.crtc; in vlv_psr_activate() local 561 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in vlv_psr_disable() local 671 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_work() local 731 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_exit() local 795 struct drm_crtc *crtc; in intel_psr_single_frame_update() local 845 struct drm_crtc *crtc; in intel_psr_invalidate() local 885 struct drm_crtc *crtc; in intel_psr_flush() local
|
H A D | intel_color.c | 137 struct drm_crtc *crtc = crtc_state->crtc; in i9xx_load_csc_matrix() local 251 struct drm_crtc *crtc = state->crtc; in cherryview_load_csc_matrix() local 308 static void i9xx_load_luts_internal(struct drm_crtc *crtc, in i9xx_load_luts_internal() 359 struct drm_crtc *crtc = crtc_state->crtc; in haswell_load_luts() local 524 struct drm_crtc *crtc = state->crtc; in glk_load_luts() local 547 struct drm_crtc *crtc = state->crtc; in cherryview_load_luts() local 613 int intel_color_check(struct drm_crtc *crtc, in intel_color_check() 644 void intel_color_init(struct drm_crtc *crtc) in intel_color_init()
|
H A D | intel_dpll_mgr.c | 134 void intel_prepare_shared_dpll(struct intel_crtc *crtc) in intel_prepare_shared_dpll() 161 void intel_enable_shared_dpll(struct intel_crtc *crtc) in intel_enable_shared_dpll() 206 void intel_disable_shared_dpll(struct intel_crtc *crtc) in intel_disable_shared_dpll() 243 intel_find_shared_dpll(struct intel_crtc *crtc, in intel_find_shared_dpll() 291 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in intel_reference_shared_dpll() local 405 struct intel_crtc *crtc; in ibx_pch_dpll_disable() local 419 ibx_get_dpll(struct intel_crtc *crtc, struct intel_crtc_state *crtc_state, in ibx_get_dpll() 752 struct intel_crtc *crtc, in hsw_ddi_hdmi_get_dpll() 807 hsw_get_dpll(struct intel_crtc *crtc, struct intel_crtc_state *crtc_state, in hsw_get_dpll() 1287 static bool skl_ddi_hdmi_pll_dividers(struct intel_crtc *crtc, in skl_ddi_hdmi_pll_dividers() [all …]
|
/dflybsd-src/sys/dev/drm/radeon/ |
H A D | atombios_crtc.c | 35 static void atombios_overscan_setup(struct drm_crtc *crtc, in atombios_overscan_setup() 80 static void atombios_scaler_setup(struct drm_crtc *crtc) in atombios_scaler_setup() 164 static void atombios_lock_crtc(struct drm_crtc *crtc, int lock) in atombios_lock_crtc() 181 static void atombios_enable_crtc(struct drm_crtc *crtc, int state) in atombios_enable_crtc() 197 static void atombios_enable_crtc_memreq(struct drm_crtc *crtc, int state) in atombios_enable_crtc_memreq() 223 static void atombios_blank_crtc(struct drm_crtc *crtc, int state) in atombios_blank_crtc() 249 static void atombios_powergate_crtc(struct drm_crtc *crtc, int state) in atombios_powergate_crtc() 265 void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) in atombios_crtc_dpms() 300 atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, in atombios_set_crtc_dtd_timing() 347 static void atombios_crtc_set_timing(struct drm_crtc *crtc, in atombios_crtc_set_timing() [all …]
|
H A D | radeon_cursor.c | 30 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock) in radeon_lock_cursor() 60 static void radeon_hide_cursor(struct drm_crtc *crtc) in radeon_hide_cursor() 88 static void radeon_show_cursor(struct drm_crtc *crtc) in radeon_show_cursor() 142 static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y) in radeon_cursor_move_locked() 262 int radeon_crtc_cursor_move(struct drm_crtc *crtc, in radeon_crtc_cursor_move() 274 int radeon_crtc_cursor_set2(struct drm_crtc *crtc, in radeon_crtc_cursor_set2() 370 void radeon_cursor_reset(struct drm_crtc *crtc) in radeon_cursor_reset()
|
H A D | radeon_legacy_crtc.c | 34 static void radeon_overscan_setup(struct drm_crtc *crtc, in radeon_overscan_setup() 46 static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, in radeon_legacy_rmx_mode_set() 294 static void radeon_crtc_dpms(struct drm_crtc *crtc, int mode) in radeon_crtc_dpms() 357 int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y, in radeon_crtc_set_base() 363 int radeon_crtc_set_base_atomic(struct drm_crtc *crtc, in radeon_crtc_set_base_atomic() 370 int radeon_crtc_do_set_base(struct drm_crtc *crtc, in radeon_crtc_do_set_base() 576 static bool radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_crtc_timing() 736 static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_pll() 1029 static bool radeon_crtc_mode_fixup(struct drm_crtc *crtc, in radeon_crtc_mode_fixup() 1038 static int radeon_crtc_mode_set(struct drm_crtc *crtc, in radeon_crtc_mode_set() [all …]
|
H A D | radeon_display.c | 40 static void avivo_crtc_load_lut(struct drm_crtc *crtc) in avivo_crtc_load_lut() 78 static void dce4_crtc_load_lut(struct drm_crtc *crtc) in dce4_crtc_load_lut() 112 static void dce5_crtc_load_lut(struct drm_crtc *crtc) in dce5_crtc_load_lut() 182 static void legacy_crtc_load_lut(struct drm_crtc *crtc) in legacy_crtc_load_lut() 210 void radeon_crtc_load_lut(struct drm_crtc *crtc) in radeon_crtc_load_lut() 228 static int radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_gamma_set() 237 static void radeon_crtc_destroy(struct drm_crtc *crtc) in radeon_crtc_destroy() 406 struct drm_crtc *crtc = &radeon_crtc->base; in radeon_flip_work_func() local 470 static int radeon_crtc_page_flip_target(struct drm_crtc *crtc, in radeon_crtc_page_flip_target() 618 struct drm_crtc *crtc; in radeon_crtc_set_config() local [all …]
|
/dflybsd-src/sys/dev/drm/amd/amdgpu/ |
H A D | dce_virtual.c | 52 static u32 dce_virtual_vblank_get_counter(struct amdgpu_device *adev, int crtc) in dce_virtual_vblank_get_counter() 63 static int dce_virtual_crtc_get_scanoutpos(struct amdgpu_device *adev, int crtc, in dce_virtual_crtc_get_scanoutpos() 102 static int dce_virtual_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, in dce_virtual_crtc_gamma_set() 109 static void dce_virtual_crtc_destroy(struct drm_crtc *crtc) in dce_virtual_crtc_destroy() 126 static void dce_virtual_crtc_dpms(struct drm_crtc *crtc, int mode) in dce_virtual_crtc_dpms() 155 static void dce_virtual_crtc_prepare(struct drm_crtc *crtc) in dce_virtual_crtc_prepare() 160 static void dce_virtual_crtc_commit(struct drm_crtc *crtc) in dce_virtual_crtc_commit() 165 static void dce_virtual_crtc_disable(struct drm_crtc *crtc) in dce_virtual_crtc_disable() 189 static int dce_virtual_crtc_mode_set(struct drm_crtc *crtc, in dce_virtual_crtc_mode_set() 202 static bool dce_virtual_crtc_mode_fixup(struct drm_crtc *crtc, in dce_virtual_crtc_mode_fixup() [all …]
|
H A D | atombios_crtc.c | 39 void amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc, in amdgpu_atombios_crtc_overscan_setup() 84 void amdgpu_atombios_crtc_scaler_setup(struct drm_crtc *crtc) in amdgpu_atombios_crtc_scaler_setup() 113 void amdgpu_atombios_crtc_lock(struct drm_crtc *crtc, int lock) in amdgpu_atombios_crtc_lock() 130 void amdgpu_atombios_crtc_enable(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_enable() 146 void amdgpu_atombios_crtc_blank(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_blank() 162 void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_powergate() 190 void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc, in amdgpu_atombios_crtc_set_dtd_timing() 305 static u32 amdgpu_atombios_crtc_adjust_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_adjust_pll() 576 void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_program_pll() 747 int amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_prepare_pll() [all …]
|
H A D | dce_v11_0.c | 213 static u32 dce_v11_0_vblank_get_counter(struct amdgpu_device *adev, int crtc) in dce_v11_0_vblank_get_counter() 270 static int dce_v11_0_crtc_get_scanoutpos(struct amdgpu_device *adev, int crtc, in dce_v11_0_crtc_get_scanoutpos() 1837 static void dce_v11_0_vga_enable(struct drm_crtc *crtc, bool enable) in dce_v11_0_vga_enable() 1851 static void dce_v11_0_grph_enable(struct drm_crtc *crtc, bool enable) in dce_v11_0_grph_enable() 1863 static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc, in dce_v11_0_crtc_do_set_base() 2099 static void dce_v11_0_set_interleave(struct drm_crtc *crtc, in dce_v11_0_set_interleave() 2115 static void dce_v11_0_crtc_load_lut(struct drm_crtc *crtc) in dce_v11_0_crtc_load_lut() 2245 static u32 dce_v11_0_pick_pll(struct drm_crtc *crtc) in dce_v11_0_pick_pll() 2328 static void dce_v11_0_lock_cursor(struct drm_crtc *crtc, bool lock) in dce_v11_0_lock_cursor() 2342 static void dce_v11_0_hide_cursor(struct drm_crtc *crtc) in dce_v11_0_hide_cursor() [all …]
|
H A D | dce_v10_0.c | 195 static u32 dce_v10_0_vblank_get_counter(struct amdgpu_device *adev, int crtc) in dce_v10_0_vblank_get_counter() 252 static int dce_v10_0_crtc_get_scanoutpos(struct amdgpu_device *adev, int crtc, in dce_v10_0_crtc_get_scanoutpos() 1795 static void dce_v10_0_vga_enable(struct drm_crtc *crtc, bool enable) in dce_v10_0_vga_enable() 1809 static void dce_v10_0_grph_enable(struct drm_crtc *crtc, bool enable) in dce_v10_0_grph_enable() 1821 static int dce_v10_0_crtc_do_set_base(struct drm_crtc *crtc, in dce_v10_0_crtc_do_set_base() 2057 static void dce_v10_0_set_interleave(struct drm_crtc *crtc, in dce_v10_0_set_interleave() 2073 static void dce_v10_0_crtc_load_lut(struct drm_crtc *crtc) in dce_v10_0_crtc_load_lut() 2212 static u32 dce_v10_0_pick_pll(struct drm_crtc *crtc) in dce_v10_0_pick_pll() 2249 static void dce_v10_0_lock_cursor(struct drm_crtc *crtc, bool lock) in dce_v10_0_lock_cursor() 2263 static void dce_v10_0_hide_cursor(struct drm_crtc *crtc) in dce_v10_0_hide_cursor() [all …]
|
/dflybsd-src/sys/dev/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_crc.c | 49 int amdgpu_dm_crtc_set_crc_source(struct drm_crtc *crtc, const char *src_name, in amdgpu_dm_crtc_set_crc_source() 104 void amdgpu_dm_crtc_handle_crc_irq(struct drm_crtc *crtc) in amdgpu_dm_crtc_handle_crc_irq()
|