summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_switcheroo.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-06-17 20:07:57 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-06-23 17:50:07 +0300
commit43175c92d403828563e3e4d74f94f13a07dca657 (patch)
tree78cf8477f30b55783b212b96295b7bd0bf229497 /drivers/gpu/drm/i915/i915_switcheroo.h
parent7184a994cf7629dfb0440cdf05dc9407964d9eb5 (diff)
drm/i915/dmc: Assert DMC is loaded harder
Currently we have some asserts to make sure the main DMC has been loaded. Add similar asserts for the pipe DMCs. And we might as well just check all the mmio registers the firmware has asked us to initialize. That also covers the hardcoded SSP/HTP registers we were checking for the main DMC. TODO: Maybe always configure DMC_EVT_CTL_ENABLE the way the firmware has it set so that we wouldn't need to special case in the assert? v2: Also assert in intel_dmc_load_program() Reviewed-by: Uma Shankar <uma.shankar@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250617170759.19552-8-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_switcheroo.h')
0 files changed, 0 insertions, 0 deletions