Searched refs:BUILD_BUG_ON (Results 1 – 25 of 36) sorted by relevance
12
233 BUILD_BUG_ON(I915_GGTT_VIEW_NORMAL != 0); in i915_vma_compare()252 BUILD_BUG_ON(I915_GGTT_VIEW_NORMAL >= I915_GGTT_VIEW_PARTIAL); in i915_vma_compare()253 BUILD_BUG_ON(I915_GGTT_VIEW_PARTIAL >= I915_GGTT_VIEW_ROTATED); in i915_vma_compare()254 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()275 BUILD_BUG_ON(PIN_MBZ != I915_VMA_PIN_OVERFLOW); in i915_vma_pin()276 BUILD_BUG_ON(PIN_GLOBAL != I915_VMA_GLOBAL_BIND); in i915_vma_pin()277 BUILD_BUG_ON(PIN_USER != I915_VMA_LOCAL_BIND); in i915_vma_pin()
974 BUILD_BUG_ON(sizeof(struct opregion_header) != 0x100); in intel_opregion_setup()975 BUILD_BUG_ON(sizeof(struct opregion_acpi) != 0x100); in intel_opregion_setup()976 BUILD_BUG_ON(sizeof(struct opregion_swsci) != 0x100); in intel_opregion_setup()977 BUILD_BUG_ON(sizeof(struct opregion_asle) != 0x100); in intel_opregion_setup()978 BUILD_BUG_ON(sizeof(struct opregion_asle_ext) != 0x400); in intel_opregion_setup()
70 BUILD_BUG_ON(KSYNCMAP < I915_NUM_ENGINES); in __i915_gem_timeline_init()
656 BUILD_BUG_ON(sizeof(response) != 1); in intel_sdvo_get_trained_inputs()712 BUILD_BUG_ON(sizeof(clocks) != 4); in intel_sdvo_get_input_pixel_clock_range()794 BUILD_BUG_ON(sizeof(dtd->part1) != 8); in intel_sdvo_get_preferred_input_timing()795 BUILD_BUG_ON(sizeof(dtd->part2) != 8); in intel_sdvo_get_preferred_input_timing()910 BUILD_BUG_ON(sizeof(encode) != 2); in intel_sdvo_check_supp_encode()1041 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_set_tv_format()1635 BUILD_BUG_ON(sizeof(*caps) != 8); in intel_sdvo_get_capabilities()1973 BUILD_BUG_ON(sizeof(tv_res) != 3); in intel_sdvo_get_tv_modes()2730 BUILD_BUG_ON(sizeof(format) != 6); in intel_sdvo_tv_create_property()2921 BUILD_BUG_ON(sizeof(enhancements) != 2); in intel_sdvo_create_enhance_property()
59 BUILD_BUG_ON(offsetof(typeof(*clflush), dma)); in i915_clflush_release()
34 BUILD_BUG_ON(__i915_warn_cond); \
66 BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE); in i915_check_vgpu()
171 BUILD_BUG_ON(sizeof(struct intel_rotation_info) != 8*sizeof(unsigned int)); in assert_intel_rotation_info_is_packed()181 BUILD_BUG_ON(sizeof(struct intel_partial_info) != sizeof(u64) + sizeof(unsigned int)); in assert_intel_partial_info_is_packed()
275 BUILD_BUG_ON(offsetof(struct drm_i915_gem_object, base)); in to_intel_bo()
95 BUILD_BUG_ON(KSYNCMAP > BITS_PER_BYTE * sizeof((*root)->bitmap)); in i915_syncmap_init()
45 BUILD_BUG_ON(ARRAY_SIZE(forcewake_domain_names) != FW_DOMAIN_ID_COUNT); in intel_uncore_forcewake_domain_to_str()1120 BUILD_BUG_ON(FORCEWAKE_RENDER != (1 << FW_DOMAIN_ID_RENDER)); in fw_domain_init()1121 BUILD_BUG_ON(FORCEWAKE_BLITTER != (1 << FW_DOMAIN_ID_BLITTER)); in fw_domain_init()1122 BUILD_BUG_ON(FORCEWAKE_MEDIA != (1 << FW_DOMAIN_ID_MEDIA)); in fw_domain_init()
232 BUILD_BUG_ON(I915_TILING_LAST & STRIDE_MASK); in i915_gem_object_set_tiling()
223 BUILD_BUG_ON(offsetof(struct drm_i915_gem_request, fence) != 0); in to_request()
434 BUILD_BUG_ON(wqi_size != 16); in guc_wq_item_append()1117 BUILD_BUG_ON(ARRAY_SIZE(engine->execlists.port) * in i915_guc_submission_enable()
124 BUILD_BUG_ON(!__builtin_constant_p(US)); \134 BUILD_BUG_ON(!__builtin_constant_p(US)); \135 BUILD_BUG_ON((US) > 50000); \
61 BUILD_BUG_ON(ARRAY_SIZE(platform_names) != INTEL_MAX_PLATFORMS); in intel_platform_name()
941 BUILD_BUG_ON(KMAP & CLFLUSH_FLAGS); in reloc_kmap()942 BUILD_BUG_ON((KMAP | CLFLUSH_FLAGS) & LINUX_PAGE_MASK); in reloc_kmap()2201 BUILD_BUG_ON(__EXEC_INTERNAL_FLAGS & ~__I915_EXEC_ILLEGAL_FLAGS); in i915_gem_do_execbuffer()2202 BUILD_BUG_ON(__EXEC_OBJECT_INTERNAL_FLAGS & in i915_gem_do_execbuffer()
279 BUILD_BUG_ON(MAX_CONTEXT_HW_ID > (1<<GEN8_CTX_ID_WIDTH)); in intel_lr_context_descriptor_update()1810 BUILD_BUG_ON(I915_GEM_HWS_INDEX_ADDR & (1 << 5)); in gen8_emit_breadcrumb()1829 BUILD_BUG_ON(I915_GEM_HWS_INDEX & 1); in gen8_emit_breadcrumb_render()
170 BUILD_BUG_ON(sizeof(aux_msg) > 20); in hsw_psr_enable_sink()
1282 BUILD_BUG_ON(OA_BUFFER_SIZE < SZ_128K || OA_BUFFER_SIZE > SZ_16M);2607 BUILD_BUG_ON(sizeof(oa_period) != 8);
887 BUILD_BUG_ON(MAX_PORTS != I915_MAX_PORTS);
472 BUILD_BUG_ON(MAX_CONTEXT_HW_ID > INT_MAX); in i915_gem_contexts_init()
37 #define BUILD_BUG_ON(condition) macro42 #define BUILD_BUG() BUILD_BUG_ON(1)
73 BUILD_BUG_ON(value > BW_FIXED_MAX_I32 || value < BW_FIXED_MIN_I32); in bw_int_to_fixed()
99 BUILD_BUG_ON(sizeof(struct drm_format_modifier_blob) % 8); in create_in_format_blob()