/linux-5.19.10/drivers/gpu/drm/kmb/ |
D | kmb_plane.c | 73 int plane_id = kmb_plane->id; in check_pixel_format() local 77 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in check_pixel_format() 99 int plane_id = kmb_plane->id; in kmb_plane_atomic_check() local 107 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in kmb_plane_atomic_check() 146 int plane_id = kmb_plane->id; in kmb_plane_atomic_disable() local 151 if (WARN_ON(plane_id >= KMB_MAX_PLANES)) in kmb_plane_atomic_disable() 154 switch (plane_id) { in kmb_plane_atomic_disable() 156 kmb->plane_status[plane_id].ctrl = LCD_CTRL_VL1_ENABLE; in kmb_plane_atomic_disable() 159 kmb->plane_status[plane_id].ctrl = LCD_CTRL_VL2_ENABLE; in kmb_plane_atomic_disable() 163 kmb->plane_status[plane_id].disable = true; in kmb_plane_atomic_disable() [all …]
|
D | kmb_drv.c | 206 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-5.19.10/drivers/gpu/drm/i915/display/ |
D | skl_universal_plane.c | 243 enum plane_id plane_id) in icl_is_nv12_y_plane() argument 246 icl_nv12_y_plane_mask(dev_priv) & BIT(plane_id); in icl_is_nv12_y_plane() 249 bool icl_is_hdr_plane(struct drm_i915_private *dev_priv, enum plane_id plane_id) in icl_is_hdr_plane() argument 252 icl_hdr_plane_mask() & BIT(plane_id); in icl_is_hdr_plane() 514 enum plane_id plane_id = plane->id; in icl_program_input_csc() local 556 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 0), in icl_program_input_csc() 558 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 1), in icl_program_input_csc() 560 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 2), in icl_program_input_csc() 562 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 3), in icl_program_input_csc() 564 intel_de_write_fw(dev_priv, PLANE_INPUT_CSC_COEFF(pipe, plane_id, 4), in icl_program_input_csc() [all …]
|
D | skl_universal_plane.h | 17 enum plane_id; 21 enum pipe pipe, enum plane_id plane_id); 32 enum plane_id plane_id); 33 bool icl_is_hdr_plane(struct drm_i915_private *dev_priv, enum plane_id plane_id);
|
D | intel_sprite.c | 130 enum plane_id plane_id = plane->id; in chv_sprite_update_csc() local 161 intel_de_write_fw(dev_priv, SPCSCYGOFF(plane_id), in chv_sprite_update_csc() 163 intel_de_write_fw(dev_priv, SPCSCCBOFF(plane_id), in chv_sprite_update_csc() 165 intel_de_write_fw(dev_priv, SPCSCCROFF(plane_id), in chv_sprite_update_csc() 168 intel_de_write_fw(dev_priv, SPCSCC01(plane_id), in chv_sprite_update_csc() 170 intel_de_write_fw(dev_priv, SPCSCC23(plane_id), in chv_sprite_update_csc() 172 intel_de_write_fw(dev_priv, SPCSCC45(plane_id), in chv_sprite_update_csc() 174 intel_de_write_fw(dev_priv, SPCSCC67(plane_id), in chv_sprite_update_csc() 176 intel_de_write_fw(dev_priv, SPCSCC8(plane_id), SPCSC_C0(csc[8])); in chv_sprite_update_csc() 178 intel_de_write_fw(dev_priv, SPCSCYGICLAMP(plane_id), in chv_sprite_update_csc() [all …]
|
D | intel_bw.c | 591 enum plane_id plane_id; in intel_bw_crtc_data_rate() local 593 for_each_plane_id_on_crtc(crtc, plane_id) { in intel_bw_crtc_data_rate() 598 if (plane_id == PLANE_CURSOR) in intel_bw_crtc_data_rate() 601 data_rate += crtc_state->data_rate[plane_id]; in intel_bw_crtc_data_rate() 604 data_rate += crtc_state->data_rate_y[plane_id]; in intel_bw_crtc_data_rate() 729 enum plane_id plane_id, in skl_plane_calc_dbuf_bw() argument 744 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw() 754 enum plane_id plane_id; in skl_crtc_calc_dbuf_bw() local 761 for_each_plane_id_on_crtc(crtc, plane_id) { in skl_crtc_calc_dbuf_bw() 766 if (plane_id == PLANE_CURSOR) in skl_crtc_calc_dbuf_bw() [all …]
|
D | intel_atomic_plane.c | 622 intel_crtc_get_plane(struct intel_crtc *crtc, enum plane_id plane_id) in intel_crtc_get_plane() argument 628 if (plane->id == plane_id) in intel_crtc_get_plane() 693 enum plane_id plane_id = plane->id; in skl_next_plane_to_commit() local 696 !(*update_mask & BIT(plane_id))) in skl_next_plane_to_commit() 699 if (skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb[plane_id], in skl_next_plane_to_commit() 700 ddb, I915_MAX_PLANES, plane_id) || in skl_next_plane_to_commit() 701 skl_ddb_allocation_overlaps(&crtc_state->wm.skl.plane_ddb_y[plane_id], in skl_next_plane_to_commit() 702 ddb_y, I915_MAX_PLANES, plane_id)) in skl_next_plane_to_commit() 705 *update_mask &= ~BIT(plane_id); in skl_next_plane_to_commit() 706 ddb[plane_id] = crtc_state->wm.skl.plane_ddb[plane_id]; in skl_next_plane_to_commit() [all …]
|
D | intel_atomic_plane.h | 19 enum plane_id;
|
D | intel_display_debugfs.c | 1050 enum plane_id plane_id; in i915_ddb_info() local 1054 for_each_plane_id_on_crtc(crtc, plane_id) { in i915_ddb_info() 1055 entry = &crtc_state->wm.skl.plane_ddb[plane_id]; in i915_ddb_info() 1056 seq_printf(m, " Plane%-8d%8u%8u%8u\n", plane_id + 1, in i915_ddb_info()
|
D | intel_display.h | 176 enum plane_id { enum
|
/linux-5.19.10/drivers/gpu/drm/i915/ |
D | intel_pm.c | 1103 static int g4x_plane_fifo_size(enum plane_id plane_id, int level) in g4x_plane_fifo_size() argument 1119 switch (plane_id) { in g4x_plane_fifo_size() 1127 MISSING_CASE(plane_id); in g4x_plane_fifo_size() 1202 int level, enum plane_id plane_id, u16 value) in g4x_raw_plane_wm_set() argument 1210 dirty |= raw->plane[plane_id] != value; in g4x_raw_plane_wm_set() 1211 raw->plane[plane_id] = value; in g4x_raw_plane_wm_set() 1246 enum plane_id plane_id = plane->id; in g4x_raw_plane_wm_compute() local 1251 dirty |= g4x_raw_plane_wm_set(crtc_state, 0, plane_id, 0); in g4x_raw_plane_wm_compute() 1252 if (plane_id == PLANE_PRIMARY) in g4x_raw_plane_wm_compute() 1262 max_wm = g4x_plane_fifo_size(plane_id, level); in g4x_raw_plane_wm_compute() [all …]
|
D | intel_pm.h | 55 enum plane_id plane_id, 58 enum plane_id plane_id);
|
D | i915_reg.h | 4756 #define _VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument 4757 _PIPE((pipe) * 2 + (plane_id) - PLANE_SPRITE0, (reg_a), (reg_b)) 4758 #define _MMIO_VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument 4759 _MMIO(_VLV_SPR((pipe), (plane_id), (reg_a), (reg_b))) 4761 #define SPCNTR(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPACNTR, _SPBCNTR) argument 4762 #define SPLINOFF(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPALINOFF, _SPBLINOFF) argument 4763 #define SPSTRIDE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASTRIDE, _SPBSTRIDE) argument 4764 #define SPPOS(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAPOS, _SPBPOS) argument 4765 #define SPSIZE(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPASIZE, _SPBSIZE) argument 4766 #define SPKEYMINVAL(pipe, plane_id) _MMIO_VLV_SPR((pipe), (plane_id), _SPAKEYMINVAL, _SPBKEYMINVAL) argument [all …]
|
D | i915_drv.h | 904 #define INTEL_FRONTBUFFER(pipe, plane_id) ({ \ argument 907 BIT((plane_id) + INTEL_FRONTBUFFER_BITS_PER_PIPE * (pipe)); \
|
/linux-5.19.10/drivers/gpu/drm/sti/ |
D | sti_mixer.c | 239 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-5.19.10/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 253 int plane_id) in vgpu_get_plane_info() argument 261 if (plane_id == DRM_PLANE_TYPE_PRIMARY) { in vgpu_get_plane_info() 291 } else if (plane_id == DRM_PLANE_TYPE_CURSOR) { in vgpu_get_plane_info() 313 gvt_vgpu_err("invalid plane id:%d\n", plane_id); in vgpu_get_plane_info()
|
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/ |
D | h264.c | 680 unsigned int plane_id, in tegra_vde_validate_vb_size() argument 683 u64 offset = vb->planes[plane_id].data_offset; in tegra_vde_validate_vb_size() 686 if (offset + min_size > vb2_plane_size(vb, plane_id)) { in tegra_vde_validate_vb_size() 688 plane_id, vb2_plane_size(vb, plane_id), offset, min_size); in tegra_vde_validate_vb_size()
|
/linux-5.19.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_trace.h | 634 TP_PROTO(uint32_t crtc_id, uint32_t plane_id, 638 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp, 642 __field( uint32_t, plane_id ) 656 __entry->plane_id = plane_id; 672 __entry->crtc_id, __entry->plane_id, __entry->fb_id,
|
/linux-5.19.10/include/uapi/drm/ |
D | drm_mode.h | 297 __u32 plane_id; member 334 __u32 plane_id; member
|
D | i915_drm.h | 1797 __u32 plane_id; member
|
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 226 __field(uint32_t, plane_id) 255 __entry->plane_id = state->plane->base.id; 290 __entry->plane_id, __entry->plane_type, __entry->plane_state,
|
/linux-5.19.10/drivers/gpu/drm/ |
D | drm_plane.c | 692 plane = drm_plane_find(dev, file_priv, plane_resp->plane_id); in drm_mode_getplane() 712 plane_resp->plane_id = plane->base.id; in drm_mode_getplane() 972 plane = drm_plane_find(dev, file_priv, plane_req->plane_id); in drm_mode_setplane() 975 plane_req->plane_id); in drm_mode_setplane()
|
/linux-5.19.10/drivers/gpu/drm/ingenic/ |
D | ingenic-drm-drv.c | 662 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-5.19.10/tools/include/uapi/drm/ |
D | i915_drm.h | 1797 __u32 plane_id; member
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 729 int plane_id) in power_on_plane() argument 737 hws->funcs.dpp_pg_control(hws, plane_id, true); in power_on_plane() 740 hws->funcs.hubp_pg_control(hws, plane_id, true); in power_on_plane() 745 "Un-gated front end for pipe %d\n", plane_id); in power_on_plane()
|