[Intel-gfx] [PATCH 0/5] drm/i915/dmc: some dmc id related fixes and cleanups

Jani Nikula jani.nikula at intel.com
Thu Feb 2 12:04:47 UTC 2023


Address some static analyzer complaints around dmc id usage.

Jani Nikula (5):
  drm/i915/dmc: add proper name to dmc id enum and use it
  drm/i915/dmc: add for_each_dmc_id() and use it
  drm/i915/dmc: remove unnecessary dmc_id validity check
  drm/i915/dmc: add is_valid_dmc_id() and use it
  drm/i915/dmc: check incoming dmc id validity

 drivers/gpu/drm/i915/display/intel_dmc.c | 100 ++++++++++++-----------
 drivers/gpu/drm/i915/display/intel_dmc.h |   2 +-
 2 files changed, 54 insertions(+), 48 deletions(-)

-- 
2.34.1



More information about the Intel-gfx mailing list