[drm-tip:drm-tip 891/897] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:160:9: warning: #pragma pack (pop) encountered without matching #pragma pack (push)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   3f287cb6d4ae4689eb7c53e4c25f0fba3df16438
commit: 0a2fe4901d16d28bb8ad5f7032e9579f85e7e594 [891/897] Merge remote-tracking branch 'drm/drm-next' into drm-tip
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 8.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0a2fe4901d16d28bb8ad5f7032e9579f85e7e594
        # save the attached .config to linux build tree
        GCC_VERSION=8.2.0 make.cross ARCH=riscv 

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:160:9: warning: #pragma pack (pop) encountered without matching #pragma pack (push) [-Wpragmas]
    #pragma pack(pop)
            ^~~~

vim +160 drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c

bf75572a Josip Pavic   2019-01-08  117  
bf75572a Josip Pavic   2019-01-08  118  struct iram_table_v_2_2 {
bf75572a Josip Pavic   2019-01-08  119  	/* flags                      */
bf75572a Josip Pavic   2019-01-08  120  	uint16_t flags;							/* 0x00 U16  */
bf75572a Josip Pavic   2019-01-08  121  
bf75572a Josip Pavic   2019-01-08  122  	/* parameters for ABM2.2 algorithm */
bf75572a Josip Pavic   2019-01-08  123  	uint8_t min_reduction[NUM_AMBI_LEVEL][NUM_AGGR_LEVEL];		/* 0x02 U0.8 */
bf75572a Josip Pavic   2019-01-08  124  	uint8_t max_reduction[NUM_AMBI_LEVEL][NUM_AGGR_LEVEL];		/* 0x16 U0.8 */
bf75572a Josip Pavic   2019-01-08  125  	uint8_t bright_pos_gain[NUM_AMBI_LEVEL][NUM_AGGR_LEVEL];	/* 0x2a U2.6 */
bf75572a Josip Pavic   2019-01-08  126  	uint8_t dark_pos_gain[NUM_AMBI_LEVEL][NUM_AGGR_LEVEL];		/* 0x3e U2.6 */
bf75572a Josip Pavic   2019-01-08  127  	uint8_t hybridFactor[NUM_AGGR_LEVEL];						/* 0x52 U0.8 */
bf75572a Josip Pavic   2019-01-08  128  	uint8_t contrastFactor[NUM_AGGR_LEVEL];						/* 0x56 U0.8 */
bf75572a Josip Pavic   2019-01-08  129  	uint8_t deviation_gain[NUM_AGGR_LEVEL];						/* 0x5a U0.8 */
bf75572a Josip Pavic   2019-01-08  130  	uint8_t iir_curve[NUM_AMBI_LEVEL];							/* 0x5e U0.8 */
bf75572a Josip Pavic   2019-01-08  131  	uint8_t pad[29];											/* 0x63 U0.8 */
bf75572a Josip Pavic   2019-01-08  132  
bf75572a Josip Pavic   2019-01-08  133  	/* parameters for crgb conversion */
bf75572a Josip Pavic   2019-01-08  134  	uint16_t crgb_thresh[NUM_POWER_FN_SEGS];					/* 0x80 U3.13 */
bf75572a Josip Pavic   2019-01-08  135  	uint16_t crgb_offset[NUM_POWER_FN_SEGS];					/* 0x90 U1.15 */
bf75572a Josip Pavic   2019-01-08  136  	uint16_t crgb_slope[NUM_POWER_FN_SEGS];						/* 0xa0 U4.12 */
bf75572a Josip Pavic   2019-01-08  137  
bf75572a Josip Pavic   2019-01-08  138  	/* parameters for custom curve */
bf75572a Josip Pavic   2019-01-08  139  	/* thresholds for brightness --> backlight */
bf75572a Josip Pavic   2019-01-08  140  	uint16_t backlight_thresholds[NUM_BL_CURVE_SEGS];			/* 0xb0 U16.0 */
bf75572a Josip Pavic   2019-01-08  141  	/* offsets for brightness --> backlight */
bf75572a Josip Pavic   2019-01-08  142  	uint16_t backlight_offsets[NUM_BL_CURVE_SEGS];				/* 0xd0 U16.0 */
bf75572a Josip Pavic   2019-01-08  143  
bf75572a Josip Pavic   2019-01-08  144  	/* For reading PSR State directly from IRAM */
bf75572a Josip Pavic   2019-01-08  145  	uint8_t psr_state;											/* 0xf0       */
bf75572a Josip Pavic   2019-01-08  146  	uint8_t dmcu_mcp_interface_version;							/* 0xf1       */
bf75572a Josip Pavic   2019-01-08  147  	uint8_t dmcu_abm_feature_version;							/* 0xf2       */
bf75572a Josip Pavic   2019-01-08  148  	uint8_t dmcu_psr_feature_version;							/* 0xf3       */
bf75572a Josip Pavic   2019-01-08  149  	uint16_t dmcu_version;										/* 0xf4       */
bbf854dc David Francis 2018-11-26  150  	uint8_t dmcu_state;											/* 0xf6       */
bbf854dc David Francis 2018-11-26  151  
bbf854dc David Francis 2018-11-26  152  	uint16_t blRampReduction;									/* 0xf7       */
bbf854dc David Francis 2018-11-26  153  	uint16_t blRampStart;										/* 0xf9       */
bbf854dc David Francis 2018-11-26  154  	uint8_t dummy5;												/* 0xfb       */
bbf854dc David Francis 2018-11-26  155  	uint8_t dummy6;												/* 0xfc       */
bbf854dc David Francis 2018-11-26  156  	uint8_t dummy7;												/* 0xfd       */
bbf854dc David Francis 2018-11-26  157  	uint8_t dummy8;												/* 0xfe       */
bbf854dc David Francis 2018-11-26  158  	uint8_t dummy9;												/* 0xff       */
bbf854dc David Francis 2018-11-26  159  };
099139be Josip Pavic   2018-12-11 @160  #pragma pack(pop)
bbf854dc David Francis 2018-11-26  161  

:::::: The code at line 160 was first introduced by commit
:::::: 099139bef026faefebc508ddb77d397cf55f1b15 drm/amd/display: Pack DMCU iRAM alignment

:::::: TO: Josip Pavic <Josip.Pavic@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux