]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear DRIVER_ATOMIC on a per-device basis
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Sep 2018 13:16:22 +0000 (16:16 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Sep 2018 15:58:39 +0000 (18:58 +0300)
commit4c44ba57b8d040161dbceaaf34d5d5cacfbf6840
treebe0c5b5fe1da940aa1a302e2e4187527e637cd08
parent9a4e7a667208c3c35608a332c1a4a02e5177b20d
drm/i915: Clear DRIVER_ATOMIC on a per-device basis

Currently we're clearing DRIVER_ATOMIC in driver.driver_features
for older platforms. This will not work correctly should we ever
have a system with and old and new GPU in it. While that is not
possible currently let's make the code more correct and use
the per-device driver_features instead.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180913131622.17690-2-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c