Home
last modified time | relevance | path

Searched refs:crtc (Results 1 – 25 of 634) sorted by relevance

12345678910>>...26

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_drrs.c66 intel_drrs_set_refresh_rate_pipeconf(struct intel_crtc *crtc, in intel_drrs_set_refresh_rate_pipeconf() argument
69 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_drrs_set_refresh_rate_pipeconf()
70 enum transcoder cpu_transcoder = crtc->drrs.cpu_transcoder; in intel_drrs_set_refresh_rate_pipeconf()
83 intel_drrs_set_refresh_rate_m_n(struct intel_crtc *crtc, in intel_drrs_set_refresh_rate_m_n() argument
86 intel_cpu_transcoder_set_m1_n1(crtc, crtc->drrs.cpu_transcoder, in intel_drrs_set_refresh_rate_m_n()
88 &crtc->drrs.m2_n2 : &crtc->drrs.m_n); in intel_drrs_set_refresh_rate_m_n()
91 bool intel_drrs_is_active(struct intel_crtc *crtc) in intel_drrs_is_active() argument
93 return crtc->drrs.cpu_transcoder != INVALID_TRANSCODER; in intel_drrs_is_active()
96 static void intel_drrs_set_state(struct intel_crtc *crtc, in intel_drrs_set_state() argument
99 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_drrs_set_state()
[all …]
Dintel_crtc.c36 static void assert_vblank_disabled(struct drm_crtc *crtc) in assert_vblank_disabled() argument
38 struct drm_i915_private *i915 = to_i915(crtc->dev); in assert_vblank_disabled()
40 if (I915_STATE_WARN(i915, drm_crtc_vblank_get(crtc) == 0, in assert_vblank_disabled()
42 crtc->base.id, crtc->name)) in assert_vblank_disabled()
43 drm_crtc_vblank_put(crtc); in assert_vblank_disabled()
54 struct intel_crtc *crtc; in intel_crtc_for_pipe() local
56 for_each_intel_crtc(&i915->drm, crtc) { in intel_crtc_for_pipe()
57 if (crtc->pipe == pipe) in intel_crtc_for_pipe()
58 return crtc; in intel_crtc_for_pipe()
64 void intel_crtc_wait_for_next_vblank(struct intel_crtc *crtc) in intel_crtc_wait_for_next_vblank() argument
[all …]
Dintel_display_trace.h25 TP_PROTO(struct intel_crtc *crtc),
26 TP_ARGS(crtc),
29 __string(dev, __dev_name_kms(crtc))
35 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
37 __assign_str(dev, __dev_name_kms(crtc));
42 __entry->pipe = crtc->pipe;
53 TP_PROTO(struct intel_crtc *crtc),
54 TP_ARGS(crtc),
57 __string(dev, __dev_name_kms(crtc))
64 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
[all …]
Dhsw_ips.c15 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_enable() local
16 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in hsw_ips_enable()
62 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_ips_disable() local
63 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in hsw_ips_disable()
92 struct intel_crtc *crtc) in hsw_ips_need_disable() argument
96 intel_atomic_get_old_crtc_state(state, crtc); in hsw_ips_need_disable()
98 intel_atomic_get_new_crtc_state(state, crtc); in hsw_ips_need_disable()
121 struct intel_crtc *crtc) in hsw_ips_pre_update() argument
124 intel_atomic_get_old_crtc_state(state, crtc); in hsw_ips_pre_update()
126 if (!hsw_ips_need_disable(state, crtc)) in hsw_ips_pre_update()
[all …]
Dintel_vblank.c66 u32 i915_get_vblank_counter(struct drm_crtc *crtc) in i915_get_vblank_counter() argument
68 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i915_get_vblank_counter()
69 struct drm_vblank_crtc *vblank = &dev_priv->drm.vblank[drm_crtc_index(crtc)]; in i915_get_vblank_counter()
71 enum pipe pipe = to_intel_crtc(crtc)->pipe; in i915_get_vblank_counter()
119 u32 g4x_get_vblank_counter(struct drm_crtc *crtc) in g4x_get_vblank_counter() argument
121 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in g4x_get_vblank_counter()
122 struct drm_vblank_crtc *vblank = &dev_priv->drm.vblank[drm_crtc_index(crtc)]; in g4x_get_vblank_counter()
123 enum pipe pipe = to_intel_crtc(crtc)->pipe; in g4x_get_vblank_counter()
131 static u32 intel_crtc_scanlines_since_frame_timestamp(struct intel_crtc *crtc) in intel_crtc_scanlines_since_frame_timestamp() argument
133 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_scanlines_since_frame_timestamp()
[all …]
Dintel_modeset_setup.c35 static void intel_crtc_disable_noatomic_begin(struct intel_crtc *crtc, in intel_crtc_disable_noatomic_begin() argument
38 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_disable_noatomic_begin()
40 to_intel_crtc_state(crtc->base.state); in intel_crtc_disable_noatomic_begin()
44 enum pipe pipe = crtc->pipe; in intel_crtc_disable_noatomic_begin()
49 for_each_intel_plane_on_crtc(&i915->drm, crtc, plane) { in intel_crtc_disable_noatomic_begin()
54 intel_plane_disable_noatomic(crtc, plane); in intel_crtc_disable_noatomic_begin()
61 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin()
81 i915->display.funcs.display->crtc_disable(to_intel_atomic_state(state), crtc); in intel_crtc_disable_noatomic_begin()
87 crtc->base.base.id, crtc->base.name); in intel_crtc_disable_noatomic_begin()
89 crtc->active = false; in intel_crtc_disable_noatomic_begin()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_crtc.c89 struct drm_crtc *crtc; in drm_crtc_from_index() local
91 drm_for_each_crtc(crtc, dev) in drm_crtc_from_index()
92 if (idx == crtc->index) in drm_crtc_from_index()
93 return crtc; in drm_crtc_from_index()
99 int drm_crtc_force_disable(struct drm_crtc *crtc) in drm_crtc_force_disable() argument
102 .crtc = crtc, in drm_crtc_force_disable()
105 WARN_ON(drm_drv_uses_atomic_modeset(crtc->dev)); in drm_crtc_force_disable()
124 struct drm_crtc *crtc; in drm_crtc_register_all() local
127 drm_for_each_crtc(crtc, dev) { in drm_crtc_register_all()
128 drm_debugfs_crtc_add(crtc); in drm_crtc_register_all()
[all …]
Ddrm_crtc_helper.c148 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use() argument
151 struct drm_device *dev = crtc->dev; in drm_helper_crtc_in_use()
163 if (encoder->crtc == crtc && drm_helper_encoder_in_use(encoder)) in drm_helper_crtc_in_use()
186 struct drm_crtc *crtc; in __drm_helper_disable_unused_functions() local
194 encoder->crtc = NULL; in __drm_helper_disable_unused_functions()
198 drm_for_each_crtc(crtc, dev) { in __drm_helper_disable_unused_functions()
199 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions()
201 crtc->enabled = drm_helper_crtc_in_use(crtc); in __drm_helper_disable_unused_functions()
202 if (!crtc->enabled) { in __drm_helper_disable_unused_functions()
204 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions()
[all …]
Ddrm_atomic_helper.c84 if (old_plane_state->crtc) { in drm_atomic_helper_plane_changed()
86 old_plane_state->crtc); in drm_atomic_helper_plane_changed()
94 if (plane_state->crtc) { in drm_atomic_helper_plane_changed()
95 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); in drm_atomic_helper_plane_changed()
123 if (!new_conn_state->crtc) in handle_conflicting_encoders()
177 connector->state->crtc->base.id, in handle_conflicting_encoders()
178 connector->state->crtc->name, in handle_conflicting_encoders()
193 new_conn_state->crtc->base.id, new_conn_state->crtc->name, in handle_conflicting_encoders()
196 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in handle_conflicting_encoders()
223 struct drm_crtc *crtc; in set_best_encoder() local
[all …]
/linux-6.6.21/drivers/gpu/drm/tidss/
Dtidss_crtc.c23 struct drm_device *ddev = tcrtc->crtc.dev; in tidss_crtc_finish_page_flip()
51 drm_crtc_send_vblank_event(&tcrtc->crtc, event); in tidss_crtc_finish_page_flip()
55 drm_crtc_vblank_put(&tcrtc->crtc); in tidss_crtc_finish_page_flip()
58 void tidss_crtc_vblank_irq(struct drm_crtc *crtc) in tidss_crtc_vblank_irq() argument
60 struct tidss_crtc *tcrtc = to_tidss_crtc(crtc); in tidss_crtc_vblank_irq()
62 drm_crtc_handle_vblank(crtc); in tidss_crtc_vblank_irq()
67 void tidss_crtc_framedone_irq(struct drm_crtc *crtc) in tidss_crtc_framedone_irq() argument
69 struct tidss_crtc *tcrtc = to_tidss_crtc(crtc); in tidss_crtc_framedone_irq()
74 void tidss_crtc_error_irq(struct drm_crtc *crtc, u64 irqstatus) in tidss_crtc_error_irq() argument
76 struct tidss_crtc *tcrtc = to_tidss_crtc(crtc); in tidss_crtc_error_irq()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c47 static struct dpu_kms *_dpu_crtc_get_kms(struct drm_crtc *crtc) in _dpu_crtc_get_kms() argument
49 struct msm_drm_private *priv = crtc->dev->dev_private; in _dpu_crtc_get_kms()
54 static void dpu_crtc_destroy(struct drm_crtc *crtc) in dpu_crtc_destroy() argument
56 struct dpu_crtc *dpu_crtc = to_dpu_crtc(crtc); in dpu_crtc_destroy()
58 if (!crtc) in dpu_crtc_destroy()
61 drm_crtc_cleanup(crtc); in dpu_crtc_destroy()
65 static struct drm_encoder *get_encoder_from_crtc(struct drm_crtc *crtc) in get_encoder_from_crtc() argument
67 struct drm_device *dev = crtc->dev; in get_encoder_from_crtc()
71 if (encoder->crtc == crtc) in get_encoder_from_crtc()
91 static int dpu_crtc_verify_crc_source(struct drm_crtc *crtc, in dpu_crtc_verify_crc_source() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_crtc.c55 struct videomode *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings() argument
57 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_timings()
61 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc) in omap_crtc_channel() argument
63 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_channel()
67 static bool omap_crtc_is_pending(struct drm_crtc *crtc) in omap_crtc_is_pending() argument
69 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_is_pending()
73 spin_lock_irqsave(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
75 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in omap_crtc_is_pending()
80 int omap_crtc_wait_pending(struct drm_crtc *crtc) in omap_crtc_wait_pending() argument
82 struct omap_crtc *omap_crtc = to_omap_crtc(crtc); in omap_crtc_wait_pending()
[all …]
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c21 static void exynos_drm_crtc_atomic_enable(struct drm_crtc *crtc, in exynos_drm_crtc_atomic_enable() argument
24 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_atomic_enable()
29 drm_crtc_vblank_on(crtc); in exynos_drm_crtc_atomic_enable()
32 static void exynos_drm_crtc_atomic_disable(struct drm_crtc *crtc, in exynos_drm_crtc_atomic_disable() argument
35 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_atomic_disable()
37 drm_crtc_vblank_off(crtc); in exynos_drm_crtc_atomic_disable()
42 spin_lock_irq(&crtc->dev->event_lock); in exynos_drm_crtc_atomic_disable()
43 if (crtc->state->event && !crtc->state->active) { in exynos_drm_crtc_atomic_disable()
44 drm_crtc_send_vblank_event(crtc, crtc->state->event); in exynos_drm_crtc_atomic_disable()
45 crtc->state->event = NULL; in exynos_drm_crtc_atomic_disable()
[all …]
/linux-6.6.21/drivers/gpu/drm/sun4i/
Dsun4i_crtc.c37 static struct drm_encoder *sun4i_crtc_get_encoder(struct drm_crtc *crtc) in sun4i_crtc_get_encoder() argument
41 drm_for_each_encoder(encoder, crtc->dev) in sun4i_crtc_get_encoder()
42 if (encoder->crtc == crtc) in sun4i_crtc_get_encoder()
48 static int sun4i_crtc_atomic_check(struct drm_crtc *crtc, in sun4i_crtc_atomic_check() argument
52 crtc); in sun4i_crtc_atomic_check()
53 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_check()
63 static void sun4i_crtc_atomic_begin(struct drm_crtc *crtc, in sun4i_crtc_atomic_begin() argument
67 crtc); in sun4i_crtc_atomic_begin()
68 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_begin()
69 struct drm_device *dev = crtc->dev; in sun4i_crtc_atomic_begin()
[all …]
/linux-6.6.21/drivers/gpu/drm/imx/dcss/
Ddcss-crtc.c15 static int dcss_enable_vblank(struct drm_crtc *crtc) in dcss_enable_vblank() argument
17 struct dcss_crtc *dcss_crtc = container_of(crtc, struct dcss_crtc, in dcss_enable_vblank()
19 struct dcss_dev *dcss = crtc->dev->dev_private; in dcss_enable_vblank()
30 static void dcss_disable_vblank(struct drm_crtc *crtc) in dcss_disable_vblank() argument
32 struct dcss_crtc *dcss_crtc = container_of(crtc, struct dcss_crtc, in dcss_disable_vblank()
55 static void dcss_crtc_atomic_begin(struct drm_crtc *crtc, in dcss_crtc_atomic_begin() argument
58 drm_crtc_vblank_on(crtc); in dcss_crtc_atomic_begin()
61 static void dcss_crtc_atomic_flush(struct drm_crtc *crtc, in dcss_crtc_atomic_flush() argument
64 struct dcss_crtc *dcss_crtc = container_of(crtc, struct dcss_crtc, in dcss_crtc_atomic_flush()
68 spin_lock_irq(&crtc->dev->event_lock); in dcss_crtc_atomic_flush()
[all …]
/linux-6.6.21/drivers/rtc/
Drtc-cadence.c87 static void cdns_rtc_set_enabled(struct cdns_rtc *crtc, bool enabled) in cdns_rtc_set_enabled() argument
91 writel(reg, crtc->regs + CDNS_RTC_CTLR); in cdns_rtc_set_enabled()
94 static bool cdns_rtc_get_enabled(struct cdns_rtc *crtc) in cdns_rtc_get_enabled() argument
96 return !(readl(crtc->regs + CDNS_RTC_CTLR) & CDNS_RTC_CTLR_TIME_CAL); in cdns_rtc_get_enabled()
102 struct cdns_rtc *crtc = dev_get_drvdata(dev); in cdns_rtc_irq_handler() local
105 if (!(readl(crtc->regs + CDNS_RTC_EFLR) & CDNS_RTC_AEI_ALRM)) in cdns_rtc_irq_handler()
108 rtc_update_irq(crtc->rtc_dev, 1, RTC_IRQF | RTC_AF); in cdns_rtc_irq_handler()
128 struct cdns_rtc *crtc = dev_get_drvdata(dev); in cdns_rtc_read_time() local
132 if (!cdns_rtc_get_enabled(crtc)) in cdns_rtc_read_time()
135 cdns_rtc_set_enabled(crtc, false); in cdns_rtc_read_time()
[all …]
/linux-6.6.21/drivers/gpu/drm/vkms/
Dvkms_crtc.c16 struct drm_crtc *crtc = &output->crtc; in vkms_vblank_simulate() local
29 ret = drm_crtc_handle_vblank(crtc); in vkms_vblank_simulate()
37 u64 frame = drm_crtc_accurate_vblank_count(crtc); in vkms_vblank_simulate()
62 static int vkms_enable_vblank(struct drm_crtc *crtc) in vkms_enable_vblank() argument
64 struct drm_device *dev = crtc->dev; in vkms_enable_vblank()
65 unsigned int pipe = drm_crtc_index(crtc); in vkms_enable_vblank()
67 struct vkms_output *out = drm_crtc_to_vkms_output(crtc); in vkms_enable_vblank()
69 drm_calc_timestamping_constants(crtc, &crtc->mode); in vkms_enable_vblank()
79 static void vkms_disable_vblank(struct drm_crtc *crtc) in vkms_disable_vblank() argument
81 struct vkms_output *out = drm_crtc_to_vkms_output(crtc); in vkms_disable_vblank()
[all …]
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_crtc.c24 static void sti_crtc_atomic_enable(struct drm_crtc *crtc, in sti_crtc_atomic_enable() argument
27 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_enable()
33 drm_crtc_vblank_on(crtc); in sti_crtc_atomic_enable()
36 static void sti_crtc_atomic_disable(struct drm_crtc *crtc, in sti_crtc_atomic_disable() argument
39 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable()
45 drm_crtc_wait_one_vblank(crtc); in sti_crtc_atomic_disable()
49 sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) in sti_crtc_mode_set() argument
51 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set()
58 crtc->base.id, sti_mixer_to_str(mixer), mode->name); in sti_crtc_mode_set()
86 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
[all …]
/linux-6.6.21/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c63 static void set_scanout(struct drm_crtc *crtc, struct drm_framebuffer *fb) in set_scanout() argument
65 struct drm_device *dev = crtc->dev; in set_scanout()
74 crtc->y * fb->pitches[0] + in set_scanout()
75 crtc->x * fb->format->cpp[0]; in set_scanout()
77 end = start + (crtc->mode.vdisplay * fb->pitches[0]); in set_scanout()
97 static void tilcdc_crtc_load_palette(struct drm_crtc *crtc) in tilcdc_crtc_load_palette() argument
99 struct tilcdc_crtc *tilcdc_crtc = to_tilcdc_crtc(crtc); in tilcdc_crtc_load_palette()
100 struct drm_device *dev = crtc->dev; in tilcdc_crtc_load_palette()
177 static void reset(struct drm_crtc *crtc) in reset() argument
179 struct drm_device *dev = crtc->dev; in reset()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c62 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms() argument
64 struct msm_drm_private *priv = crtc->dev->dev_private; in get_kms()
68 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument
70 struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc); in request_pending()
73 mdp_irq_register(&get_kms(crtc)->base, &mdp4_crtc->vblank); in request_pending()
76 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush() argument
78 struct mdp4_crtc *mdp4_crtc = to_mdp4_crtc(crtc); in crtc_flush()
79 struct mdp4_kms *mdp4_kms = get_kms(crtc); in crtc_flush()
83 drm_atomic_crtc_for_each_plane(plane, crtc) { in crtc_flush()
98 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/imx/ipuv3/
Dipuv3-crtc.c44 static inline struct ipu_crtc *to_ipu_crtc(struct drm_crtc *crtc) in to_ipu_crtc() argument
46 return container_of(crtc, struct ipu_crtc, base); in to_ipu_crtc()
49 static void ipu_crtc_atomic_enable(struct drm_crtc *crtc, in ipu_crtc_atomic_enable() argument
52 struct ipu_crtc *ipu_crtc = to_ipu_crtc(crtc); in ipu_crtc_atomic_enable()
81 static void ipu_crtc_atomic_disable(struct drm_crtc *crtc, in ipu_crtc_atomic_disable() argument
85 crtc); in ipu_crtc_atomic_disable()
86 struct ipu_crtc *ipu_crtc = to_ipu_crtc(crtc); in ipu_crtc_atomic_disable()
100 drm_crtc_vblank_off(crtc); in ipu_crtc_atomic_disable()
102 spin_lock_irq(&crtc->dev->event_lock); in ipu_crtc_atomic_disable()
103 if (crtc->state->event && !crtc->state->active) { in ipu_crtc_atomic_disable()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c68 static void mdp5_crtc_restore_cursor(struct drm_crtc *crtc);
70 static struct mdp5_kms *get_kms(struct drm_crtc *crtc) in get_kms() argument
72 struct msm_drm_private *priv = crtc->dev->dev_private; in get_kms()
76 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending() argument
78 struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc); in request_pending()
81 mdp_irq_register(&get_kms(crtc)->base, &mdp5_crtc->vblank); in request_pending()
84 static void request_pp_done_pending(struct drm_crtc *crtc) in request_pp_done_pending() argument
86 struct mdp5_crtc *mdp5_crtc = to_mdp5_crtc(crtc); in request_pp_done_pending()
90 static u32 crtc_flush(struct drm_crtc *crtc, u32 flush_mask) in crtc_flush() argument
92 struct mdp5_crtc_state *mdp5_cstate = to_mdp5_crtc_state(crtc->state); in crtc_flush()
[all …]
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/
Dkomeda_crtc.c30 if (conn_st->crtc != crtc_st->crtc) in komeda_crtc_get_color_config()
76 komeda_crtc_atomic_check(struct drm_crtc *crtc, in komeda_crtc_atomic_check() argument
80 crtc); in komeda_crtc_atomic_check()
81 struct komeda_crtc *kcrtc = to_kcrtc(crtc); in komeda_crtc_atomic_check()
202 struct drm_crtc *crtc = &kcrtc->base; in komeda_crtc_handle_event() local
206 drm_crtc_handle_vblank(crtc); in komeda_crtc_handle_event()
225 spin_lock_irqsave(&crtc->dev->event_lock, flags); in komeda_crtc_handle_event()
229 } else if (crtc->state->event) { in komeda_crtc_handle_event()
230 event = crtc->state->event; in komeda_crtc_handle_event()
235 crtc->state->event = NULL; in komeda_crtc_handle_event()
[all …]
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_cursor.c32 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock) in radeon_lock_cursor() argument
34 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_lock_cursor()
35 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_lock_cursor()
62 static void radeon_hide_cursor(struct drm_crtc *crtc) in radeon_hide_cursor() argument
64 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_hide_cursor()
65 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_hide_cursor()
90 static void radeon_show_cursor(struct drm_crtc *crtc) in radeon_show_cursor() argument
92 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_show_cursor()
93 struct radeon_device *rdev = crtc->dev->dev_private; in radeon_show_cursor()
144 static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y) in radeon_cursor_move_locked() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c78 const char *const *amdgpu_dm_crtc_get_crc_sources(struct drm_crtc *crtc, in amdgpu_dm_crtc_get_crc_sources() argument
86 static void amdgpu_dm_set_crc_window_default(struct drm_crtc *crtc, struct dc_stream_state *stream) in amdgpu_dm_set_crc_window_default() argument
88 struct drm_device *drm_dev = crtc->dev; in amdgpu_dm_set_crc_window_default()
90 struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc); in amdgpu_dm_set_crc_window_default()
107 flush_work(&dm->secure_display_ctxs[crtc->index].notify_ta_work); in amdgpu_dm_set_crc_window_default()
108 flush_work(&dm->secure_display_ctxs[crtc->index].forward_roi_work); in amdgpu_dm_set_crc_window_default()
118 struct drm_crtc *crtc; in amdgpu_dm_crtc_notify_ta_to_read() local
124 crtc = secure_display_ctx->crtc; in amdgpu_dm_crtc_notify_ta_to_read()
126 if (!crtc) in amdgpu_dm_crtc_notify_ta_to_read()
129 psp = &drm_to_adev(crtc->dev)->psp; in amdgpu_dm_crtc_notify_ta_to_read()
[all …]

12345678910>>...26