]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Fix inverted WARN_ON
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Feb 2020 17:37:46 +0000 (17:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Feb 2020 11:02:06 +0000 (11:02 +0000)
commita2ab4ab6e9accfb3468445ad34a378d14282f87c
treec749a5ee94aa6d2e2a7d5854d872c21c5ffb5b57
parentbb393dc56e9a3a20b38595dacb018822243c359a
drm/i915/display: Fix inverted WARN_ON

Restore the previous WARN_ON(cond) so that we don't complain about poor
old Cherryview.

Fixes: eb020ca3d43f ("drm/i915/display/dp: Make WARN* drm specific where drm_device ptr is available")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200223173959.3885742-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_dp.c