Skip to content

Commit d71ff85

Browse files
committed
drm/i915/wm: Club initialized variables of same type together
Refactor program_dpkgc function so that all initialized variables of same type are clubbed together. --v2 -Modify commit message to reflect what is being done in patch [Mitul] Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241203084706.2126189-6-suraj.kandpal@intel.com
1 parent 9aa5975 commit d71ff85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/i915/display/skl_watermark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2862,9 +2862,9 @@ intel_program_dpkgc_latency(struct intel_atomic_state *state)
28622862
struct intel_crtc *crtc;
28632863
struct intel_crtc_state *new_crtc_state;
28642864
u32 latency = LNL_PKG_C_LATENCY_MASK;
2865+
u32 added_wake_time = 0;
28652866
u32 max_linetime = 0;
28662867
u32 clear, val;
2867-
u32 added_wake_time = 0;
28682868
bool fixed_refresh_rate = false;
28692869
int i;
28702870

0 commit comments

Comments
 (0)