aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorSuraj Kandpal <[email protected]>2024-12-03 08:47:02 +0000
committerSuraj Kandpal <[email protected]>2024-12-05 03:34:29 +0000
commitd4e8379ba2aabfa7c2697e32ed5ad3bad4a8e392 (patch)
tree2c95864613db7457d9192a46e1af5409d01051d9 /drivers/platform/x86/intel/pmt/class.c
parentdrm/i915/wm: Initialize max_latency variable to appropriate value (diff)
downloadkernel-d4e8379ba2aabfa7c2697e32ed5ad3bad4a8e392.tar.gz
kernel-d4e8379ba2aabfa7c2697e32ed5ad3bad4a8e392.zip
drm/i915/wm: Refactor dpkgc value prepration
Refactor the value getting prepped to be written into the PKG_C_LATENCY register by ORing the REG_FIELD_PREP values instead of having val getting operated on twice. We dont need the clear and val variables to be initialized. Signed-off-by: Suraj Kandpal <[email protected]> Reviewed-by: Mitul Golani <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions