]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/skl: Fail the flip if no FB for WM calculation
authorKumar, Mahesh <mahesh1.kumar@intel.com>
Wed, 17 May 2017 11:58:24 +0000 (17:28 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 17 May 2017 21:32:44 +0000 (14:32 -0700)
commit7b75119c8bb9bde34f0cc36690094f8928a4c491
tree2afe66290760221972576a7599e90639ddeba202
parent7084b50bdd8f8b8fc232fb8642d83de913575baa
drm/i915/skl: Fail the flip if no FB for WM calculation

Fail the flip if no FB is present but plane_state is set as visible.
Above is not a valid combination so instead of continue fail the flip.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517115831.13830-6-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_pm.c