RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1972122 - [Hyper-V][RHEL-9] Enable DRM driver for hyperv synthetic video device
Summary: [Hyper-V][RHEL-9] Enable DRM driver for hyperv synthetic video device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: kernel
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Vitaly Kuznetsov
QA Contact: xxiong
Jiri Herrmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-15 09:45 UTC by Vitaly Kuznetsov
Modified: 2022-12-27 13:58 UTC (History)
15 users (show)

Fixed In Version: kernel-5.14.0-0.rc3.29.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:55:02 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab cki-project kernel-ark merge_requests 1259 0 None None None 2021-07-14 11:53:07 UTC

Description Vitaly Kuznetsov 2021-06-15 09:45:50 UTC
Hyper-V DRM driver made it to drm/next:

24994b91ecc5 MAINTAINERS: Add maintainer for hyperv video device
25bfa956561f drm/hyperv: Handle feature change message from device
76c56a5affeb drm/hyperv: Add DRM driver for hyperv synthetic video device

Consider enabling this driver for RHEL-9.0.

Note: DRM_HYPERV is mutually exclusive with legacy CONFIG_FB_HYPERV, we should either add 'hyperv_fb' to blocklist or disable it completely.

Comment 1 John Ferlan 2021-06-17 21:20:56 UTC
Rick - assigning directly to you to (rather than Vitaly)... 

This is a case of a bug w/ Triaged keyword being automatically set due to ITR being set and I wouldn't want to see it "lost" on virt-maint's "backlog" queue.

Comment 3 Vitaly Kuznetsov 2021-07-14 11:53:07 UTC
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1259 enables DRM_HYPERV and disables FB_HYPERV.

Comment 4 xxiong 2021-07-16 13:22:07 UTC
hi Vitaly, 
 

we checked and found it has been included in the upstream build, but still not been enabled, could you help give an earlier build for check?  thanks



 kernel-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112.x86_64.rpm

kernel-core-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112.x86_64.rpm

kernel-modules-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112.x86_64.rpm



[rhel@vm-197-177 boot]$ cat config-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112.x86_64 | grep -i DRM_HYPER

# CONFIG_DRM_HYPERV is not set

[rhel@vm-197-177 boot]$ cat config-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112.x86_64 | grep -i config_fb_HY

CONFIG_FB_HYPERV=m

[rhel@vm-197-177 boot]$ lsmod | grep -i hyper

hid_hyperv 20480 0

hyperv_keyboard 20480 0

hyperv_fb 53248 2

hv_vmbus 344064 7 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_fb

[rhel@vm-197-177 boot]$ lsmod | grep -i hyperv_fb

hyperv_fb 53248 2

hv_vmbus 344064 7 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_fb

[rhel@vm-197-177 boot]$

Comment 5 Vitaly Kuznetsov 2021-07-16 13:39:11 UTC
Apparently, the change is not yet in kernel-5.14.0-0.rc1.20210714git40226a3d96ef.18.eln112, the merge request just got merged
yesterday (20210715). I'd expect next build to come with CONFIG_DRM_HYPERV.

Comment 6 xxiong 2021-08-10 14:07:14 UTC
Hi Vitaly,

We checked on below build, and found the drm already merged, could you help change this bug to On_QA? thanks

RHEL-9.0.0-20210729.2-x86_64-dvd1.iso

kernel-5.14.0-0.rc3.29.el9.x86_64.rpm   

[rhel@vm-198-147 ~]$ lsmod | grep drm
hyperv_drm             24576  1
drm_kms_helper        303104  3 hyperv_drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cec                    53248  1 drm_kms_helper
drm                   638976  4 drm_kms_helper,hyperv_drm
hv_vmbus              143360  7 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_drm
[rhel@vm-198-147 ~]$ lsmod | grep  hyperv_fb
[rhel@vm-198-147 ~]$ 
[rhel@vm-198-147 ~]$ uname -r
5.14.0-0.rc3.29.el9.x86_64
[rhel@vm-198-147 ~]$

Comment 11 xxiong 2021-09-01 09:23:58 UTC
Checked on RHEL-9.0.0-20210828.2-x86_64 (5.14.0-0.rc7.54.el9.x86_64)
Now the hyperv_drm module was loaded and enabled

[root@bootp-73-199-12 rhel]# lsmod | grep hyperv_drm
hyperv_drm             24576  1
drm_kms_helper        303104  3 hyperv_drm
drm                   638976  4 drm_kms_helper,hyperv_drm
hv_vmbus              143360  7 hv_balloon,hv_utils,hv_netvsc,hid_hyperv,hv_storvsc,hyperv_keyboard,hyperv_drm

[rhel@bootp-73-199-12 ~]$ lsmod | grep hyperv_fb
[rhel@bootp-73-199-12 ~]$ 



For gen1, it blocked by bug: https://bugzilla.redhat.com/show_bug.cgi?id=1988922

and check the basic function works on gen2 (filed a bug may related to it: https://bugzilla.redhat.com/show_bug.cgi?id=1999697)

For detail test will check as: https://docs.google.com/document/d/1y6UuoC8-QPZ89s78hCkiYvkAlwF1sYEayGQ3pC17eX8/edit#

Mark this bug as verified, and will file new bug if encounter issue during testing.

Thanks.

Comment 14 xxiong 2022-04-02 07:41:00 UTC
Hi Vitaly/Jiri,

I don't find this in RHEL9.0-Beta release note, so I set requires_doc_text ?
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html/9.0_release_notes/overview#overview-major-changes

Could you help check we need add this new feature/change into RHEL9.0 release note? thanks

Comment 15 Vitaly Kuznetsov 2022-04-04 07:57:11 UTC
(In reply to xxiong from comment #14)
> 
> Could you help check we need add this new feature/change into RHEL9.0
> release note?

I'm not exactly sure this deserves a release note but we can certainly state something like

"DRM driver replaces legacy framebuffer driver for Hyper-V synthetic video device"


Note You need to log in before you can comment on or make changes to this bug.