Browse Source

disp: msm: sde: cleanup naming in sde_color_processing

As the number of cp features has continued to grow, the file
sde_color_processing has become increasingly harder to parse.
Update function and parameter names to better identify internal
functions and increase readability.

Change-Id: Ib82d6c9a45b36b932ab3a2d573b7cbe13a6c10bc
Signed-off-by: Christopher Braga <[email protected]>
Christopher Braga 4 năm trước cách đây
mục cha
commit
87e6558847
2 tập tin đã thay đổi với 195 bổ sung196 xóa
  1. 189 190
      msm/sde/sde_color_processing.c
  2. 6 6
      msm/sde/sde_crtc.h

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 189 - 190
msm/sde/sde_color_processing.c


+ 6 - 6
msm/sde/sde_crtc.h

@@ -254,9 +254,9 @@ struct sde_crtc_misr_info {
  * @enabled       : whether the SDE CRTC is currently enabled. updated in the
  *                  commit-thread, not state-swap time which is earlier, so
  *                  safe to make decisions on during VBLANK on/off work
- * @feature_list  : list of color processing features supported on a crtc
- * @active_list   : list of color processing features are active
- * @dirty_list    : list of color processing features are dirty
+ * @cp_feature_list  : list of color processing features supported on a crtc
+ * @cp_active_list   : list of color processing features are active
+ * @cp_dirty_list    : list of color processing features are dirty
  * @ad_dirty      : list containing ad properties that are dirty
  * @ad_active     : list containing ad properties that are active
  * @crtc_lock     : crtc lock around create, destroy and access.
@@ -331,9 +331,9 @@ struct sde_crtc {
 	struct kernfs_node *retire_frame_event_sf;
 	bool enabled;
 
-	struct list_head feature_list;
-	struct list_head active_list;
-	struct list_head dirty_list;
+	struct list_head cp_feature_list;
+	struct list_head cp_active_list;
+	struct list_head cp_dirty_list;
 	struct list_head ad_dirty;
 	struct list_head ad_active;
 	struct list_head user_event_list;

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác