|
@@ -223,7 +223,7 @@ void intel_csr_load_program(struct drm_device *dev)
|
|
* Unfortunately the ACPI subsystem doesn't yet give us a way to
|
|
* Unfortunately the ACPI subsystem doesn't yet give us a way to
|
|
* differentiate this, hence figure it out with this hack.
|
|
* differentiate this, hence figure it out with this hack.
|
|
*/
|
|
*/
|
|
- if (I915_READ(CSR_PROGRAM(0)))
|
|
|
|
|
|
+ if ((!dev_priv->csr.dmc_payload) || I915_READ(CSR_PROGRAM(0)))
|
|
return;
|
|
return;
|
|
|
|
|
|
fw_size = dev_priv->csr.dmc_fw_size;
|
|
fw_size = dev_priv->csr.dmc_fw_size;
|