Commit a41aa6a7 authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Alex Deucher
Browse files

drm/amd/display: Add comments to improve the code readability



This commit just introduce some basic comments that helps to understand
the overall behavior of some structs.

Acked-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c8962679
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -339,7 +339,9 @@ struct stream_resource {
};

struct plane_resource {
	/* scl_data is scratch space required to program a plane */
	struct scaler_data scl_data;
	/* Below pointers to hw objects are required to enable the plane */
	struct hubp *hubp;
	struct mem_input *mi;
	struct input_pixel_processor *ipp;
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@
#include "dce/dce_aux.h"
#include "dce/dce_abm.h"
#include "dce/dce_i2c.h"
/* TODO remove this include */

#ifndef mmMC_HUB_RDREQ_DMIF_LIMIT
#include "gmc/gmc_7_1_d.h"
+1 −0
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ static struct _vcs_dpi_soc_bounding_box_st dcn201_soc = {
				.socclk_mhz = 1254.0,
				.dram_speed_mts = 14000.0,
			},
			/* state4 is not an actual state, just defines unsupported for dml*/
			{
				.state = 4,
				.dscclk_mhz = 400.0,