]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/gvt: use hardcoded reference clocks
authorJani Nikula <jani.nikula@intel.com>
Fri, 21 Mar 2025 12:51:14 +0000 (14:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 1 Apr 2025 08:57:47 +0000 (11:57 +0300)
commitda1d515eb1692e87422caefb80799bd716070bbc
treeefe93154939141c182d465962db2fcaee8dc96ac
parent513c1a2ec4c6e520798f17b6d8af7a9881fdd69a
drm/i915/gvt: use hardcoded reference clocks

Usually I'd argue hardcoding values is the wrong thing to do, but in
this case, GVT looking deep into the guts of the DPLL manager for the
reference clocks is worse. This is done for BDW and BXT only, and there
shouldn't be any reason to try to be so dynamic about it.

This helps reduce the direct pokes at display guts from non-display
code.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw.linux@gmail.com>
Link: https://lore.kernel.org/r/20250321125114.750062-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gvt/handlers.c