Home
last modified time | relevance | path

Searched refs:hvs (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/vc4/
A Dvc4_hvs.c245 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_debugfs_dlist() local
287 struct vc4_hvs *hvs = vc4->hvs; in vc6_hvs_debugfs_dlist() local
336 struct vc4_hvs *hvs = vc4->hvs; in vc6_hvs_debugfs_upm_allocs() local
838 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_install_dlist() local
932 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_atomic_flush() local
1114 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_irq_handler() local
1164 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_debugfs_init() local
1237 hvs->upm_refcounts[i].hvs = hvs; in __vc4_hvs_alloc()
1298 vc4->hvs = hvs; in __vc4_hvs_alloc()
1647 hvs->regset.base = hvs->regs; in vc4_hvs_bind()
[all …]
A Dvc4_plane.c35 u32 hvs; /* HVS_FORMAT_* */ member
42 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
48 .hvs = HVS_PIXEL_FORMAT_RGBA8888,
66 .hvs = HVS_PIXEL_FORMAT_RGB565,
72 .hvs = HVS_PIXEL_FORMAT_RGB565,
90 .hvs = HVS_PIXEL_FORMAT_RGB888,
96 .hvs = HVS_PIXEL_FORMAT_RGB888,
282 struct vc4_hvs *hvs = vc4->hvs; in vc4_plane_duplicate_state() local
337 struct vc4_hvs *hvs = vc4->hvs; in vc4_plane_destroy_state() local
984 struct vc4_hvs *hvs = vc4->hvs; in vc6_plane_allocate_upm() local
[all …]
A Dvc4_kms.c137 struct vc4_hvs *hvs = vc4->hvs; in vc4_ctm_commit() local
213 struct vc4_hvs *hvs = vc4->hvs; in vc4_hvs_pv_muxing_commit() local
256 struct vc4_hvs *hvs = vc4->hvs; in vc5_hvs_pv_muxing_commit() local
332 struct vc4_hvs *hvs = vc4->hvs; in vc6_hvs_pv_muxing_commit() local
381 struct vc4_hvs *hvs = vc4->hvs; in vc4_atomic_commit_tail() local
433 500000000, hvs->max_core_rate); in vc4_atomic_commit_tail()
441 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
442 WARN_ON(clk_set_min_rate(hvs->disp_clk, core_rate)); in vc4_atomic_commit_tail()
484 hvs->max_core_rate, in vc4_atomic_commit_tail()
493 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
[all …]
A Dvc4_drv.h99 struct vc4_hvs *hvs; member
310 struct vc4_hvs *hvs; member
654 readl(hvs->regs + (offset)); \
660 writel(val, hvs->regs + (offset)); \
664 HVS_READ(hvs->vc4->gen == VC4_GEN_6_C ? SCALER6_ ## offset : SCALER6D_ ## offset)
1028 void vc4_hvs_stop_channel(struct vc4_hvs *hvs, unsigned int output);
1029 int vc4_hvs_get_fifo_from_output(struct vc4_hvs *hvs, unsigned int output);
1030 u8 vc4_hvs_get_fifo_frame_count(struct vc4_hvs *hvs, unsigned int fifo);
1036 void vc4_hvs_dump_state(struct vc4_hvs *hvs);
1037 void vc4_hvs_unmask_underrun(struct vc4_hvs *hvs, int channel);
[all …]
A Dvc4_regs.h24 WARN_ON(!FIELD_FIT(hvs->vc4->gen == VC4_GEN_6_C ? \
27 FIELD_PREP(hvs->vc4->gen == VC4_GEN_6_C ? \
32 #define VC6_GET_FIELD(word, field) FIELD_GET(hvs->vc4->gen == VC4_GEN_6_C ? \
565 #define SCALER6_DISPX_CTRL0(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
576 #define SCALER6_DISPX_CTRL1(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
583 #define SCALER6_DISPX_BGND(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
588 #define SCALER6_DISPX_LPTRS(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
594 #define SCALER6_DISPX_COB(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
601 #define SCALER6_DISPX_STATUS(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
616 #define SCALER6_DISPX_DL(x) ((hvs->vc4->gen == VC4_GEN_6_C) ? \
[all …]
A Dvc4_crtc.c85 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation() local
114 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_scanout_position() local
158 if (vc4_hvs_get_fifo_frame_count(hvs, channel) % 2) in vc4_crtc_get_scanout_position()
490 struct vc4_hvs *hvs = vc4->hvs; in require_hvs_enabled() local
539 vc4_hvs_stop_channel(vc4->hvs, channel); in vc4_crtc_disable()
578 channel = vc4_hvs_get_fifo_from_output(vc4->hvs, vc4_crtc->data->hvs_output); in vc4_crtc_disable_at_boot()
827 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_handle_page_flip() local
854 vc4_hvs_unmask_underrun(hvs, chan); in vc4_crtc_handle_page_flip()
1129 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1131 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
A Dvc4_hdmi.c448 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20) { in vc4_hdmi_connector_get_modes()
1655 if (!vc4->hvs->vc5_hdmi_enable_hdmi_20 && clock > HDMI_14_MAX_TMDS_CLK) in vc4_hdmi_connector_clock_valid()
1659 if (!vc4->hvs->vc5_hdmi_enable_4096by2160 && in vc4_hdmi_connector_clock_valid()
/drivers/gpu/drm/vc4/tests/
A Dvc4_mock.c178 vc4->hvs = __vc4_hvs_alloc(vc4, NULL, NULL); in __mock_device()
179 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, vc4->hvs); in __mock_device()

Completed in 38 milliseconds