]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: move memory frequency detection to intel_dram.c
authorJani Nikula <jani.nikula@intel.com>
Mon, 13 Feb 2023 19:59:56 +0000 (21:59 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 15 Feb 2023 10:00:50 +0000 (12:00 +0200)
commit1b2146de7c5bcc25b75484c6ff1c94971c7696e8
tree004fd7ccf51d1e66129b60c92dc715e982d4ba6b
parentf9dfa87c43a38dca16fcb4fb527d3789ca7bf611
drm/i915: move memory frequency detection to intel_dram.c

The memory frequency detection is a bit spread out here and
there. Consolidate to intel_dram.c.

v2:
- Remove inaccurate comment (Ville)
- Call detect_mem_freq() unconditionally (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8a862eeca8b42a98e04b3c52637851d33531abb6.1676317696.git.jani.nikula@intel.com
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/soc/intel_dram.c