]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Remove useless comment about MTRR.
authorMaarten Lankhorst <dev@lankhorst.se>
Fri, 22 May 2026 10:45:48 +0000 (12:45 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 25 May 2026 07:10:59 +0000 (09:10 +0200)
Commit 792d2b9a1259 ("drm: drop mtrr from i915"), added this comment,
drop it since it since MTRR no longer exists since 2013 and is removed
by commit 281856477cda ("drm: rip out drm_core_has_MTRR checks").

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/20260522104548.980226-1-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/i915/i915_driver.c

index f06b2e8cf7d4b763bd938f8adc713e4b99551436..0363dbd231b75594f94015cde0adc7b41dca378e 100644 (file)
@@ -1869,9 +1869,6 @@ static const struct drm_ioctl_desc i915_ioctls[] = {
 #define DRIVER_PATCHLEVEL      0
 
 static const struct drm_driver i915_drm_driver = {
-       /* Don't use MTRRs here; the Xserver or userspace app should
-        * deal with them for Intel hardware.
-        */
        .driver_features =
            DRIVER_GEM |
            DRIVER_RENDER | DRIVER_MODESET | DRIVER_ATOMIC | DRIVER_SYNCOBJ |