Home
last modified time | relevance | path

Searched refs:plane_id (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/kmb/ !
Dkmb_plane.c72 int plane_id = kmb_plane->id; in check_pixel_format() local
76 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in check_pixel_format()
98 int plane_id = kmb_plane->id; in kmb_plane_atomic_check() local
106 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in kmb_plane_atomic_check()
145 int plane_id = kmb_plane->id; in kmb_plane_atomic_disable() local
150 if (WARN_ON(plane_id >= KMB_MAX_PLANES)) in kmb_plane_atomic_disable()
153 switch (plane_id) { in kmb_plane_atomic_disable()
155 kmb->plane_status[plane_id].ctrl = LCD_CTRL_VL1_ENABLE; in kmb_plane_atomic_disable()
158 kmb->plane_status[plane_id].ctrl = LCD_CTRL_VL2_ENABLE; in kmb_plane_atomic_disable()
162 kmb->plane_status[plane_id].disable = true; in kmb_plane_atomic_disable()
[all …]
Dkmb_drv.c206 int plane_id, dma0_state, dma1_state; in handle_lcd_irq() local
222 for (plane_id = LAYER_0; in handle_lcd_irq()
223 plane_id < KMB_MAX_PLANES; plane_id++) { in handle_lcd_irq()
224 if (kmb->plane_status[plane_id].disable) { in handle_lcd_irq()
227 (plane_id), in handle_lcd_irq()
231 kmb->plane_status[plane_id].ctrl); in handle_lcd_irq()
246 kmb->plane_status[plane_id].disable = false; in handle_lcd_irq()
/linux-6.6.21/drivers/gpu/drm/i915/display/ !
Dskl_universal_plane.c244 enum plane_id plane_id) in icl_is_nv12_y_plane() argument
247 icl_nv12_y_plane_mask(dev_priv) & BIT(plane_id); in icl_is_nv12_y_plane()
255 bool icl_is_hdr_plane(struct drm_i915_private *dev_priv, enum plane_id plane_id) in icl_is_hdr_plane() argument
258 icl_hdr_plane_mask() & BIT(plane_id); in icl_is_hdr_plane()
520 enum plane_id plane_id = plane->id; in icl_program_input_csc() local
562 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 0), in icl_program_input_csc()
564 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 1), in icl_program_input_csc()
566 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 2), in icl_program_input_csc()
568 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 3), in icl_program_input_csc()
570 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 4), in icl_program_input_csc()
[all …]
Dskl_universal_plane.h17 enum plane_id;
21 enum pipe pipe, enum plane_id plane_id);
32 enum plane_id plane_id);
34 bool icl_is_hdr_plane(struct drm_i915_private *dev_priv, enum plane_id plane_id);
Dskl_watermark.c342 enum plane_id plane_id; in skl_crtc_can_enable_sagv() local
354 for_each_plane_id_on_crtc(crtc, plane_id) { in skl_crtc_can_enable_sagv()
356 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_crtc_can_enable_sagv()
376 for_each_plane_id_on_crtc(crtc, plane_id) { in skl_crtc_can_enable_sagv()
378 &crtc_state->wm.skl.optimal.planes[plane_id]; in skl_crtc_can_enable_sagv()
394 enum plane_id plane_id; in tgl_crtc_can_enable_sagv() local
399 for_each_plane_id_on_crtc(crtc, plane_id) { in tgl_crtc_can_enable_sagv()
401 &crtc_state->wm.skl.optimal.planes[plane_id]; in tgl_crtc_can_enable_sagv()
777 const enum plane_id plane_id, in skl_ddb_get_hw_plane_state() argument
784 if (plane_id == PLANE_CURSOR) { in skl_ddb_get_hw_plane_state()
[all …]
Dintel_sprite.c66 enum plane_id plane_id = plane->id; in chv_sprite_update_csc() local
97 intel_de_write_fw(dev_priv, SPCSCYGOFF(plane_id), in chv_sprite_update_csc()
99 intel_de_write_fw(dev_priv, SPCSCCBOFF(plane_id), in chv_sprite_update_csc()
101 intel_de_write_fw(dev_priv, SPCSCCROFF(plane_id), in chv_sprite_update_csc()
104 intel_de_write_fw(dev_priv, SPCSCC01(plane_id), in chv_sprite_update_csc()
106 intel_de_write_fw(dev_priv, SPCSCC23(plane_id), in chv_sprite_update_csc()
108 intel_de_write_fw(dev_priv, SPCSCC45(plane_id), in chv_sprite_update_csc()
110 intel_de_write_fw(dev_priv, SPCSCC67(plane_id), in chv_sprite_update_csc()
112 intel_de_write_fw(dev_priv, SPCSCC8(plane_id), SPCSC_C0(csc[8])); in chv_sprite_update_csc()
114 intel_de_write_fw(dev_priv, SPCSCYGICLAMP(plane_id), in chv_sprite_update_csc()
[all …]
Di9xx_wm.c831 static int g4x_plane_fifo_size(enum plane_id plane_id, int level) in g4x_plane_fifo_size() argument
847 switch (plane_id) { in g4x_plane_fifo_size()
855 MISSING_CASE(plane_id); in g4x_plane_fifo_size()
930 int level, enum plane_id plane_id, u16 value) in g4x_raw_plane_wm_set() argument
938 dirty |= raw->plane[plane_id] != value; in g4x_raw_plane_wm_set()
939 raw->plane[plane_id] = value; in g4x_raw_plane_wm_set()
973 enum plane_id plane_id = plane->id; in g4x_raw_plane_wm_compute() local
978 dirty |= g4x_raw_plane_wm_set(crtc_state, 0, plane_id, 0); in g4x_raw_plane_wm_compute()
979 if (plane_id == PLANE_PRIMARY) in g4x_raw_plane_wm_compute()
989 max_wm = g4x_plane_fifo_size(plane_id, level); in g4x_raw_plane_wm_compute()
[all …]
Dintel_bw.c696 enum plane_id plane_id; in intel_bw_crtc_data_rate() local
698 for_each_plane_id_on_crtc(crtc, plane_id) { in intel_bw_crtc_data_rate()
703 if (plane_id == PLANE_CURSOR) in intel_bw_crtc_data_rate()
706 data_rate += crtc_state->data_rate[plane_id]; in intel_bw_crtc_data_rate()
709 data_rate += crtc_state->data_rate_y[plane_id]; in intel_bw_crtc_data_rate()
1038 enum plane_id plane_id, in skl_plane_calc_dbuf_bw() argument
1053 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw()
1063 enum plane_id plane_id; in skl_crtc_calc_dbuf_bw() local
1070 for_each_plane_id_on_crtc(crtc, plane_id) { in skl_crtc_calc_dbuf_bw()
1075 if (plane_id == PLANE_CURSOR) in skl_crtc_calc_dbuf_bw()
[all …]
Dintel_atomic_plane.c667 intel_crtc_get_plane(struct intel_crtc *crtc, enum plane_id plane_id) in intel_crtc_get_plane() argument
673 if (plane->id == plane_id) in intel_crtc_get_plane()
738 enum plane_id plane_id = plane->id; in skl_next_plane_to_commit() local
741 !(*update_mask & BIT(plane_id))) in skl_next_plane_to_commit()
744 if (skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb[plane_id], in skl_next_plane_to_commit()
745 ddb, I915_MAX_PLANES, plane_id) || in skl_next_plane_to_commit()
746 skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb_y[plane_id], in skl_next_plane_to_commit()
747 ddb_y, I915_MAX_PLANES, plane_id)) in skl_next_plane_to_commit()
750 *update_mask &= ~BIT(plane_id); in skl_next_plane_to_commit()
751 ddb[plane_id] = crtc_state->wm.skl.plane_ddb[plane_id]; in skl_next_plane_to_commit()
[all …]
Dintel_dpt.c327 enum plane_id plane_id; in intel_dpt_configure() local
329 for_each_plane_id_on_crtc(crtc, plane_id) { in intel_dpt_configure()
330 if (plane_id == PLANE_CURSOR) in intel_dpt_configure()
333 intel_de_rmw(i915, PLANE_CHICKEN(pipe, plane_id), in intel_dpt_configure()
Dintel_frontbuffer.h60 #define INTEL_FRONTBUFFER(pipe, plane_id) \ argument
61 BIT((plane_id) + INTEL_FRONTBUFFER_BITS_PER_PIPE * (pipe));
Dintel_display_limits.h62 enum plane_id { enum
Dintel_atomic_plane.h19 enum plane_id;
Dintel_sprite_uapi.c67 plane = drm_plane_find(dev, file_priv, set->plane_id); in intel_sprite_set_colorkey_ioctl()
Dintel_display_debugfs.c713 enum plane_id plane_id; in i915_ddb_info() local
717 for_each_plane_id_on_crtc(crtc, plane_id) { in i915_ddb_info()
718 entry = &crtc_state->wm.skl.plane_ddb[plane_id]; in i915_ddb_info()
719 seq_printf(m, " Plane%-8d%8u%8u%8u\n", plane_id + 1, in i915_ddb_info()
/linux-6.6.21/drivers/gpu/drm/sti/ !
Dsti_mixer.c239 int plane_id, depth = plane->drm_plane.state->normalized_zpos; in sti_mixer_set_plane_depth() local
245 plane_id = GAM_DEPTH_GDP0_ID; in sti_mixer_set_plane_depth()
248 plane_id = GAM_DEPTH_GDP1_ID; in sti_mixer_set_plane_depth()
251 plane_id = GAM_DEPTH_GDP2_ID; in sti_mixer_set_plane_depth()
254 plane_id = GAM_DEPTH_GDP3_ID; in sti_mixer_set_plane_depth()
257 plane_id = GAM_DEPTH_VID0_ID; in sti_mixer_set_plane_depth()
271 if ((val & mask) == plane_id << (3 * i)) in sti_mixer_set_plane_depth()
276 plane_id = plane_id << (3 * depth); in sti_mixer_set_plane_depth()
281 plane_id, mask); in sti_mixer_set_plane_depth()
284 val |= plane_id; in sti_mixer_set_plane_depth()
/linux-6.6.21/drivers/gpu/drm/i915/ !
Di915_reg.h2693 #define PIPE_MISC2_FLIP_INFO_PLANE_SEL(plane_id) REG_FIELD_PREP(PIPE_MISC2_FLIP_INFO_PLANE_SEL_MA… argument
3524 #define _VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument
3525 _PIPE((pipe) * 2 + (plane_id) - PLANE_SPRITE0, (reg_a), (reg_b))
3526 #define _MMIO_VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument
3527 _MMIO(_VLV_SPR((pipe), (plane_id), (reg_a), (reg_b)))
3529 #define SPCNTR(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACNTR, _SPBCNTR) argument
3530 #define SPLINOFF(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPALINOFF, _SPBLINOFF) argument
3531 #define SPSTRIDE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASTRIDE, _SPBSTRIDE) argument
3532 #define SPPOS(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAPOS, _SPBPOS) argument
3533 #define SPSIZE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASIZE, _SPBSIZE) argument
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ !
Ddmabuf.c256 int plane_id) in vgpu_get_plane_info() argument
264 if (plane_id == DRM_PLANE_TYPE_PRIMARY) { in vgpu_get_plane_info()
294 } else if (plane_id == DRM_PLANE_TYPE_CURSOR) { in vgpu_get_plane_info()
316 gvt_vgpu_err("invalid plane id:%d\n", plane_id); in vgpu_get_plane_info()
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/ !
Dh264.c679 unsigned int plane_id, in tegra_vde_validate_vb_size() argument
682 u64 offset = vb->planes[plane_id].data_offset; in tegra_vde_validate_vb_size()
685 if (offset + min_size > vb2_plane_size(vb, plane_id)) { in tegra_vde_validate_vb_size()
687 plane_id, vb2_plane_size(vb, plane_id), offset, min_size); in tegra_vde_validate_vb_size()
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ !
Ddpu_trace.h611 TP_PROTO(uint32_t crtc_id, uint32_t plane_id,
615 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx,
619 __field( uint32_t, plane_id )
633 __entry->plane_id = plane_id;
649 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
/linux-6.6.21/include/uapi/drm/ !
Ddrm_mode.h297 __u32 plane_id; member
334 __u32 plane_id; member
/linux-6.6.21/drivers/gpu/drm/ !
Ddrm_plane.c716 plane = drm_plane_find(dev, file_priv, plane_resp->plane_id); in drm_mode_getplane()
736 plane_resp->plane_id = plane->base.id; in drm_mode_getplane()
996 plane = drm_plane_find(dev, file_priv, plane_req->plane_id); in drm_mode_setplane()
999 plane_req->plane_id); in drm_mode_setplane()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ !
Damdgpu_dm_trace.h228 __field(uint32_t, plane_id)
257 __entry->plane_id = state->plane->base.id;
292 __entry->plane_id, __entry->plane_type, __entry->plane_state,
/linux-6.6.21/drivers/gpu/drm/ingenic/ !
Dingenic-drm-drv.c662 unsigned int width, height, cpp, next_id, plane_id; in ingenic_drm_plane_atomic_update() local
674 plane_id = !!(priv->soc_info->has_osd && plane != &priv->f0); in ingenic_drm_plane_atomic_update()
682 next_id = (priv_state && priv_state->use_palette) ? HWDESC_PALETTE : plane_id; in ingenic_drm_plane_atomic_update()
684 hwdesc = &priv->dma_hwdescs->hwdesc[plane_id]; in ingenic_drm_plane_atomic_update()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ !
Ddcn10_hw_sequencer.c732 int plane_id) in power_on_plane_resources() argument
737 hws->funcs.dpp_root_clock_control(hws, plane_id, true); in power_on_plane_resources()
744 hws->funcs.dpp_pg_control(hws, plane_id, true); in power_on_plane_resources()
747 hws->funcs.hubp_pg_control(hws, plane_id, true); in power_on_plane_resources()
752 "Un-gated front end for pipe %d\n", plane_id); in power_on_plane_resources()

12