drm/i915: Make HW readout mark CRTC scaler as in use.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 8 Jan 2019 16:08:41 +0000 (17:08 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 24 Jan 2019 12:06:24 +0000 (13:06 +0100)
commit0cdc1d07b4616f164978e8f1b3a5fe8b0a3ac835
treedfc2ce2bd2a99ca13582516db674cbf184a62331
parentd19f958db23c14c857e3eaa0cefa6a9c55e1468d
drm/i915: Make HW readout mark CRTC scaler as in use.

This way we don't accidentally double allocate it.
Noticed this when I wrote a patch to sanity check all of
the scaler state.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108160842.13396-4-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c