In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what is the basic concept of Linux DRM". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Introduction of DRM
in the Linux kernel, you can use fbdev's API to manage the graphics adapter's framebuffer, but it cannot handle the 3D acceleration of modern GPU-based graphics cards. DRM, a subsystem of the Linux kernel, was originally developed as a kernel space component of X Server DRI and later used in other graphics stacks (such as Wayland). DRM is responsible for interacting with the GPU interface of modern graphics cards. User programs can use the API provided by DRM to send commands and data to GPU to realize the operation of class display mode setting, GPU hardware accelerated 3D rendering, video decoding and GPGPU (General GPU) calculation.
II. Introduction of nouns
The following table of describes some of the nouns involved in the DRM framework:
Acronym interpretation DRIDirect Rendering Infrastructure basic level direct rendering DRMDirect Rendering Manager direct rendering manager FBDEVFramebuffer Device frame buffer device GEMGraphics Execution Manager graphics execution manager KMSKernel Mode Setting kernel display mode setting UMSUser-space Mode Setting user space display mode setting V4L2Video For Linux 2linux video device driver 3. DRM framework
The Linux DM framework consists of two parts: DRM core and DRM driver. DRM core implements the basic framework of DRM, allows you to register DRM driver, and provides a set of ioctl for user space. DRM driver mainly implements the hardware partial drivers such as CPU/GPU that it supports, and provides ioctl implementations that are not covered by DRM core or extended (available only on such hardware). User space programs can use libdrm to access various interfaces of the DRM framework.
Since has only debugged libdrm and Linux DRM in the actual project, these two parts will be introduced later. The following figure is excerpted from the network and introduces the DRM framework.
This is the end of the content of "what is the basic concept of Linux DRM". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.