Message ID | 1440588497-13954-10-git-send-email-animesh.manna@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c index 9971794..9ed513c 100644 --- a/drivers/gpu/drm/i915/intel_csr.c +++ b/drivers/gpu/drm/i915/intel_csr.c @@ -208,7 +208,7 @@ void intel_csr_load_program(struct drm_device *dev) * This condition will help to check if csr address space is reset/ * not loaded. */ - if (I915_READ(CSR_PROGRAM_BASE)) + if ((!dev_priv->csr.dmc_payload) || I915_READ(CSR_PROGRAM_BASE)) return; fw_size = dev_priv->csr.dmc_fw_size;