sys结点位置: /sys/module/drm/parameters/debug debug:Enable debug output, where each bit enables a debug category. Bit 0 (0x01) will enable CORE messages (drm core code) Bit 1 (0x02) will enable DRIVER messages (drm controller code) Bit 2 (0x04) will enable KMS messages (modesetting c...
status = "okay";force-hpd;ports { port@1 { reg = <1>;edp_out: endpoint { remote-endpoint...
DRM_DEBUG_KMS("FMT %x is not supported.\n", mode_cmd->pixel_format); kfree(kfb); return ERR_PTR(-EINVAL); } drm_helper_mode_fill_fb_struct(dev, &kfb->base, mode_cmd); if (kfb->base.modifier) ret = komeda_fb_afbc_size_check(kfb, file, mode_cmd); else ret = komeda_fb_n...
structdrm_client_dev {structdrm_device *dev;constchar*name;structlist_head list;conststructdrm_client_funcs *funcs;structdrm_file *file;structmutex modeset_mutex;structdrm_mode_set *modesets; }; 常见的KMS mode-setting pipeline如下: 3.2 DRM API 3.2.1 DRM Device 《DRM Internals》中介绍了drm...
struct drm_device *dev = helper->dev; struct drm_gem_cma_object *obj; struct drm_framebuffer *fb; unsigned int bytes_per_pixel; unsigned long offset; struct fb_info *fbi; size_t size; int ret; DRM_DEBUG_KMS("surface width(%d), height(%d) and bpp(%d)\n", ...
struct drm_device *dev = helper->dev; struct drm_gem_cma_object *obj; struct drm_framebuffer *fb; unsigned int bytes_per_pixel; unsigned long offset; struct fb_info *fbi; size_t size; int ret; DRM_DEBUG_KMS("surface width(%d), height(%d) and bpp(%d)\n", ...
会到设备树 dts 查找 ports 节点和 iommus 节点,使用 component_master_add_with_match 函数注册自己到 component 框架中,设置了 rockchip_drm_ops,其 component 可以通过 component_add 函数增加,master 匹配上所有 component 后,会调用 master 的 bind 回调函数,最后通过 drm_dev_register() 函数注册到 DRM ...
drm/i915: Use i915 instead of dev_priv insied the file_priv structure Mar 23, 2023 i915_gem.c drm/i915: remove unnecessary display includes Aug 26, 2024 i915_gem.h drm/i915: move I915_GEM_GPU_DOMAINS to i915_gem.h Jan 20, 2023 i915_gem_evict.c drm/i915: improve the catch...
DRM_DEBUG("generating connector status event\n"); drm_dbg_kms(connector->dev, "[CONNECTOR:%d:%s] generating connector property event for [PROP:%d:%s]\n", connector->base.id, connector->name, property->base.id, property->name); kobject_uevent_env(&dev->primary->kdev->kobj, KOBJ_CHAN...
14、drm_mode_config_reset(drm_dev) 功能:复位Plane、CRTC、Encoder和Connector。 15、rockchip_drm_set_property_default(drm_dev) 功能:设置Connector的默认属性。 16、drm_kms_helper_poll_init(drm_dev) 功能:使能KMS轮询机制。 17、rockchip_gem_pool_init(drm_dev) ...