Home
last modified time | relevance | path

Searched refs:drm_crtc (Results 1 – 200 of 204) sorted by relevance

12

/linux-4.4.14/drivers/gpu/drm/gma500/
Dgma_display.h51 bool (*find_pll)(const struct gma_limit_t *, struct drm_crtc *,
58 const struct gma_limit_t *(*limit)(struct drm_crtc *crtc, int refclk);
59 bool (*pll_is_valid)(struct drm_crtc *crtc,
65 extern bool gma_pipe_has_type(struct drm_crtc *crtc, int type);
67 extern int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y,
69 extern int gma_crtc_cursor_set(struct drm_crtc *crtc,
73 extern int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y);
74 extern void gma_crtc_load_lut(struct drm_crtc *crtc);
75 extern void gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
77 extern void gma_crtc_dpms(struct drm_crtc *crtc, int mode);
[all …]
Dgma_display.c32 bool gma_pipe_has_type(struct drm_crtc *crtc, int type) in gma_pipe_has_type()
56 int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y, in gma_pipe_set_base()
139 void gma_crtc_load_lut(struct drm_crtc *crtc) in gma_crtc_load_lut()
178 void gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, in gma_crtc_gamma_set()
200 void gma_crtc_dpms(struct drm_crtc *crtc, int mode) in gma_crtc_dpms()
330 int gma_crtc_cursor_set(struct drm_crtc *crtc, in gma_crtc_cursor_set()
458 int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in gma_crtc_cursor_move()
495 bool gma_crtc_mode_fixup(struct drm_crtc *crtc, in gma_crtc_mode_fixup()
502 void gma_crtc_prepare(struct drm_crtc *crtc) in gma_crtc_prepare()
508 void gma_crtc_commit(struct drm_crtc *crtc) in gma_crtc_commit()
[all …]
Dcdv_device.h28 struct drm_crtc *crtc);
29 extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);
Dpsb_intel_drv.h166 struct drm_crtc base;
241 struct drm_crtc *crtc);
242 extern struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev,
272 extern void cdv_intel_dp_set_m_n(struct drm_crtc *crtc,
Doaktrail_crtc.c47 struct drm_crtc *crtc, int target,
51 struct drm_crtc *crtc, int target,
90 static const struct gma_limit_t *mrst_limit(struct drm_crtc *crtc, in mrst_limit()
134 struct drm_crtc *crtc, int target, in mrst_sdvo_find_best_pll()
191 struct drm_crtc *crtc, int target, in mrst_lvds_find_best_pll()
222 static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_dpms()
364 static int oaktrail_crtc_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_mode_set()
596 static int oaktrail_pipe_set_base(struct drm_crtc *crtc, in oaktrail_pipe_set_base()
Dcdv_intel_display.c33 struct drm_crtc *crtc, int target,
222 cdv_dpll_set_clock_cdv(struct drm_device *dev, struct drm_crtc *crtc, in cdv_dpll_set_clock_cdv()
373 static const struct gma_limit_t *cdv_intel_limit(struct drm_crtc *crtc, in cdv_intel_limit()
411 struct drm_crtc *crtc, int target, in cdv_intel_find_dp_pll()
465 struct drm_crtc *crtc; in cdv_intel_pipe_enabled()
498 void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc) in cdv_update_wm()
578 static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc, in cdv_intel_crtc_mode_set()
850 struct drm_crtc *crtc) in cdv_intel_crtc_clock_get()
929 struct drm_crtc *crtc) in cdv_intel_crtc_mode_get()
Dpsb_intel_display.c65 static const struct gma_limit_t *psb_intel_limit(struct drm_crtc *crtc, in psb_intel_limit()
102 static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, in psb_intel_crtc_mode_set()
309 struct drm_crtc *crtc) in psb_intel_crtc_clock_get()
385 struct drm_crtc *crtc) in psb_intel_crtc_mode_get()
559 struct drm_crtc *psb_intel_get_crtc_from_pipe(struct drm_device *dev, int pipe) in psb_intel_get_crtc_from_pipe()
561 struct drm_crtc *crtc = NULL; in psb_intel_get_crtc_from_pipe()
Doaktrail.h252 extern int oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode,
255 extern void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode);
Dmdfld_intel_display.c163 static int mdfld__intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, in mdfld__intel_pipe_set_base()
304 static void mdfld_crtc_dpms(struct drm_crtc *crtc, int mode) in mdfld_crtc_dpms()
589 static const struct mrst_limit_t *mdfld_limit(struct drm_crtc *crtc) in mdfld_limit()
639 mdfldFindBestPLL(struct drm_crtc *crtc, int target, int refclk, in mdfldFindBestPLL()
665 static int mdfld_crtc_mode_set(struct drm_crtc *crtc, in mdfld_crtc_mode_set()
Dpsb_device.c183 struct drm_crtc *crtc; in psb_save_display_registers()
221 struct drm_crtc *crtc; in psb_restore_display_registers()
Dpsb_drv.h493 struct drm_crtc *plane_to_crtc_mapping[PSB_NUM_PIPE];
494 struct drm_crtc *pipe_to_crtc_mapping[PSB_NUM_PIPE];
656 void (*update_wm)(struct drm_device *dev, struct drm_crtc *crtc);
Doaktrail_hdmi.c174 static void oaktrail_hdmi_find_dpll(struct drm_crtc *crtc, int target, in oaktrail_hdmi_find_dpll()
259 int oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_hdmi_mode_set()
379 void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_hdmi_dpms()
Dcdv_intel_crt.c90 struct drm_crtc *crtc = encoder->crtc; in cdv_intel_crt_mode_set()
Dframebuffer.c509 static void psbfb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in psbfb_gamma_set()
519 static void psbfb_gamma_get(struct drm_crtc *crtc, u16 *red, in psbfb_gamma_get()
Dcdv_intel_hdmi.c70 struct drm_crtc *crtc = encoder->crtc; in cdv_hdmi_mode_set()
Doaktrail_lvds.c100 struct drm_crtc *crtc = encoder->crtc; in oaktrail_lvds_mode_set()
Dcdv_intel_dp.c985 cdv_intel_dp_set_m_n(struct drm_crtc *crtc, struct drm_display_mode *mode, in cdv_intel_dp_set_m_n()
1042 struct drm_crtc *crtc = encoder->crtc; in cdv_intel_dp_mode_set()
1887 struct drm_crtc *crtc = encoder->base.crtc; in cdv_intel_dp_set_property()
Dcdv_intel_lvds.c617 struct drm_crtc *crtc; in cdv_intel_lvds_init()
Dpsb_intel_sdvo.c992 struct drm_crtc *crtc = encoder->crtc; in psb_intel_sdvo_mode_set()
1796 struct drm_crtc *crtc = psb_intel_sdvo->base.base.crtc; in psb_intel_sdvo_set_property()
1819 struct drm_crtc *crtc = encoder->crtc; in psb_intel_sdvo_restore()
Dpsb_intel_lvds.c692 struct drm_crtc *crtc; in psb_intel_lvds_init()
/linux-4.4.14/include/drm/
Ddrm_crtc_helper.h80 void (*dpms)(struct drm_crtc *crtc, int mode);
81 void (*prepare)(struct drm_crtc *crtc);
82 void (*commit)(struct drm_crtc *crtc);
85 bool (*mode_fixup)(struct drm_crtc *crtc,
89 int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode,
93 void (*mode_set_nofb)(struct drm_crtc *crtc);
96 int (*mode_set_base)(struct drm_crtc *crtc, int x, int y,
98 int (*mode_set_base_atomic)(struct drm_crtc *crtc,
103 void (*load_lut)(struct drm_crtc *crtc);
105 void (*disable)(struct drm_crtc *crtc);
[all …]
Ddrm_atomic.h45 struct drm_crtc *crtc);
46 int drm_atomic_crtc_set_property(struct drm_crtc *crtc,
72 struct drm_crtc *crtc) in drm_atomic_get_existing_crtc_state()
120 struct drm_crtc *crtc);
125 struct drm_crtc *crtc);
128 struct drm_crtc *crtc);
131 struct drm_crtc *crtc);
135 struct drm_crtc *crtc);
Ddrm_atomic_helper.h71 struct drm_crtc *crtc,
84 int drm_atomic_helper_crtc_set_property(struct drm_crtc *crtc,
93 int drm_atomic_helper_page_flip(struct drm_crtc *crtc,
101 void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc);
102 void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc,
105 drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc);
106 void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
108 void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
Ddrm_crtc.h245 struct drm_crtc;
278 struct drm_crtc *crtc;
343 void (*save)(struct drm_crtc *crtc); /* suspend? */
345 void (*restore)(struct drm_crtc *crtc); /* resume? */
347 void (*reset)(struct drm_crtc *crtc);
350 int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv,
352 int (*cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv,
355 int (*cursor_move)(struct drm_crtc *crtc, int x, int y);
358 void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
361 void (*destroy)(struct drm_crtc *crtc);
[all …]
Ddrm_modeset_lock.h129 struct drm_crtc;
134 void drm_modeset_lock_crtc(struct drm_crtc *crtc,
136 void drm_modeset_unlock_crtc(struct drm_crtc *crtc);
139 drm_modeset_legacy_acquire_ctx(struct drm_crtc *crtc);
Ddrm_plane_helper.h46 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
80 struct drm_crtc *crtc,
91 struct drm_crtc *crtc,
101 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
DdrmP.h947 extern u32 drm_crtc_vblank_count(struct drm_crtc *crtc);
950 extern u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc,
954 extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc,
958 extern void drm_crtc_arm_vblank_event(struct drm_crtc *crtc,
961 extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc);
964 extern int drm_crtc_vblank_get(struct drm_crtc *crtc);
965 extern void drm_crtc_vblank_put(struct drm_crtc *crtc);
967 extern void drm_crtc_wait_one_vblank(struct drm_crtc *crtc);
970 extern void drm_crtc_vblank_off(struct drm_crtc *crtc);
971 extern void drm_crtc_vblank_reset(struct drm_crtc *crtc);
[all …]
Ddrm_fb_helper.h89 void (*gamma_set)(struct drm_crtc *crtc, u16 red, u16 green,
91 void (*gamma_get)(struct drm_crtc *crtc, u16 *red, u16 *green,
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.h27 void amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc,
30 void amdgpu_atombios_crtc_scaler_setup(struct drm_crtc *crtc);
31 void amdgpu_atombios_crtc_lock(struct drm_crtc *crtc, int lock);
32 void amdgpu_atombios_crtc_enable(struct drm_crtc *crtc, int state);
33 void amdgpu_atombios_crtc_blank(struct drm_crtc *crtc, int state);
34 void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state);
36 void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc,
40 void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc,
53 int amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc,
55 void amdgpu_atombios_crtc_set_pll(struct drm_crtc *crtc,
Damdgpu_pll.h34 u32 amdgpu_pll_get_use_mask(struct drm_crtc *crtc);
35 int amdgpu_pll_get_shared_dp_ppll(struct drm_crtc *crtc);
36 int amdgpu_pll_get_shared_nondp_ppll(struct drm_crtc *crtc);
Damdgpu_pll.c259 u32 amdgpu_pll_get_use_mask(struct drm_crtc *crtc) in amdgpu_pll_get_use_mask()
262 struct drm_crtc *test_crtc; in amdgpu_pll_get_use_mask()
286 int amdgpu_pll_get_shared_dp_ppll(struct drm_crtc *crtc) in amdgpu_pll_get_shared_dp_ppll()
289 struct drm_crtc *test_crtc; in amdgpu_pll_get_shared_dp_ppll()
315 int amdgpu_pll_get_shared_nondp_ppll(struct drm_crtc *crtc) in amdgpu_pll_get_shared_nondp_ppll()
319 struct drm_crtc *test_crtc; in amdgpu_pll_get_shared_nondp_ppll()
Datombios_crtc.c38 void amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc, in amdgpu_atombios_crtc_overscan_setup()
83 void amdgpu_atombios_crtc_scaler_setup(struct drm_crtc *crtc) in amdgpu_atombios_crtc_scaler_setup()
112 void amdgpu_atombios_crtc_lock(struct drm_crtc *crtc, int lock) in amdgpu_atombios_crtc_lock()
129 void amdgpu_atombios_crtc_enable(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_enable()
145 void amdgpu_atombios_crtc_blank(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_blank()
161 void amdgpu_atombios_crtc_powergate(struct drm_crtc *crtc, int state) in amdgpu_atombios_crtc_powergate()
189 void amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc, in amdgpu_atombios_crtc_set_dtd_timing()
304 static u32 amdgpu_atombios_crtc_adjust_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_adjust_pll()
525 void amdgpu_atombios_crtc_program_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_program_pll()
668 int amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc, in amdgpu_atombios_crtc_prepare_pll()
[all …]
Ddce_v8_0.c1950 static void dce_v8_0_vga_enable(struct drm_crtc *crtc, bool enable) in dce_v8_0_vga_enable()
1964 static void dce_v8_0_grph_enable(struct drm_crtc *crtc, bool enable) in dce_v8_0_grph_enable()
1976 static int dce_v8_0_crtc_do_set_base(struct drm_crtc *crtc, in dce_v8_0_crtc_do_set_base()
2200 static void dce_v8_0_set_interleave(struct drm_crtc *crtc, in dce_v8_0_set_interleave()
2214 static void dce_v8_0_crtc_load_lut(struct drm_crtc *crtc) in dce_v8_0_crtc_load_lut()
2332 static u32 dce_v8_0_pick_pll(struct drm_crtc *crtc) in dce_v8_0_pick_pll()
2382 static void dce_v8_0_lock_cursor(struct drm_crtc *crtc, bool lock) in dce_v8_0_lock_cursor()
2396 static void dce_v8_0_hide_cursor(struct drm_crtc *crtc) in dce_v8_0_hide_cursor()
2406 static void dce_v8_0_show_cursor(struct drm_crtc *crtc) in dce_v8_0_show_cursor()
2422 static int dce_v8_0_cursor_move_locked(struct drm_crtc *crtc, in dce_v8_0_cursor_move_locked()
[all …]
Ddce_v11_0.c2001 static void dce_v11_0_vga_enable(struct drm_crtc *crtc, bool enable) in dce_v11_0_vga_enable()
2015 static void dce_v11_0_grph_enable(struct drm_crtc *crtc, bool enable) in dce_v11_0_grph_enable()
2027 static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc, in dce_v11_0_crtc_do_set_base()
2268 static void dce_v11_0_set_interleave(struct drm_crtc *crtc, in dce_v11_0_set_interleave()
2284 static void dce_v11_0_crtc_load_lut(struct drm_crtc *crtc) in dce_v11_0_crtc_load_lut()
2410 static u32 dce_v11_0_pick_pll(struct drm_crtc *crtc) in dce_v11_0_pick_pll()
2457 static void dce_v11_0_lock_cursor(struct drm_crtc *crtc, bool lock) in dce_v11_0_lock_cursor()
2471 static void dce_v11_0_hide_cursor(struct drm_crtc *crtc) in dce_v11_0_hide_cursor()
2482 static void dce_v11_0_show_cursor(struct drm_crtc *crtc) in dce_v11_0_show_cursor()
2499 static int dce_v11_0_cursor_move_locked(struct drm_crtc *crtc, in dce_v11_0_cursor_move_locked()
[all …]
Ddce_v10_0.c2013 static void dce_v10_0_vga_enable(struct drm_crtc *crtc, bool enable) in dce_v10_0_vga_enable()
2027 static void dce_v10_0_grph_enable(struct drm_crtc *crtc, bool enable) in dce_v10_0_grph_enable()
2039 static int dce_v10_0_crtc_do_set_base(struct drm_crtc *crtc, in dce_v10_0_crtc_do_set_base()
2280 static void dce_v10_0_set_interleave(struct drm_crtc *crtc, in dce_v10_0_set_interleave()
2296 static void dce_v10_0_crtc_load_lut(struct drm_crtc *crtc) in dce_v10_0_crtc_load_lut()
2431 static u32 dce_v10_0_pick_pll(struct drm_crtc *crtc) in dce_v10_0_pick_pll()
2468 static void dce_v10_0_lock_cursor(struct drm_crtc *crtc, bool lock) in dce_v10_0_lock_cursor()
2482 static void dce_v10_0_hide_cursor(struct drm_crtc *crtc) in dce_v10_0_hide_cursor()
2493 static void dce_v10_0_show_cursor(struct drm_crtc *crtc) in dce_v10_0_show_cursor()
2510 static int dce_v10_0_cursor_move_locked(struct drm_crtc *crtc, in dce_v10_0_cursor_move_locked()
[all …]
Damdgpu_mode.h368 struct drm_crtc base;
566 bool amdgpu_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
590 int amdgpu_crtc_page_flip(struct drm_crtc *crtc,
Damdgpu_display.c73 struct drm_crtc *crtc = &amdgpuCrtc->base; in amdgpu_flip_work_func()
166 int amdgpu_crtc_page_flip(struct drm_crtc *crtc, in amdgpu_crtc_page_flip()
288 struct drm_crtc *crtc; in amdgpu_crtc_set_config()
681 bool amdgpu_crtc_scaling_mode_fixup(struct drm_crtc *crtc, in amdgpu_crtc_scaling_mode_fixup()
Damdgpu_fb.c300 static void amdgpu_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in amdgpu_crtc_fb_gamma_set()
311 static void amdgpu_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in amdgpu_crtc_fb_gamma_get()
Damdgpu_kms.c167 struct drm_crtc *crtc; in amdgpu_info_ioctl()
181 crtc = (struct drm_crtc *)minfo->crtcs[i]; in amdgpu_info_ioctl()
720 struct drm_crtc *crtc; in amdgpu_get_vblank_timestamp_kms()
Damdgpu_dpm.c119 struct drm_crtc *crtc; in amdgpu_dpm_get_vblank_time()
145 struct drm_crtc *crtc; in amdgpu_dpm_get_vrefresh()
Damdgpu_drv.c417 struct drm_crtc *crtc; in amdgpu_pmops_runtime_idle()
Damdgpu_device.c1639 struct drm_crtc *crtc; in amdgpu_suspend_kms()
1727 struct drm_crtc *crtc; in amdgpu_resume_kms()
Damdgpu_pm.c746 struct drm_crtc *crtc; in amdgpu_pm_compute_clocks()
Damdgpu_connectors.c97 struct drm_crtc *crtc = encoder->crtc; in amdgpu_connector_property_change_mode()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.h81 struct drm_crtc *crtc;
165 struct drm_crtc *tilcdc_crtc_create(struct drm_device *dev);
166 void tilcdc_crtc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file);
167 irqreturn_t tilcdc_crtc_irq(struct drm_crtc *crtc);
168 void tilcdc_crtc_update_clk(struct drm_crtc *crtc);
169 void tilcdc_crtc_set_panel_info(struct drm_crtc *crtc,
171 void tilcdc_crtc_set_simulate_vesa_sync(struct drm_crtc *crtc,
173 int tilcdc_crtc_mode_valid(struct drm_crtc *crtc, struct drm_display_mode *mode);
174 int tilcdc_crtc_max_width(struct drm_crtc *crtc);
Dtilcdc_crtc.c25 struct drm_crtc base;
57 static void set_scanout(struct drm_crtc *crtc, int n) in set_scanout()
87 static void update_scanout(struct drm_crtc *crtc) in update_scanout()
117 static void start(struct drm_crtc *crtc) in start()
134 static void stop(struct drm_crtc *crtc) in stop()
141 static void tilcdc_crtc_dpms(struct drm_crtc *crtc, int mode);
142 static void tilcdc_crtc_destroy(struct drm_crtc *crtc) in tilcdc_crtc_destroy()
154 static int tilcdc_crtc_page_flip(struct drm_crtc *crtc, in tilcdc_crtc_page_flip()
174 static void tilcdc_crtc_dpms(struct drm_crtc *crtc, int mode) in tilcdc_crtc_dpms()
216 static bool tilcdc_crtc_mode_fixup(struct drm_crtc *crtc, in tilcdc_crtc_mode_fixup()
[all …]
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_crtc.c23 static void sti_crtc_enable(struct drm_crtc *crtc) in sti_crtc_enable()
45 static void sti_crtc_disabling(struct drm_crtc *crtc) in sti_crtc_disabling()
54 static bool sti_crtc_mode_fixup(struct drm_crtc *crtc, in sti_crtc_mode_fixup()
63 sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) in sti_crtc_mode_set()
113 static void sti_crtc_disable(struct drm_crtc *crtc) in sti_crtc_disable()
139 sti_crtc_mode_set_nofb(struct drm_crtc *crtc) in sti_crtc_mode_set_nofb()
145 static void sti_crtc_atomic_begin(struct drm_crtc *crtc, in sti_crtc_atomic_begin()
160 static void sti_crtc_atomic_flush(struct drm_crtc *crtc, in sti_crtc_atomic_flush()
240 static void sti_crtc_destroy(struct drm_crtc *crtc) in sti_crtc_destroy()
246 static int sti_crtc_set_property(struct drm_crtc *crtc, in sti_crtc_set_property()
[all …]
Dsti_mixer.h16 #define to_sti_mixer(x) container_of(x, struct sti_mixer, drm_crtc)
38 struct drm_crtc drm_crtc; member
Dsti_crtc.h20 bool sti_crtc_is_main(struct drm_crtc *drm_crtc);
Dsti_vtg.h21 struct drm_crtc *crtc);
Dsti_vid.c49 struct drm_crtc *crtc = state->crtc; in sti_vid_commit()
Dsti_vtg.c93 struct drm_crtc *crtc;
283 struct drm_crtc *crtc) in sti_vtg_register_client()
Dsti_cursor.c119 struct drm_crtc *crtc = state->crtc; in sti_cursor_atomic_update()
Dsti_gdp.c389 struct drm_crtc *crtc = state->crtc; in sti_gdp_atomic_update()
Dsti_hqvdp.c784 struct drm_crtc *crtc = state->crtc; in sti_hqvdp_atomic_update()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_crtc.c26 struct drm_crtc base;
71 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms()
77 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending()
85 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush()
107 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip()
140 static void mdp4_crtc_destroy(struct drm_crtc *crtc) in mdp4_crtc_destroy()
150 static bool mdp4_crtc_mode_fixup(struct drm_crtc *crtc, in mdp4_crtc_mode_fixup()
177 struct drm_crtc *crtc; in setup_mixer()
198 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
246 static void mdp4_crtc_mode_set_nofb(struct drm_crtc *crtc) in mdp4_crtc_mode_set_nofb()
[all …]
Dmdp4_kms.h176 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
177 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
201 uint32_t mdp4_crtc_vblank(struct drm_crtc *crtc);
202 void mdp4_crtc_cancel_pending_flip(struct drm_crtc *crtc, struct drm_file *file);
203 void mdp4_crtc_set_config(struct drm_crtc *crtc, uint32_t config);
204 void mdp4_crtc_set_intf(struct drm_crtc *crtc, enum mdp4_intf intf, int mixer);
205 void mdp4_crtc_wait_for_commit_done(struct drm_crtc *crtc);
206 struct drm_crtc *mdp4_crtc_init(struct drm_device *dev,
Dmdp4_irq.c91 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank()
103 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_disable_vblank()
Dmdp4_kms.c139 struct drm_crtc *crtc = state->crtcs[i]; in mdp4_prepare_commit()
153 struct drm_crtc *crtc = state->crtcs[i]; in mdp4_complete_commit()
163 struct drm_crtc *crtc) in mdp4_wait_for_crtc_commit_done()
285 struct drm_crtc *crtc; in modeset_init()
Dmdp4_plane.c55 struct drm_crtc *crtc, struct drm_framebuffer *fb,
216 struct drm_crtc *crtc, struct drm_framebuffer *fb, in mdp4_plane_mode_set()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c24 static void exynos_drm_crtc_enable(struct drm_crtc *crtc) in exynos_drm_crtc_enable()
34 static void exynos_drm_crtc_disable(struct drm_crtc *crtc) in exynos_drm_crtc_disable()
45 exynos_drm_crtc_mode_set_nofb(struct drm_crtc *crtc) in exynos_drm_crtc_mode_set_nofb()
53 static int exynos_crtc_atomic_check(struct drm_crtc *crtc, in exynos_crtc_atomic_check()
67 static void exynos_crtc_atomic_begin(struct drm_crtc *crtc, in exynos_crtc_atomic_begin()
84 static void exynos_crtc_atomic_flush(struct drm_crtc *crtc, in exynos_crtc_atomic_flush()
108 static void exynos_drm_crtc_destroy(struct drm_crtc *crtc) in exynos_drm_crtc_destroy()
137 struct drm_crtc *crtc; in exynos_drm_crtc_create()
202 struct drm_crtc *crtc = &exynos_crtc->base; in exynos_drm_crtc_finish_update()
222 struct drm_crtc *crtc; in exynos_drm_crtc_complete_scanout()
[all …]
Dexynos_drm_drv.h146 struct drm_crtc base;
188 struct drm_crtc *crtc[MAX_CRTC];
Dexynos_drm_crtc.h42 void exynos_drm_crtc_te_handler(struct drm_crtc *crtc);
Dexynos_drm_plane.c60 struct drm_crtc *crtc, in exynos_plane_mode_set()
Dexynos_drm_drv.c51 struct drm_crtc *crtc; in exynos_atomic_wait_for_commit()
75 struct drm_crtc *crtc; in exynos_atomic_commit_complete()
Dexynos_hdmi.c1611 struct drm_crtc *crtc = encoder->crtc; in hdmi_disable()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_crtc.c32 struct drm_crtc base;
60 uint32_t pipe2vbl(struct drm_crtc *crtc) in pipe2vbl()
67 struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings()
73 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc) in omap_crtc_channel()
79 int omap_crtc_wait_pending(struct drm_crtc *crtc) in omap_crtc_wait_pending()
132 static void omap_crtc_set_enabled(struct drm_crtc *crtc, bool enable) in omap_crtc_set_enabled()
260 static void omap_crtc_complete_page_flip(struct drm_crtc *crtc) in omap_crtc_complete_page_flip()
330 static void omap_crtc_destroy(struct drm_crtc *crtc) in omap_crtc_destroy()
344 static bool omap_crtc_mode_fixup(struct drm_crtc *crtc, in omap_crtc_mode_fixup()
351 static void omap_crtc_enable(struct drm_crtc *crtc) in omap_crtc_enable()
[all …]
Domap_drv.h79 struct drm_crtc *crtcs[8];
144 struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc);
145 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
148 struct drm_crtc *omap_crtc_init(struct drm_device *dev,
150 int omap_crtc_wait_pending(struct drm_crtc *crtc);
243 uint32_t pipe2vbl(struct drm_crtc *crtc);
Domap_irq.c150 struct drm_crtc *crtc = priv->crtcs[pipe]; in omap_irq_enable_vblank()
175 struct drm_crtc *crtc = priv->crtcs[pipe]; in omap_irq_disable_vblank()
202 struct drm_crtc *crtc = priv->crtcs[id]; in omap_irq_handler()
Domap_drv.c73 struct drm_crtc *crtc; in omap_atomic_wait_for_completion()
229 struct drm_crtc *crtc = priv->crtcs[i]; in channel_used()
284 struct drm_crtc *crtc; in omap_modeset_create_crtc()
472 struct drm_crtc *crtc = priv->crtcs[id]; in omap_modeset_init()
Domap_fb.c338 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in omap_framebuffer_get_next_connector()
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c33 struct drm_crtc base;
81 static struct mdp5_kms *get_kms(struct drm_crtc *crtc) in get_kms()
87 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending()
95 static void request_pp_done_pending(struct drm_crtc *crtc) in request_pp_done_pending()
101 static u32 crtc_flush(struct drm_crtc *crtc, u32 flush_mask) in crtc_flush()
114 static u32 crtc_flush_all(struct drm_crtc *crtc) in crtc_flush_all()
134 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip()
178 static void mdp5_crtc_destroy(struct drm_crtc *crtc) in mdp5_crtc_destroy()
188 static bool mdp5_crtc_mode_fixup(struct drm_crtc *crtc, in mdp5_crtc_mode_fixup()
202 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
[all …]
Dmdp5_kms.h197 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
198 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc);
211 uint32_t mdp5_crtc_vblank(struct drm_crtc *crtc);
213 int mdp5_crtc_get_lm(struct drm_crtc *crtc);
214 void mdp5_crtc_cancel_pending_flip(struct drm_crtc *crtc, struct drm_file *file);
215 void mdp5_crtc_set_pipeline(struct drm_crtc *crtc,
217 void mdp5_crtc_wait_for_commit_done(struct drm_crtc *crtc);
218 struct drm_crtc *mdp5_crtc_init(struct drm_device *dev,
Dmdp5_irq.c117 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank()
129 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_disable_vblank()
Dmdp5_kms.c97 struct drm_crtc *crtc) in mdp5_wait_for_crtc_commit_done()
375 struct drm_crtc *crtc; in modeset_init()
Dmdp5_plane.c39 struct drm_crtc *crtc, struct drm_framebuffer *fb,
666 struct drm_crtc *crtc, struct drm_framebuffer *fb, in mdp5_plane_mode_set()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c44 struct drm_crtc base;
52 drm_crtc_to_atmel_hlcdc_crtc(struct drm_crtc *crtc) in drm_crtc_to_atmel_hlcdc_crtc()
57 static void atmel_hlcdc_crtc_mode_set_nofb(struct drm_crtc *c) in atmel_hlcdc_crtc_mode_set_nofb()
124 static bool atmel_hlcdc_crtc_mode_fixup(struct drm_crtc *crtc, in atmel_hlcdc_crtc_mode_fixup()
131 static void atmel_hlcdc_crtc_disable(struct drm_crtc *c) in atmel_hlcdc_crtc_disable()
170 static void atmel_hlcdc_crtc_enable(struct drm_crtc *c) in atmel_hlcdc_crtc_enable()
210 void atmel_hlcdc_crtc_suspend(struct drm_crtc *c) in atmel_hlcdc_crtc_suspend()
221 void atmel_hlcdc_crtc_resume(struct drm_crtc *c) in atmel_hlcdc_crtc_resume()
231 static int atmel_hlcdc_crtc_atomic_check(struct drm_crtc *c, in atmel_hlcdc_crtc_atomic_check()
242 static void atmel_hlcdc_crtc_atomic_begin(struct drm_crtc *c, in atmel_hlcdc_crtc_atomic_begin()
[all …]
Datmel_hlcdc_dc.h136 struct drm_crtc *crtc;
153 void atmel_hlcdc_crtc_irq(struct drm_crtc *c);
155 void atmel_hlcdc_crtc_cancel_page_flip(struct drm_crtc *crtc,
158 void atmel_hlcdc_crtc_suspend(struct drm_crtc *crtc);
159 void atmel_hlcdc_crtc_resume(struct drm_crtc *crtc);
Datmel_hlcdc_dc.c620 struct drm_crtc *crtc; in atmel_hlcdc_dc_preclose()
782 struct drm_crtc *crtc; in atmel_hlcdc_dc_drm_suspend()
797 struct drm_crtc *crtc; in atmel_hlcdc_dc_drm_resume()
/linux-4.4.14/drivers/gpu/drm/imx/
Dimx-drm.h5 struct drm_crtc;
19 int (*enable_vblank)(struct drm_crtc *crtc);
20 void (*disable_vblank)(struct drm_crtc *crtc);
21 int (*set_interface_pix_fmt)(struct drm_crtc *crtc,
27 int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc,
Dipuv3-crtc.c36 struct drm_crtc base;
87 static void ipu_crtc_dpms(struct drm_crtc *crtc, int mode) in ipu_crtc_dpms()
105 static int ipu_page_flip(struct drm_crtc *crtc, in ipu_page_flip()
137 static int ipu_crtc_mode_set(struct drm_crtc *crtc, in ipu_crtc_mode_set()
240 static bool ipu_crtc_mode_fixup(struct drm_crtc *crtc, in ipu_crtc_mode_fixup()
259 static void ipu_crtc_prepare(struct drm_crtc *crtc) in ipu_crtc_prepare()
266 static void ipu_crtc_commit(struct drm_crtc *crtc) in ipu_crtc_commit()
281 static int ipu_enable_vblank(struct drm_crtc *crtc) in ipu_enable_vblank()
286 static void ipu_disable_vblank(struct drm_crtc *crtc) in ipu_disable_vblank()
294 static int ipu_set_interface_pix_fmt(struct drm_crtc *crtc, in ipu_set_interface_pix_fmt()
Dipuv3-plane.h9 struct drm_crtc;
40 int ipu_plane_mode_set(struct ipu_plane *plane, struct drm_crtc *crtc,
Dimx-drm-core.c48 struct drm_crtc *crtc;
94 static struct imx_drm_crtc *imx_drm_find_crtc(struct drm_crtc *crtc) in imx_drm_find_crtc()
342 int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc, in imx_drm_add_crtc()
Dipuv3-plane.c106 int ipu_plane_mode_set(struct ipu_plane *ipu_plane, struct drm_crtc *crtc, in ipu_plane_mode_set()
315 static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ipu_update_plane()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_modeset.c230 static int udl_crtc_write_mode_to_hw(struct drm_crtc *crtc) in udl_crtc_write_mode_to_hw()
251 static void udl_crtc_dpms(struct drm_crtc *crtc, int mode) in udl_crtc_dpms()
282 static bool udl_crtc_mode_fixup(struct drm_crtc *crtc, in udl_crtc_mode_fixup()
292 udl_pipe_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb,
299 udl_pipe_set_base(struct drm_crtc *crtc, int x, int y,
306 static int udl_crtc_mode_set(struct drm_crtc *crtc, in udl_crtc_mode_set()
356 static void udl_crtc_disable(struct drm_crtc *crtc) in udl_crtc_disable()
361 static void udl_crtc_destroy(struct drm_crtc *crtc) in udl_crtc_destroy()
367 static int udl_crtc_page_flip(struct drm_crtc *crtc, in udl_crtc_page_flip()
394 static void udl_crtc_prepare(struct drm_crtc *crtc) in udl_crtc_prepare()
[all …]
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c25 static void fsl_dcu_drm_crtc_atomic_begin(struct drm_crtc *crtc, in fsl_dcu_drm_crtc_atomic_begin()
30 static int fsl_dcu_drm_crtc_atomic_check(struct drm_crtc *crtc, in fsl_dcu_drm_crtc_atomic_check()
36 static void fsl_dcu_drm_crtc_atomic_flush(struct drm_crtc *crtc, in fsl_dcu_drm_crtc_atomic_flush()
41 static void fsl_dcu_drm_disable_crtc(struct drm_crtc *crtc) in fsl_dcu_drm_disable_crtc()
58 static void fsl_dcu_drm_crtc_enable(struct drm_crtc *crtc) in fsl_dcu_drm_crtc_enable()
75 static bool fsl_dcu_drm_crtc_mode_fixup(struct drm_crtc *crtc, in fsl_dcu_drm_crtc_mode_fixup()
82 static void fsl_dcu_drm_crtc_mode_set_nofb(struct drm_crtc *crtc) in fsl_dcu_drm_crtc_mode_set_nofb()
172 struct drm_crtc *crtc = &fsl_dev->crtc; in fsl_dcu_drm_crtc_create()
Dfsl_dcu_drm_output.h31 struct drm_crtc *crtc);
Dfsl_dcu_drm_rgb.c53 struct drm_crtc *crtc) in fsl_dcu_drm_encoder_create()
Dfsl_dcu_drm_drv.h188 struct drm_crtc crtc;
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_kms.c21 static void bochs_crtc_dpms(struct drm_crtc *crtc, int mode) in bochs_crtc_dpms()
33 static bool bochs_crtc_mode_fixup(struct drm_crtc *crtc, in bochs_crtc_mode_fixup()
40 static int bochs_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in bochs_crtc_mode_set_base()
82 static int bochs_crtc_mode_set(struct drm_crtc *crtc, in bochs_crtc_mode_set()
95 static void bochs_crtc_prepare(struct drm_crtc *crtc) in bochs_crtc_prepare()
99 static void bochs_crtc_commit(struct drm_crtc *crtc) in bochs_crtc_commit()
103 static void bochs_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in bochs_crtc_gamma_set()
108 static int bochs_crtc_page_flip(struct drm_crtc *crtc, in bochs_crtc_page_flip()
148 struct drm_crtc *crtc = &bochs->crtc; in bochs_crtc_init()
Dbochs_fbdev.c165 void bochs_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in bochs_fb_gamma_set()
170 void bochs_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in bochs_fb_gamma_get()
Dbochs.h75 struct drm_crtc crtc;
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_mode.c34 static void cirrus_crtc_load_lut(struct drm_crtc *crtc) in cirrus_crtc_load_lut()
58 static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode) in cirrus_crtc_dpms()
99 static bool cirrus_crtc_mode_fixup(struct drm_crtc *crtc, in cirrus_crtc_mode_fixup()
106 static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) in cirrus_set_start_address()
130 static int cirrus_crtc_do_set_base(struct drm_crtc *crtc, in cirrus_crtc_do_set_base()
179 static int cirrus_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in cirrus_crtc_mode_set_base()
193 static int cirrus_crtc_mode_set(struct drm_crtc *crtc, in cirrus_crtc_mode_set()
323 static void cirrus_crtc_prepare(struct drm_crtc *crtc) in cirrus_crtc_prepare()
331 static void cirrus_crtc_commit(struct drm_crtc *crtc) in cirrus_crtc_commit()
340 static void cirrus_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in cirrus_crtc_gamma_set()
[all …]
Dcirrus_drv.h97 struct drm_crtc base;
184 void cirrus_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
186 void cirrus_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green,
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.h39 int (*enable_vblank)(struct drm_crtc *crtc);
40 void (*disable_vblank)(struct drm_crtc *crtc);
61 int rockchip_drm_crtc_mode_config(struct drm_crtc *crtc, int connector_type,
Drockchip_drm_vop.c84 struct drm_crtc crtc;
637 static void vop_enable(struct drm_crtc *crtc) in vop_enable()
707 static void vop_disable(struct drm_crtc *crtc) in vop_disable()
789 struct drm_crtc *crtc, in vop_update_plane_event()
989 static int vop_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in vop_update_plane()
1000 static int vop_update_primary_plane(struct drm_crtc *crtc, in vop_update_primary_plane()
1064 int rockchip_drm_crtc_mode_config(struct drm_crtc *crtc, in rockchip_drm_crtc_mode_config()
1077 static int vop_crtc_enable_vblank(struct drm_crtc *crtc) in vop_crtc_enable_vblank()
1094 static void vop_crtc_disable_vblank(struct drm_crtc *crtc) in vop_crtc_disable_vblank()
1112 static void vop_crtc_dpms(struct drm_crtc *crtc, int mode) in vop_crtc_dpms()
[all …]
Drockchip_drm_drv.c93 static struct drm_crtc *rockchip_crtc_from_pipe(struct drm_device *drm, in rockchip_crtc_from_pipe()
96 struct drm_crtc *crtc; in rockchip_crtc_from_pipe()
110 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_enable_vblank()
123 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_disable_vblank()
392 struct drm_crtc *crtc = encoder->crtc; in rockchip_drm_encoder_get_mux_id()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_crtc.c44 struct drm_crtc base;
62 to_vc4_crtc(struct drm_crtc *crtc) in to_vc4_crtc()
115 struct drm_crtc *crtc; in vc4_crtc_debugfs_regs()
139 static void vc4_crtc_destroy(struct drm_crtc *crtc) in vc4_crtc_destroy()
166 static int vc4_get_clock_select(struct drm_crtc *crtc) in vc4_get_clock_select()
183 static void vc4_crtc_mode_set_nofb(struct drm_crtc *crtc) in vc4_crtc_mode_set_nofb()
257 static void vc4_crtc_disable(struct drm_crtc *crtc) in vc4_crtc_disable()
295 static void vc4_crtc_enable(struct drm_crtc *crtc) in vc4_crtc_enable()
318 static int vc4_crtc_atomic_check(struct drm_crtc *crtc, in vc4_crtc_atomic_check()
364 static void vc4_crtc_atomic_flush(struct drm_crtc *crtc, in vc4_crtc_atomic_flush()
[all …]
Dvc4_drv.h119 void vc4_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file);
Dvc4_drv.c47 struct drm_crtc *crtc; in vc4_drm_preclose()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c47 nv04_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
51 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state()
57 static void nv_crtc_set_digital_vibrance(struct drm_crtc *crtc, int level) in nv_crtc_set_digital_vibrance()
72 static void nv_crtc_set_image_sharpening(struct drm_crtc *crtc, int level) in nv_crtc_set_image_sharpening()
111 static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct drm_display_mode * mode, int dot_c… in nv_crtc_calc_state_ext()
169 nv_crtc_dpms(struct drm_crtc *crtc, int mode) in nv_crtc_dpms()
231 nv_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, in nv_crtc_mode_fixup()
238 nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) in nv_crtc_mode_set_vga()
462 nv_crtc_mode_set_regs(struct drm_crtc *crtc, struct drm_display_mode * mode) in nv_crtc_mode_set_regs()
610 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs()
[all …]
Ddisp.c42 struct drm_crtc *crtc; in nv04_display_create()
130 struct drm_crtc *crtc; in nv04_display_destroy()
163 struct drm_crtc *crtc; in nv04_display_init()
Dcursor.c31 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state()
43 struct drm_crtc *crtc = &nv_crtc->base; in nv04_cursor_set_offset()
Doverlay.c93 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv10_update_plane()
344 nv04_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv04_update_plane()
Ddfp.c116 struct drm_crtc *crtc; in nv04_dfp_update_fp_control()
514 struct drm_crtc *crtc = encoder->crtc; in nv04_lvds_dpms()
Dtvnv17.c692 struct drm_crtc *crtc = encoder->crtc; in nv17_tv_set_property()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_mode.c41 static int ast_cursor_set(struct drm_crtc *crtc,
46 static int ast_cursor_move(struct drm_crtc *crtc,
63 static void ast_crtc_load_lut(struct drm_crtc *crtc) in ast_crtc_load_lut()
77 static bool ast_get_vbios_mode_info(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_get_vbios_mode_info()
224 static void ast_set_std_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_std_reg()
269 static void ast_set_crtc_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_crtc_reg()
369 static void ast_set_offset_reg(struct drm_crtc *crtc) in ast_set_offset_reg()
394 static void ast_set_ext_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_ext_reg()
452 static bool ast_set_dac_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_dac_reg()
464 static void ast_set_start_address_crt1(struct drm_crtc *crtc, unsigned offset) in ast_set_start_address_crt1()
[all …]
Dast_fb.c264 static void ast_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in ast_fb_gamma_set()
273 static void ast_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in ast_fb_gamma_get()
Dast_drv.h239 struct drm_crtc base;
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h149 struct drm_crtc crtc;
193 void vmw_du_crtc_save(struct drm_crtc *crtc);
194 void vmw_du_crtc_restore(struct drm_crtc *crtc);
195 void vmw_du_crtc_gamma_set(struct drm_crtc *crtc,
198 int vmw_du_crtc_cursor_set2(struct drm_crtc *crtc, struct drm_file *file_priv,
201 int vmw_du_crtc_cursor_move(struct drm_crtc *crtc, int x, int y);
254 struct drm_crtc **p_crtc,
Dvmwgfx_ldu.c69 static void vmw_ldu_crtc_destroy(struct drm_crtc *crtc) in vmw_ldu_crtc_destroy()
80 struct drm_crtc *crtc = NULL; in vmw_ldu_commit_list()
219 struct drm_crtc *crtc; in vmw_ldu_crtc_set_config()
346 struct drm_crtc *crtc; in vmw_ldu_init()
Dvmwgfx_scrn.c114 static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) in vmw_sou_crtc_destroy()
299 struct drm_crtc *crtc; in vmw_sou_crtc_set_config()
436 struct drm_crtc *crtc) in vmw_sou_screen_object_flippable()
454 struct drm_crtc *crtc) in vmw_sou_update_implicit_fb()
464 static int vmw_sou_crtc_page_flip(struct drm_crtc *crtc, in vmw_sou_crtc_page_flip()
582 struct drm_crtc *crtc; in vmw_sou_init()
Dvmwgfx_kms.c140 int vmw_du_crtc_cursor_set2(struct drm_crtc *crtc, struct drm_file *file_priv, in vmw_du_crtc_cursor_set2()
233 int vmw_du_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in vmw_du_crtc_cursor_move()
361 struct drm_crtc *crtc; in vmw_kms_legacy_hotspot_clear()
377 struct drm_crtc *crtc; in vmw_kms_cursor_post_execbuf()
1159 struct drm_crtc *crtc; in vmw_kms_cursor_bypass_ioctl()
1376 void vmw_du_crtc_save(struct drm_crtc *crtc) in vmw_du_crtc_save()
1380 void vmw_du_crtc_restore(struct drm_crtc *crtc) in vmw_du_crtc_restore()
1384 void vmw_du_crtc_gamma_set(struct drm_crtc *crtc, in vmw_du_crtc_gamma_set()
1728 struct drm_crtc *crtc; in vmw_kms_helper_dirty()
2066 struct drm_crtc **p_crtc, in vmw_kms_fbdev_init_data()
Dvmwgfx_stdu.c178 static void vmw_stdu_crtc_destroy(struct drm_crtc *crtc) in vmw_stdu_crtc_destroy()
326 struct drm_crtc *crtc = &stdu->base.crtc; in vmw_stdu_update_st()
417 struct drm_crtc *crtc; in vmw_stdu_crtc_set_config()
643 static int vmw_stdu_crtc_page_flip(struct drm_crtc *crtc, in vmw_stdu_crtc_page_flip()
1130 struct drm_crtc *crtc; in vmw_stdu_init()
Dvmwgfx_fb.c69 struct drm_crtc *crtc;
Dvmwgfx_drv.h156 struct drm_crtc *crtc;
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_cursor.c30 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()
139 static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y) in radeon_cursor_move_locked()
165 struct drm_crtc *crtc_p; in radeon_cursor_move_locked()
238 int radeon_crtc_cursor_move(struct drm_crtc *crtc, in radeon_crtc_cursor_move()
250 int radeon_crtc_cursor_set2(struct drm_crtc *crtc, in radeon_crtc_cursor_set2()
345 void radeon_cursor_reset(struct drm_crtc *crtc) in radeon_cursor_reset()
Dradeon_mode.h328 struct drm_crtc base;
848 extern void radeon_crtc_load_lut(struct drm_crtc *crtc);
849 extern int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y,
851 extern int atombios_crtc_set_base_atomic(struct drm_crtc *crtc,
855 extern int atombios_crtc_mode_set(struct drm_crtc *crtc,
860 extern void atombios_crtc_dpms(struct drm_crtc *crtc, int mode);
862 extern int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y,
864 extern int radeon_crtc_set_base_atomic(struct drm_crtc *crtc,
868 extern int radeon_crtc_do_set_base(struct drm_crtc *crtc,
871 extern int radeon_crtc_cursor_set2(struct drm_crtc *crtc,
[all …]
Dradeon_legacy_crtc.c33 static void radeon_overscan_setup(struct drm_crtc *crtc, in radeon_overscan_setup()
45 static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, in radeon_legacy_rmx_mode_set()
293 static void radeon_crtc_dpms(struct drm_crtc *crtc, int mode) in radeon_crtc_dpms()
354 int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y, in radeon_crtc_set_base()
360 int radeon_crtc_set_base_atomic(struct drm_crtc *crtc, in radeon_crtc_set_base_atomic()
367 int radeon_crtc_do_set_base(struct drm_crtc *crtc, in radeon_crtc_do_set_base()
574 static bool radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_crtc_timing()
733 static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_pll()
1026 static bool radeon_crtc_mode_fixup(struct drm_crtc *crtc, in radeon_crtc_mode_fixup()
1035 static int radeon_crtc_mode_set(struct drm_crtc *crtc, in radeon_crtc_mode_set()
[all …]
Datombios_crtc.c34 static void atombios_overscan_setup(struct drm_crtc *crtc, in atombios_overscan_setup()
79 static void atombios_scaler_setup(struct drm_crtc *crtc) in atombios_scaler_setup()
163 static void atombios_lock_crtc(struct drm_crtc *crtc, int lock) in atombios_lock_crtc()
180 static void atombios_enable_crtc(struct drm_crtc *crtc, int state) in atombios_enable_crtc()
196 static void atombios_enable_crtc_memreq(struct drm_crtc *crtc, int state) in atombios_enable_crtc_memreq()
222 static void atombios_blank_crtc(struct drm_crtc *crtc, int state) in atombios_blank_crtc()
248 static void atombios_powergate_crtc(struct drm_crtc *crtc, int state) in atombios_powergate_crtc()
264 void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) in atombios_crtc_dpms()
297 atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, in atombios_set_crtc_dtd_timing()
344 static void atombios_crtc_set_timing(struct drm_crtc *crtc, in atombios_crtc_set_timing()
[all …]
Dradeon_display.c40 static void avivo_crtc_load_lut(struct drm_crtc *crtc) in avivo_crtc_load_lut()
74 static void dce4_crtc_load_lut(struct drm_crtc *crtc) in dce4_crtc_load_lut()
104 static void dce5_crtc_load_lut(struct drm_crtc *crtc) in dce5_crtc_load_lut()
170 static void legacy_crtc_load_lut(struct drm_crtc *crtc) in legacy_crtc_load_lut()
194 void radeon_crtc_load_lut(struct drm_crtc *crtc) in radeon_crtc_load_lut()
213 void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in radeon_crtc_fb_gamma_set()
224 void radeon_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_fb_gamma_get()
234 static void radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_gamma_set()
249 static void radeon_crtc_destroy(struct drm_crtc *crtc) in radeon_crtc_destroy()
403 struct drm_crtc *crtc = &radeon_crtc->base; in radeon_flip_work_func()
[all …]
Dradeon_kms.c222 struct drm_crtc *crtc; in radeon_info_ioctl()
252 crtc = (struct drm_crtc *)minfo->crtcs[i]; in radeon_info_ioctl()
885 struct drm_crtc *drmcrtc; in radeon_get_vblank_timestamp_kms()
Dradeon_dp_mst.c358 void radeon_dp_mst_prepare_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_dp_mst_prepare_pll()
394 struct drm_crtc *crtc; in radeon_mst_encoder_dpms()
Drs600.c312 struct drm_crtc *crtc; in rs600_pm_prepare()
330 struct drm_crtc *crtc; in rs600_pm_finish()
Drs780_dpm.c52 struct drm_crtc *crtc; in rs780_get_pm_mode_parameters()
61 crtc = (struct drm_crtc *)minfo->crtcs[i]; in rs780_get_pm_mode_parameters()
Dradeon_drv.c502 struct drm_crtc *crtc; in radeon_pmops_runtime_idle()
Dradeon_device.c1561 struct drm_crtc *crtc; in radeon_suspend_kms()
1660 struct drm_crtc *crtc; in radeon_resume_kms()
Dr600_dpm.c157 struct drm_crtc *crtc; in r600_dpm_get_vblank_time()
183 struct drm_crtc *crtc; in r600_dpm_get_vrefresh()
Dradeon_pm.c1634 struct drm_crtc *crtc; in radeon_pm_compute_clocks_old()
1707 struct drm_crtc *crtc; in radeon_pm_compute_clocks_dpm()
Dradeon_connectors.c117 struct drm_crtc *crtc = encoder->crtc; in radeon_property_change_mode()
769 struct drm_crtc *crtc = connector->encoder->crtc; in radeon_connector_set_property()
Dr100.c446 struct drm_crtc *crtc; in r100_pm_prepare()
477 struct drm_crtc *crtc; in r100_pm_finish()
1426 struct drm_crtc *crtc; in r100_cs_packet_parse_vline()
Dradeon_legacy_encoders.c1536 struct drm_crtc *crtc; in radeon_legacy_tv_dac_detect()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h33 struct drm_crtc base;
78 static inline struct nouveau_crtc *nouveau_crtc(struct drm_crtc *crtc) in nouveau_crtc()
83 static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc) in to_drm_crtc()
Dnv50_display.h39 void nv50_display_flip_stop(struct drm_crtc *);
40 int nv50_display_flip_next(struct drm_crtc *, struct drm_framebuffer *,
Dnouveau_display.c56 struct drm_crtc *crtc; in nouveau_display_vblank_enable()
70 struct drm_crtc *crtc; in nouveau_display_vblank_disable()
95 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head()
140 struct drm_crtc *crtc; in nouveau_display_scanoutpos()
156 struct drm_crtc *crtc; in nouveau_display_vblstamp()
172 struct drm_crtc *crtc; in nouveau_display_vblank_fini()
186 struct drm_crtc *crtc; in nouveau_display_vblank_init()
570 struct drm_crtc *crtc; in nouveau_display_suspend()
600 struct drm_crtc *crtc; in nouveau_display_resume()
711 nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nouveau_crtc_page_flip()
Dnv50_display.c412 static struct drm_crtc *
532 nv50_display_flip_stop(struct drm_crtc *crtc) in nv50_display_flip_stop()
561 nv50_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nv50_display_flip_next()
745 struct drm_crtc *crtc = &nv_crtc->base; in nv50_crtc_set_scale()
1017 nv50_crtc_dpms(struct drm_crtc *crtc, int mode) in nv50_crtc_dpms()
1022 nv50_crtc_prepare(struct drm_crtc *crtc) in nv50_crtc_prepare()
1061 nv50_crtc_commit(struct drm_crtc *crtc) in nv50_crtc_commit()
1106 nv50_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, in nv50_crtc_mode_fixup()
1114 nv50_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv50_crtc_swap_fbs()
1131 nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode, in nv50_crtc_mode_set()
[all …]
Dnouveau_encoder.h50 struct drm_crtc *crtc;
Dnouveau_connector.h96 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get()
Dnouveau_display.h76 int nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
Dnouveau_fbcon.c293 static void nouveau_fbcon_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in nouveau_fbcon_gamma_set()
303 static void nouveau_fbcon_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in nouveau_fbcon_gamma_get()
Dnouveau_drm.c751 struct drm_crtc *crtc; in nouveau_pmops_runtime_idle()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_kms.h41 int (*enable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc);
42 void (*disable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc);
48 struct drm_crtc *crtc);
Dmsm_atomic.c90 struct drm_crtc *crtc; in msm_atomic_wait_for_commit_done()
225 struct drm_crtc *crtc = state->crtcs[i]; in msm_atomic_commit()
Dmsm_fbdev.c191 static void msm_crtc_fb_gamma_set(struct drm_crtc *crtc, in msm_crtc_fb_gamma_set()
197 static void msm_crtc_fb_gamma_get(struct drm_crtc *crtc, in msm_crtc_fb_gamma_get()
Dmsm_drv.h134 struct drm_crtc *crtcs[8];
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_display.c41 static void virtio_gpu_crtc_gamma_set(struct drm_crtc *crtc, in virtio_gpu_crtc_gamma_set()
57 static int virtio_gpu_crtc_cursor_set(struct drm_crtc *crtc, in virtio_gpu_crtc_cursor_set()
114 static int virtio_gpu_crtc_cursor_move(struct drm_crtc *crtc, in virtio_gpu_crtc_cursor_move()
128 static int virtio_gpu_page_flip(struct drm_crtc *crtc, in virtio_gpu_page_flip()
240 static bool virtio_gpu_crtc_mode_fixup(struct drm_crtc *crtc, in virtio_gpu_crtc_mode_fixup()
247 static void virtio_gpu_crtc_mode_set_nofb(struct drm_crtc *crtc) in virtio_gpu_crtc_mode_set_nofb()
258 static void virtio_gpu_crtc_enable(struct drm_crtc *crtc) in virtio_gpu_crtc_enable()
262 static void virtio_gpu_crtc_disable(struct drm_crtc *crtc) in virtio_gpu_crtc_disable()
271 static int virtio_gpu_crtc_atomic_check(struct drm_crtc *crtc, in virtio_gpu_crtc_atomic_check()
432 struct drm_crtc *crtc = &output->crtc; in vgdev_output_init()
Dvirtgpu_drv.h108 struct drm_crtc crtc;
/linux-4.4.14/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c74 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()
165 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()
266 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_stop()
306 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_compute_base()
333 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_update_base()
347 static void shmob_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in shmob_drm_crtc_dpms()
362 static bool shmob_drm_crtc_mode_fixup(struct drm_crtc *crtc, in shmob_drm_crtc_mode_fixup()
369 static void shmob_drm_crtc_mode_prepare(struct drm_crtc *crtc) in shmob_drm_crtc_mode_prepare()
374 static int shmob_drm_crtc_mode_set(struct drm_crtc *crtc, in shmob_drm_crtc_mode_set()
419 static void shmob_drm_crtc_mode_commit(struct drm_crtc *crtc) in shmob_drm_crtc_mode_commit()
[all …]
Dshmob_drm_crtc.h24 struct drm_crtc crtc;
Dshmob_drm_plane.c176 shmob_drm_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in shmob_drm_plane_update()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_atomic_helper.c83 static struct drm_crtc *
105 struct drm_crtc *encoder_crtc) in steal_encoder()
156 struct drm_crtc *encoder_crtc; in update_connector_routing()
267 struct drm_crtc *crtc; in mode_fixup()
383 struct drm_crtc *crtc; in drm_atomic_helper_check_modeset()
494 struct drm_crtc *crtc; in drm_atomic_helper_check_planes()
580 struct drm_crtc *crtc; in disable_outputs()
675 struct drm_crtc *crtc; in drm_atomic_helper_update_legacy_modeset_state()
739 struct drm_crtc *crtc; in crtc_set_mode()
835 struct drm_crtc *crtc; in drm_atomic_helper_commit_modeset_enables()
[all …]
Ddrm_modeset_lock.c146 void drm_modeset_lock_crtc(struct drm_crtc *crtc, in drm_modeset_lock_crtc()
202 drm_modeset_legacy_acquire_ctx(struct drm_crtc *crtc) in drm_modeset_legacy_acquire_ctx()
220 void drm_modeset_unlock_crtc(struct drm_crtc *crtc) in drm_modeset_unlock_crtc()
243 struct drm_crtc *crtc; in drm_warn_on_modeset_not_all_locked()
439 struct drm_crtc *crtc; in drm_modeset_lock_all_crtcs()
Ddrm_plane_helper.c79 static int get_connectors_for_crtc(struct drm_crtc *crtc, in get_connectors_for_crtc()
133 struct drm_crtc *crtc, in drm_plane_helper_check_update()
224 int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_primary_helper_update()
391 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init()
406 struct drm_crtc *crtc[2]; in drm_plane_helper_commit()
518 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_plane_helper_update()
Ddrm_atomic.c171 struct drm_crtc *crtc = state->crtcs[i]; in drm_atomic_state_default_clear()
270 struct drm_crtc *crtc) in drm_atomic_get_crtc_state()
408 int drm_atomic_crtc_set_property(struct drm_crtc *crtc, in drm_atomic_crtc_set_property()
442 drm_atomic_crtc_get_property(struct drm_crtc *crtc, in drm_atomic_crtc_get_property()
471 static int drm_atomic_crtc_check(struct drm_crtc *crtc, in drm_atomic_crtc_check()
591 struct drm_crtc *crtc = drm_crtc_find(dev, val); in drm_atomic_plane_set_property()
861 struct drm_crtc *crtc = drm_crtc_find(dev, val); in drm_atomic_connector_set_property()
921 struct drm_crtc *crtc = obj_to_crtc(obj); in drm_atomic_get_property()
958 struct drm_crtc *crtc) in drm_atomic_set_crtc_for_plane()
1038 struct drm_crtc *crtc) in drm_atomic_set_crtc_for_connector()
[all …]
Ddrm_crtc_helper.c142 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use()
179 struct drm_crtc *crtc; in __drm_helper_disable_unused_functions()
265 bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, in drm_crtc_helper_set_mode()
414 drm_crtc_helper_disable(struct drm_crtc *crtc) in drm_crtc_helper_disable()
460 struct drm_crtc *new_crtc; in drm_crtc_helper_set_config()
743 static int drm_helper_choose_crtc_dpms(struct drm_crtc *crtc) in drm_helper_choose_crtc_dpms()
772 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in drm_helper_connector_dpms()
861 struct drm_crtc *crtc; in drm_helper_resume_force_mode()
923 int drm_helper_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in drm_helper_crtc_mode_set()
988 int drm_helper_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in drm_helper_crtc_mode_set_base()
Ddrm_irq.c674 void drm_calc_timestamping_constants(struct drm_crtc *crtc, in drm_calc_timestamping_constants()
970 u32 drm_crtc_vblank_count(struct drm_crtc *crtc) in drm_crtc_vblank_count()
1029 u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc, in drm_crtc_vblank_count_and_time()
1098 void drm_crtc_arm_vblank_event(struct drm_crtc *crtc, in drm_crtc_arm_vblank_event()
1144 void drm_crtc_send_vblank_event(struct drm_crtc *crtc, in drm_crtc_send_vblank_event()
1244 int drm_crtc_vblank_get(struct drm_crtc *crtc) in drm_crtc_vblank_get()
1292 void drm_crtc_vblank_put(struct drm_crtc *crtc) in drm_crtc_vblank_put()
1340 void drm_crtc_wait_one_vblank(struct drm_crtc *crtc) in drm_crtc_wait_one_vblank()
1423 void drm_crtc_vblank_off(struct drm_crtc *crtc) in drm_crtc_vblank_off()
1439 void drm_crtc_vblank_reset(struct drm_crtc *crtc) in drm_crtc_vblank_reset()
[all …]
Ddrm_crtc.c597 struct drm_crtc *crtc; in drm_framebuffer_remove()
666 int drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init_with_planes()
714 void drm_crtc_cleanup(struct drm_crtc *crtc) in drm_crtc_cleanup()
742 unsigned int drm_crtc_index(struct drm_crtc *crtc) in drm_crtc_index()
745 struct drm_crtc *tmp; in drm_crtc_index()
1741 struct drm_crtc *crtc; in drm_mode_getresources()
1874 struct drm_crtc *crtc; in drm_mode_getcrtc()
2104 static struct drm_crtc *drm_encoder_get_crtc(struct drm_encoder *encoder) in drm_encoder_get_crtc()
2149 struct drm_crtc *crtc; in drm_mode_getencoder()
2353 struct drm_crtc *crtc, in __setplane_internal()
[all …]
Ddrm_fb_helper.c228 static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper) in drm_fb_helper_save_lut_atomic()
244 static void drm_fb_helper_restore_lut_atomic(struct drm_crtc *crtc) in drm_fb_helper_restore_lut_atomic()
291 static struct drm_framebuffer *drm_mode_config_fb(struct drm_crtc *crtc) in drm_mode_config_fb()
294 struct drm_crtc *c; in drm_mode_config_fb()
311 struct drm_crtc *crtc; in drm_fb_helper_debug_leave()
429 struct drm_crtc *crtc = mode_set->crtc; in restore_fbdev_mode()
487 struct drm_crtc *crtc; in drm_fb_helper_is_bound()
563 struct drm_crtc *crtc; in drm_fb_helper_dpms()
683 struct drm_crtc *crtc; in drm_fb_helper_init()
971 static int setcolreg(struct drm_crtc *crtc, u16 red, u16 green, in setcolreg()
[all …]
Ddrm_of.c21 struct drm_crtc *tmp; in drm_crtc_port_mask()
DMakefile11 drm_crtc.o drm_modes.o drm_edid.o \
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_lvdsenc.h32 struct drm_crtc *crtc, bool enable);
39 struct drm_crtc *crtc, bool enable) in rcar_du_lvdsenc_enable()
Drcar_du_crtc.h40 struct drm_crtc crtc;
75 void rcar_du_crtc_route_output(struct drm_crtc *crtc,
Drcar_du_crtc.c178 void rcar_du_crtc_route_output(struct drm_crtc *crtc, in rcar_du_crtc_route_output()
360 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_start()
396 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_stop()
464 static void rcar_du_crtc_enable(struct drm_crtc *crtc) in rcar_du_crtc_enable()
477 static void rcar_du_crtc_disable(struct drm_crtc *crtc) in rcar_du_crtc_disable()
491 static bool rcar_du_crtc_mode_fixup(struct drm_crtc *crtc, in rcar_du_crtc_mode_fixup()
499 static void rcar_du_crtc_atomic_begin(struct drm_crtc *crtc, in rcar_du_crtc_atomic_begin()
516 static void rcar_du_crtc_atomic_flush(struct drm_crtc *crtc, in rcar_du_crtc_atomic_flush()
576 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_create()
Drcar_du_lvdsenc.c130 int rcar_du_lvdsenc_enable(struct rcar_du_lvdsenc *lvds, struct drm_crtc *crtc, in rcar_du_lvdsenc_enable()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_drv.h529 struct drm_crtc base;
635 struct drm_crtc *crtc,
642 struct drm_crtc *crtc);
853 static inline struct drm_crtc *
860 static inline struct drm_crtc *
869 struct drm_crtc *crtc;
977 void hsw_fdi_link_train(struct drm_crtc *crtc);
982 void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc);
989 void intel_ddi_set_pipe_settings(struct drm_crtc *crtc);
992 void intel_ddi_fdi_disable(struct drm_crtc *crtc);
[all …]
Dintel_psr.c111 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in vlv_psr_setup_vsc()
223 struct drm_crtc *crtc = dig_port->base.base.crtc; in vlv_psr_enable_source()
238 struct drm_crtc *crtc = dig_port->base.base.crtc; in vlv_psr_activate()
295 struct drm_crtc *crtc = dig_port->base.base.crtc; in intel_psr_match_conditions()
517 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_work()
561 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_exit()
615 struct drm_crtc *crtc; in intel_psr_single_frame_update()
663 struct drm_crtc *crtc; in intel_psr_invalidate()
701 struct drm_crtc *crtc; in intel_psr_flush()
Dintel_fifo_underrun.c234 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in __intel_set_cpu_fifo_underrun_reporting()
303 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pch_transcoder]; in intel_set_pch_fifo_underrun_reporting()
345 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_cpu_fifo_underrun_irq_handler()
Dintel_sprite.c181 skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc, in skl_update_plane()
288 skl_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc) in skl_disable_plane()
344 vlv_update_plane(struct drm_plane *dplane, struct drm_crtc *crtc, in vlv_update_plane()
469 vlv_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc) in vlv_disable_plane()
484 ivb_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ivb_update_plane()
609 ivb_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc) in ivb_disable_plane()
626 ilk_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ilk_update_plane()
738 ilk_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc) in ilk_disable_plane()
759 struct drm_crtc *crtc = state->base.crtc; in intel_check_sprite_plane()
935 struct drm_crtc *crtc = state->base.crtc; in intel_commit_sprite_plane()
Dintel_atomic.c86 intel_crtc_duplicate_state(struct drm_crtc *crtc) in intel_crtc_duplicate_state()
109 intel_crtc_destroy_state(struct drm_crtc *crtc, in intel_crtc_destroy_state()
Dintel_display.c86 static void intel_crtc_update_cursor(struct drm_crtc *crtc, bool on);
102 static void ironlake_set_pipeconf(struct drm_crtc *crtc);
103 static void haswell_set_pipeconf(struct drm_crtc *crtc);
104 static void intel_set_pipe_csc(struct drm_crtc *crtc);
109 static void intel_begin_crtc_commit(struct drm_crtc *, struct drm_crtc_state *);
110 static void intel_finish_crtc_commit(struct drm_crtc *, struct drm_crtc_state *);
119 static void intel_pre_disable_primary(struct drm_crtc *crtc);
1066 bool intel_crtc_active(struct drm_crtc *crtc) in intel_crtc_active()
1090 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_pipe_to_cpu_transcoder()
1445 static void assert_vblank_disabled(struct drm_crtc *crtc) in assert_vblank_disabled()
[all …]
Dintel_pm.c598 static struct drm_crtc *single_enabled_crtc(struct drm_device *dev) in single_enabled_crtc()
600 struct drm_crtc *crtc, *enabled = NULL; in single_enabled_crtc()
613 static void pineview_update_wm(struct drm_crtc *unused_crtc) in pineview_update_wm()
617 struct drm_crtc *crtc; in pineview_update_wm()
689 struct drm_crtc *crtc; in g4x_compute_wm0()
775 struct drm_crtc *crtc; in g4x_compute_srwm()
1301 static void vlv_update_wm(struct drm_crtc *crtc) in vlv_update_wm()
1356 static void g4x_update_wm(struct drm_crtc *crtc) in g4x_update_wm()
1414 static void i965_update_wm(struct drm_crtc *unused_crtc) in i965_update_wm()
1418 struct drm_crtc *crtc; in i965_update_wm()
[all …]
Dintel_fbdev.c291 static void intel_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in intel_crtc_fb_gamma_set()
301 static void intel_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in intel_crtc_fb_gamma_get()
312 intel_fb_helper_crtc(struct drm_fb_helper *fb_helper, struct drm_crtc *crtc) in intel_fb_helper_crtc()
546 struct drm_crtc *crtc; in intel_fbdev_init_bios()
Dintel_fbc.c525 static struct drm_crtc *intel_fbc_find_crtc(struct drm_i915_private *dev_priv) in intel_fbc_find_crtc()
527 struct drm_crtc *crtc = NULL, *tmp_crtc; in intel_fbc_find_crtc()
555 struct drm_crtc *crtc; in multiple_pipes_ok()
852 struct drm_crtc *crtc = NULL; in __intel_fbc_update()
Dintel_atomic_plane.c109 struct drm_crtc *crtc = state->crtc; in intel_plane_atomic_check()
Di915_drv.h634 void (*update_wm)(struct drm_crtc *crtc);
636 struct drm_crtc *crtc,
649 void (*crtc_enable)(struct drm_crtc *crtc);
650 void (*crtc_disable)(struct drm_crtc *crtc);
655 void (*fdi_link_train)(struct drm_crtc *crtc);
657 int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc,
662 void (*update_primary_plane)(struct drm_crtc *crtc,
1834 struct drm_crtc *plane_to_crtc_mapping[I915_MAX_PIPES];
1835 struct drm_crtc *pipe_to_crtc_mapping[I915_MAX_PIPES];
3368 extern int intel_trans_dp_port_sel(struct drm_crtc *crtc);
Dintel_ddi.c607 void hsw_fdi_link_train(struct drm_crtc *crtc) in hsw_fdi_link_train()
738 intel_ddi_get_crtc_encoder(struct drm_crtc *crtc) in intel_ddi_get_crtc_encoder()
1803 void intel_ddi_set_pipe_settings(struct drm_crtc *crtc) in intel_ddi_set_pipe_settings()
1834 void intel_ddi_set_vc_payload_alloc(struct drm_crtc *crtc, bool state) in intel_ddi_set_vc_payload_alloc()
1849 void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc) in intel_ddi_enable_transcoder_func()
2068 struct drm_crtc *crtc = &intel_crtc->base; in intel_ddi_enable_pipe_clock()
2403 struct drm_crtc *crtc = encoder->crtc; in intel_enable_ddi()
2441 struct drm_crtc *crtc = encoder->crtc; in intel_disable_ddi()
3084 void intel_ddi_fdi_disable(struct drm_crtc *crtc) in intel_ddi_fdi_disable()
Dintel_lvds.c517 struct drm_crtc *crtc; in intel_lvds_set_property()
941 struct drm_crtc *crtc; in intel_lvds_init()
Dintel_dvo.c395 struct drm_crtc *crtc; in intel_dvo_get_current_mode()
Dintel_tv.c1182 struct drm_crtc *crtc = encoder->crtc; in intel_tv_detect_type()
1466 struct drm_crtc *crtc = intel_tv->base.base.crtc; in intel_tv_set_property()
Dintel_dp_mst.c152 struct drm_crtc *crtc = encoder->base.crtc; in intel_mst_pre_enable_dp()
Dintel_dp.c2149 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in ironlake_edp_pll_on()
2175 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in ironlake_edp_pll_off()
5209 intel_trans_dp_port_sel(struct drm_crtc *crtc) in intel_trans_dp_port_sel()
5615 struct drm_crtc *crtc = dig_port->base.base.crtc; in intel_edp_drrs_enable()
5647 struct drm_crtc *crtc = dig_port->base.base.crtc; in intel_edp_drrs_disable()
5714 struct drm_crtc *crtc; in intel_edp_drrs_invalidate()
5759 struct drm_crtc *crtc; in intel_edp_drrs_flush()
Dintel_overlay.c1092 struct drm_crtc *drmmode_crtc; in intel_overlay_put_image()
Di915_irq.c779 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in i915_get_crtc_scanoutpos()
915 struct drm_crtc *crtc; in i915_get_vblank_timestamp()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_crtc.h59 struct drm_crtc crtc;
95 void armada_drm_crtc_gamma_set(struct drm_crtc *, u16, u16, u16, int);
96 void armada_drm_crtc_gamma_get(struct drm_crtc *, u16 *, u16 *, u16 *, int);
Darmada_crtc.c320 void armada_drm_crtc_gamma_set(struct drm_crtc *crtc, u16 r, u16 g, u16 b, in armada_drm_crtc_gamma_set()
325 void armada_drm_crtc_gamma_get(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, in armada_drm_crtc_gamma_get()
331 static void armada_drm_crtc_dpms(struct drm_crtc *crtc, int dpms) in armada_drm_crtc_dpms()
356 static void armada_drm_crtc_prepare(struct drm_crtc *crtc) in armada_drm_crtc_prepare()
372 static void armada_drm_crtc_commit(struct drm_crtc *crtc) in armada_drm_crtc_commit()
383 static bool armada_drm_crtc_mode_fixup(struct drm_crtc *crtc, in armada_drm_crtc_mode_fixup()
533 static int armada_drm_crtc_mode_set(struct drm_crtc *crtc, in armada_drm_crtc_mode_set()
674 static int armada_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in armada_drm_crtc_mode_set_base()
736 static void armada_drm_crtc_disable(struct drm_crtc *crtc) in armada_drm_crtc_disable()
897 static int armada_drm_crtc_cursor_set(struct drm_crtc *crtc, in armada_drm_crtc_cursor_set()
[all …]
Darmada_overlay.c95 armada_ovl_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in armada_ovl_plane_update()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_drv.h125 struct drm_crtc base;
239 void mga_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
241 void mga_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green,
307 int mga_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv,
309 int mga_crtc_cursor_move(struct drm_crtc *crtc, int x, int y);
Dmgag200_mode.c28 static void mga_crtc_load_lut(struct drm_crtc *crtc) in mga_crtc_load_lut()
100 static bool mga_crtc_mode_fixup(struct drm_crtc *crtc, in mga_crtc_mode_fixup()
690 static void mga_g200wb_prepare(struct drm_crtc *crtc) in mga_g200wb_prepare()
744 static void mga_g200wb_commit(struct drm_crtc *crtc) in mga_g200wb_commit()
795 static void mga_set_start_address(struct drm_crtc *crtc, unsigned offset) in mga_set_start_address()
823 static int mga_crtc_do_set_base(struct drm_crtc *crtc, in mga_crtc_do_set_base()
874 static int mga_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in mga_crtc_mode_set_base()
880 static int mga_crtc_mode_set(struct drm_crtc *crtc, in mga_crtc_mode_set()
1180 static int mga_suspend(struct drm_crtc *crtc)
1212 static int mga_resume(struct drm_crtc *crtc)
[all …]
Dmgag200_cursor.c31 int mga_crtc_cursor_set(struct drm_crtc *crtc, in mga_crtc_cursor_set()
256 int mga_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in mga_crtc_cursor_move()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.h121 struct drm_crtc base;
153 static inline struct tegra_dc *to_tegra_dc(struct drm_crtc *crtc) in to_tegra_dc()
196 void tegra_dc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file);
Ddc.c956 struct drm_crtc *crtc = &dc->base; in tegra_dc_finish_page_flip()
988 void tegra_dc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file) in tegra_dc_cancel_page_flip()
1005 static void tegra_dc_destroy(struct drm_crtc *crtc) in tegra_dc_destroy()
1010 static void tegra_crtc_reset(struct drm_crtc *crtc) in tegra_crtc_reset()
1030 tegra_crtc_atomic_duplicate_state(struct drm_crtc *crtc) in tegra_crtc_atomic_duplicate_state()
1048 static void tegra_crtc_atomic_destroy_state(struct drm_crtc *crtc, in tegra_crtc_atomic_destroy_state()
1193 static void tegra_crtc_disable(struct drm_crtc *crtc) in tegra_crtc_disable()
1235 static void tegra_crtc_enable(struct drm_crtc *crtc) in tegra_crtc_enable()
1269 static int tegra_crtc_atomic_check(struct drm_crtc *crtc, in tegra_crtc_atomic_check()
1275 static void tegra_crtc_atomic_begin(struct drm_crtc *crtc, in tegra_crtc_atomic_begin()
[all …]
Ddrm.c812 static struct drm_crtc *tegra_crtc_from_pipe(struct drm_device *drm, in tegra_crtc_from_pipe()
815 struct drm_crtc *crtc; in tegra_crtc_from_pipe()
828 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_get_vblank_counter()
839 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_enable_vblank()
852 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_disable_vblank()
863 struct drm_crtc *crtc; in tegra_drm_preclose()
Dsor.c804 struct drm_crtc *crtc = sor->output.encoder.crtc; in tegra_sor_show_crc()
846 struct drm_crtc *crtc = sor->output.encoder.crtc; in tegra_sor_show_regs()
Dhdmi.c1069 struct drm_crtc *crtc = hdmi->output.encoder.crtc; in tegra_hdmi_show_regs()
Ddsi.c122 struct drm_crtc *crtc = dsi->output.encoder.crtc; in tegra_dsi_show_regs()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_display.c209 static void qxl_crtc_destroy(struct drm_crtc *crtc) in qxl_crtc_destroy()
217 static int qxl_crtc_page_flip(struct drm_crtc *crtc, in qxl_crtc_page_flip()
300 static int qxl_crtc_cursor_set2(struct drm_crtc *crtc, in qxl_crtc_cursor_set2()
423 static int qxl_crtc_cursor_move(struct drm_crtc *crtc, in qxl_crtc_cursor_move()
544 static void qxl_crtc_dpms(struct drm_crtc *crtc, int mode) in qxl_crtc_dpms()
548 static bool qxl_crtc_mode_fixup(struct drm_crtc *crtc, in qxl_crtc_mode_fixup()
603 static int qxl_crtc_mode_set(struct drm_crtc *crtc, in qxl_crtc_mode_set()
681 static void qxl_crtc_prepare(struct drm_crtc *crtc) in qxl_crtc_prepare()
688 static void qxl_crtc_commit(struct drm_crtc *crtc) in qxl_crtc_commit()
693 static void qxl_crtc_disable(struct drm_crtc *crtc) in qxl_crtc_disable()
Dqxl_drv.c95 struct drm_crtc *crtc; in qxl_drm_freeze()
Dqxl_drv.h134 struct drm_crtc base;
/linux-4.4.14/Documentation/DocBook/
D.gpu.xml.cmd2drm_crtc.c include/drm/drm_crtc.h drivers/gpu/drm/drm_modeset_lock.c include/drm/drm_modeset_lock.…
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_drv.c288 struct drm_crtc *crtc = encoder->crtc; in ch7006_encoder_set_property()

12