drm/i915: Also clear the punit's PDATA sideband register
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Jan 2017 13:48:08 +0000 (13:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Jan 2017 17:10:36 +0000 (17:10 +0000)
commited576a5ca47fbe374cd762cb1fde4bdc41e233b4
tree7f110318dddf8d84a2677964c8a2f660fd8697a2
parent9fcee2f77e88f1d7c3f72fca418cdae3e79a6e83
drm/i915: Also clear the punit's PDATA sideband register

As the previous punit i/o may have failed, the contents of the PDATA are
undefined. Always clear it to 0 prior to sending the command.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125134808.6152-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_sideband.c