This uses two things that might be Linux specific, __builtin_constant_p (might be gcc) and BUILD_BUG_ON. (maybe other dm's can have something similiar). This saves 4k in the bw calcs code. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
hw | ||
bw_fixed.h | ||
clock_source.h | ||
compressor.h | ||
core_status.h | ||
core_types.h | ||
custom_float.h | ||
dc_link_ddc.h | ||
dc_link_dp.h | ||
dce_calcs.h | ||
dcn_calcs.h | ||
hw_sequencer.h | ||
link_hwss.h | ||
reg_helper.h | ||
resource.h |