]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/csr: alpha_support doesn't depend on csr or vice versa
authorJani Nikula <jani.nikula@intel.com>
Mon, 29 Apr 2019 14:22:53 +0000 (17:22 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 2 May 2019 07:56:34 +0000 (10:56 +0300)
Debug logging should not be dependent on alpha support flag.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190429142253.15882-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_csr.c

index f43c2a2563a5a54b0abf7a8510798049526c0a06..4527b9662330a5a8ffc490d48bce8ee30b7481d9 100644 (file)
@@ -529,8 +529,6 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)
 
        if (csr->fw_path == NULL) {
                DRM_DEBUG_KMS("No known CSR firmware for platform, disabling runtime PM\n");
-               WARN_ON(!IS_ALPHA_SUPPORT(INTEL_INFO(dev_priv)));
-
                return;
        }