DRM子系统中的plane对应显示处理器的layer,负责配置layer的一些属性:format、width、height、stride、显存地址等; 一个crtc可以接收多个plane的输入,如下图所示: 其中: Background Framebuffer为DRM_PLANE_TYPE_PRIMARY类型的plane; Overplay Framerbuffer为DRM_PLANE_TYPE_OVERLAY类型的plane; Cursor Framerbuffer为DRM_PL...
struct drm_plane_state { /** @plane: backpointer to the plane */ struct drm_plane *plane; /** * @crtc: * * Currently bound CRTC, NULL if disabled. Do not write this directly, * use drm_atomic_set_crtc_for_plane() ...
bool no_vblank : 1; /** * @plane_mask: Bitmask of drm_plane_mask(plane) of planes attached to * this CRTC. */ u32 plane_mask; /** * @connector_mask: Bitmask of drm_connector_mask(connector) of * connectors attached to this CRTC. */ u32 connector_mask; /** * @encoder_mask:...
这些层都是具有电气连接的层,也就是实际的铜层,这些层布的是导线 2. 内电层(Internal Plane)[绿色]: 该类型的层仅用于多层板,主要用于4层以上印制电路板。一般连接到地或电源,成为电源层和地层,也具有电气连接作用,也是实际的铜层,但该层一般情况下不布线,由整片铜膜构成。 3. 锡膏层(Paste Mask): 或...
/** * @plane_mask: Bitmask of drm_plane_mask(plane) of planes attached to * this CRTC.*/ u32 plane_mask; /** * @connector_mask: Bitmask of drm_connector_mask(connector) of * connectors attached to this CRTC.*/ u32 connector_mask; /** ...
max(plane_st->normalized_zpos, kcrtc_st->max_slave_zorder); max(slave_zpos, kcrtc_st->max_slave_zorder); } } crtc_st->zpos_changed = true; 1 change: 1 addition & 0 deletions 1 drivers/gpu/drm/bridge/Kconfig Original file line numberDiff line numberDiff line change @@ -390,...
为plane设置 crtc memory->hRmHandle = hRmHandle; memory->size = size; memory->surfaceParams.layout = layout; funcsTable->grantPermissions = GrantPermissions; to_pci_dev drm_vma_node_offset_addr nvKms->getDisplays 从分配中删除引用 - 句柄现在持有它 ...
drm_plane*plane=modeset->crtc->primary; structdrm_cmdline_mode*cmdline; u64valid_mask=0; unsignedinti; if(!modeset->num_connectors) returnfalse; switch(connector->display_info.panel_orientation){ caseDRM_MODE_PANEL_ORIENTATION_BOTTOM_UP
drm_plane_helper.h>#include<drm/drm_probe_helper.h>#include<drm/drm_vblank.h>#include#include"virtsoc_drm_crtc.h"#defineCLUT_SIZE256#defineNB_CRTC1#defineCRTC_MASKGENMASK(NB_CRTC-1,0)uint32_tvirtsoc_drm_debug_mask=0xff;module_param_named(virtsoc_debug,virtsoc_drm_debug_mask,uint,0644...
Avoid null-ptr deref in plane-state check vmwgfx: - Avoid null-ptr deref in surface creation" * tag 'drm-fixes-2024-11-16' of https://gitlab.freedesktop.org/drm/kernel: (27 commits) drm/bridge: tc358768: Fix DSI command tx drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface...