Bug 1212133 - PRIME support on bochs DRM driver
Summary: PRIME support on bochs DRM driver
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Thomas Zimmermann
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 08:36 UTC by Joan Torres
Modified: 2023-10-18 10:33 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joan Torres 2023-06-08 08:36:40 UTC
I'm trying to start a wlroots compositor (sway) on a QEMU machine is using the  Bochs DRM driver. (Kernel version 6.3.4-1-default).

The start fails saying PRIME import not supported.
I've seen there's already a patch that adds this:
https://lore.kernel.org/dri-devel/20230301222903.458692-1-contact@emersion.fr/T/#u

Could it be added to see if that fixes it?
How could I check if it was already added?
Comment 1 Thomas Zimmermann 2023-06-09 14:05:18 UTC
I asked upstream to move forward with that patchset.
Comment 2 Thomas Zimmermann 2023-06-12 15:13:34 UTC
Hi

(In reply to Thomas Zimmermann from comment #1)
> I asked upstream to move forward with that patchset.

The following commit are in v6.4-rc1 and later

41068c8b28e16 drm/vram-helper: turn on PRIME import/export
207395da5a970 drm/prime: reject DMA-BUF attach when get_sg_table is missing

The feature should be available in the upcoming v6.4 kernel.

Resolving this bug report as INVALID.
Comment 4 Thomas Zimmermann 2023-06-13 10:58:32 UTC
(In reply to Thomas Zimmermann from comment #2)
> Hi
> 
> (In reply to Thomas Zimmermann from comment #1)
> > I asked upstream to move forward with that patchset.
> 
> The following commit are in v6.4-rc1 and later
> 
> 41068c8b28e16 drm/vram-helper: turn on PRIME import/export
> 207395da5a970 drm/prime: reject DMA-BUF attach when get_sg_table is missing
> 
> The feature should be available in the upcoming v6.4 kernel.
> 
> Resolving this bug report as INVALID.

After considering Takashi's comment, I merged the two patches into stable. They should be in the next TW and ALP kernels.

Changing the status to RESOLVED/FIXED.