mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-13 03:50:03 -04:00
drm/i915/wm: DG2 doesn't have dram info to look up wm_lv_0_adjust_needed
There's no dram info on DG2 that we could use. The struct dram_info is all zero on it, but be explicit about this. Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com> Link: https://lore.kernel.org/r/a866641bff364dcfcaaabaa1d53c4a8cfa94ff3f.1748337870.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -3251,7 +3251,7 @@ adjust_wm_latency(struct intel_display *display,
|
||||
* any underrun. If not able to get Dimm info assume 16GB dimm
|
||||
* to avoid any underrun.
|
||||
*/
|
||||
if (dram_info->wm_lv_0_adjust_needed)
|
||||
if (!display->platform.dg2 && dram_info->wm_lv_0_adjust_needed)
|
||||
wm[0] += 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user