drm/i915: Do not modifiy reserved bit in gens that do not have IPC
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 18 Sep 2018 20:47:11 +0000 (13:47 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 27 Sep 2018 00:06:11 +0000 (17:06 -0700)
commitfd847b8e60e0db72fd7d8922da0d1b07c1454efa
treea6eac3685b616dabaa6f7f306e54b20cbdc8f293
parent6edafc4eb3e4ae26b1b5dbc0cabfc82d96d6b9bb
drm/i915: Do not modifiy reserved bit in gens that do not have IPC

IPC was only added in SKL+(actually we don't even enable for SKL due
WA) so without this change, driver was writing to a reserved bit.

Also removing the uncessary dev_priv->ipc_enabled = false; as now
gens without IPC will not have IPC enabled.

v2(Rodrigo):
- moved the new handling of WA #0477 to the next patch

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180918204714.27306-3-jose.souza@intel.com
drivers/gpu/drm/i915/intel_pm.c