Skip to content

FROMLIST: drm/msm: restore GEM-related IOCTLs for KMS devices#757

Open
yashgupta2126 wants to merge 2 commits intoqualcomm-linux:tech/mm/drmfrom
yashgupta2126:myfix-drm
Open

FROMLIST: drm/msm: restore GEM-related IOCTLs for KMS devices#757
yashgupta2126 wants to merge 2 commits intoqualcomm-linux:tech/mm/drmfrom
yashgupta2126:myfix-drm

Conversation

@yashgupta2126
Copy link

The MSM GBM backend uses MSM_GEM_NEW to allocate GEM buffers from the KMS driver, imports them into the GPU driver (msm or kgsl) and then uses them for rendering / blending. Commit 98f11fd ("drm/msm: Take the ioctls away from the KMS-only driver") dropped all IOCTLs from the MSM KMS devices, pointing out the need to use dumb buffers, however dumb buffers should not be used by the GPU for rendering. Restore GEM-related IOCTLs for the KMS devices.

Fixes: 98f11fd ("drm/msm: Take the ioctls away from the KMS-only driver")

Link: https://lore.kernel.org/all/[email protected]/

Mahadevan P and others added 2 commits February 24, 2026 15:20
On targets with multiple display subsystems, such as SA8775P, the GPU
binds to the first display subsystem that probes. This implicit binding
prevents subsequent display subsystems from probing successfully,
breaking multi-display support.

Enable separate_gpu_kms by default to decouple GPU and display subsystem
probing. This allows each display subsystem to initialize independently,
ensuring that all display subsystems are probed.

Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Mahadevan P <[email protected]>
Signed-off-by: Yash Gupta <[email protected]>
The MSM GBM backend uses MSM_GEM_NEW to allocate GEM buffers from the
KMS driver, imports them into the GPU driver (msm or kgsl) and then
uses them for rendering / blending. Commit 98f11fd ("drm/msm: Take
the ioctls away from the KMS-only driver") dropped all IOCTLs from the
MSM KMS devices, pointing out the need to use dumb buffers, however dumb
buffers should not be used by the GPU for rendering. Restore GEM-related
IOCTLs for the KMS devices.

Fixes: 98f11fd ("drm/msm: Take the ioctls away from the KMS-only driver")
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Yash Gupta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants