intel_uncore_has_forcewake
GEM_BUG_ON(!intel_uncore_has_forcewake(uncore));
GEM_BUG_ON(intel_uncore_has_forcewake(uncore));
GEM_BUG_ON(!intel_uncore_has_forcewake(uncore));
if (!intel_uncore_has_forcewake(uncore)) {
GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->fw_get_funcs);
GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.read_fw_domains);
GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.write_fw_domains);
if (!intel_uncore_has_forcewake(uncore) || GRAPHICS_VER(uncore->i915) < 11)
if (intel_uncore_has_forcewake(uncore)) {
if (!intel_uncore_has_forcewake(uncore))
GEM_BUG_ON(!intel_uncore_has_forcewake(uncore));
if (!intel_uncore_has_forcewake(uncore))
if (!intel_uncore_has_forcewake(uncore))
if (!intel_uncore_has_forcewake(uncore))