mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-11 00:04:33 +08:00
drm/i915: Enable atomic on VLV/CHV
VLV/CHV watermarks are now able to handle the radiation, so mark these platforms as ready for atomic. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Suggested-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170303151928.23053-5-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
This commit is contained in:
parent
a07102f1cc
commit
ff4c3b76ee
@ -1213,9 +1213,8 @@ int i915_driver_load(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||||||
struct drm_i915_private *dev_priv;
|
struct drm_i915_private *dev_priv;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
/* Enable nuclear pageflip on ILK+, except vlv/chv */
|
/* Enable nuclear pageflip on ILK+ */
|
||||||
if (!i915.nuclear_pageflip &&
|
if (!i915.nuclear_pageflip && match_info->gen < 5)
|
||||||
(match_info->gen < 5 || match_info->has_gmch_display))
|
|
||||||
driver.driver_features &= ~DRIVER_ATOMIC;
|
driver.driver_features &= ~DRIVER_ATOMIC;
|
||||||
|
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
|
Loading…
Reference in New Issue
Block a user