OSDN Git Service

drm/i915: Complain if hsw_get_pipe_config acquires the same power well twice
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:27 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:42 +0000 (16:18 +0000)
commit04161d64da09f73d919c6bb935a003c0fd4bc8a8
treef223514576389397cd31ca91b33d49019f8570be
parent69d938200598dda76c70d7b3f39d19e89b15ea71
drm/i915: Complain if hsw_get_pipe_config acquires the same power well twice

As we only release each power well once, we assume that each transcoder
maps to a different domain. Complain if this is not so.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190114142129.24398-19-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c