diff options
| author | Suraj Kandpal <[email protected]> | 2024-12-03 08:47:02 +0000 |
|---|---|---|
| committer | Suraj Kandpal <[email protected]> | 2024-12-05 03:34:29 +0000 |
| commit | d4e8379ba2aabfa7c2697e32ed5ad3bad4a8e392 (patch) | |
| tree | 2c95864613db7457d9192a46e1af5409d01051d9 /drivers/platform/x86/intel/pmt/class.c | |
| parent | drm/i915/wm: Initialize max_latency variable to appropriate value (diff) | |
| download | kernel-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
