Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam OS 3.5 Support (Kernel 6.1.51+) #467

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions module/evdi_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ static int evdifb_create(struct drm_fb_helper *helper,
fb = &efbdev->efb.base;

efbdev->helper.fb = fb;
#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
efbdev->helper.info = info;
#else
efbdev->helper.fbdev = info;
Expand Down Expand Up @@ -464,7 +464,7 @@ static void evdi_fbdev_destroy(__always_unused struct drm_device *dev,
{
struct fb_info *info;

#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
if (efbdev->helper.info) {
info = efbdev->helper.info;
#else
Expand Down Expand Up @@ -556,7 +556,7 @@ void evdi_fbdev_unplug(struct drm_device *dev)
return;

efbdev = evdi->fbdev;
#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9)
if (efbdev->helper.info) {
struct fb_info *info;

Expand Down