]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hwconfig: Future-proof platform checks
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 24 May 2022 23:59:06 +0000 (16:59 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 25 May 2022 19:38:22 +0000 (12:38 -0700)
commit262e9d7be61c88a282ca02842e19da7b3286efa1
treee137ef152d9b8b117daa1798b5ceff695fa56e71
parent6b018fe13828617b3c6bab1c59948d23b7aeae3f
drm/i915/hwconfig: Future-proof platform checks

PVC also has a hwconfig table.  Actually the current expectation is that
all future platforms will have hwconfig, so let's just change the
condition to an IP version check so that we don't need to keep updating
this for each new platform that shows up.

Cc: John Harrison <john.c.harrison@intel.com>
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220524235906.529771-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c