]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Do not add all planes when checking scalers on glk+
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 20 Sep 2019 11:42:21 +0000 (13:42 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 25 Sep 2019 11:34:06 +0000 (13:34 +0200)
commitc750c22b2456bcd8c50067424ccabf2686306cda
tree7e1e046405430acd8b0c3ec2b670f2457eeca889
parentc47b7ddbcb29fca51515294a6fd2ed1d7d861939
drm/i915: Do not add all planes when checking scalers on glk+

We cannot switch between HQ and normal mode on GLK+, so only
add planes on platforms where it makes sense.

We could probably restrict it even more to only add when scaler
users toggles between 1 and 2, but lets just leave it for now.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190920114235.22411-9-maarten.lankhorst@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/display/intel_atomic.c