OSDN Git Service

drm/i915/display: Some code improvements and code style fixes for DRRS
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 3 Sep 2021 22:10:34 +0000 (15:10 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 7 Sep 2021 22:39:42 +0000 (15:39 -0700)
commitc7c4dfb6fe704ae3cce1a8f438db75b1a0a9061f
tree338d9948f922694933301d3f820279e46300bdb9
parent5a449e5864ef7d05be7054299fce223856ba98a9
drm/i915/display: Some code improvements and code style fixes for DRRS

It started as a code style fix for the lines above 100 col but it
turned out to simplifications to intel_drrs_set_state().
Now it receives the desired refresh rate type, high or low.

v3:
- Fixed the mode refesh rate debug message

Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210903221036.34770-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_drrs.c