Home
last modified time | relevance | path

Searched refs:drm_property_blob (Results 1 – 25 of 30) sorted by relevance

12

/linux/include/drm/
H A Ddrm_property.h216 struct drm_property_blob { struct
231 #define obj_to_blob(x) container_of(x, struct drm_property_blob, base) argument
277 struct drm_property_blob *drm_property_create_blob(struct drm_device *dev,
280 struct drm_property_blob *drm_property_lookup_blob(struct drm_device *dev,
283 struct drm_property_blob **blob,
289 struct drm_property_blob **replace,
294 bool drm_property_replace_blob(struct drm_property_blob **blob,
295 struct drm_property_blob *new_blob);
296 struct drm_property_blob *drm_property_blob_get(struct drm_property_blob *blob);
297 void drm_property_blob_put(struct drm_property_blob *blob);
H A Ddrm_color_mgmt.h86 static inline int drm_color_lut_size(const struct drm_property_blob *blob) in drm_color_lut_size()
98 static inline int drm_color_lut32_size(const struct drm_property_blob *blob) in drm_color_lut32_size()
148 int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests);
177 int drm_color_lut32_check(const struct drm_property_blob *lut, u32 tests);
H A Ddrm_atomic_uapi.h34 struct drm_property_blob;
47 struct drm_property_blob *blob);
H A Ddrm_colorop.h184 struct drm_property_blob *data;
H A Ddrm_plane.h197 struct drm_property_blob *fb_damage_clips;
/linux/drivers/gpu/drm/
H A Ddrm_property.c529 struct drm_property_blob *blob = in drm_property_free_blob()
530 container_of(kref, struct drm_property_blob, base.refcount); in drm_property_free_blob()
555 struct drm_property_blob *
559 struct drm_property_blob *blob; in drm_property_create_blob()
562 if (!length || length > INT_MAX - sizeof(struct drm_property_blob)) in drm_property_create_blob()
565 blob = kvzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL); in drm_property_create_blob()
601 void drm_property_blob_put(struct drm_property_blob *blob) in drm_property_blob_put()
613 struct drm_property_blob *blob, *bt; in drm_property_destroy_user_blobs()
632 struct drm_property_blob *drm_property_blob_get(struct drm_property_blob *blob) in drm_property_blob_get()
651 struct drm_property_blob *drm_property_lookup_blob(struct drm_device *dev, in drm_property_lookup_blob()
[all …]
H A Ddrm_color_mgmt.c285 struct drm_property_blob *blob; in drm_crtc_legacy_gamma_set()
606 int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests) in drm_color_lut_check()
889 int drm_color_lut32_check(const struct drm_property_blob *lut, u32 tests) in drm_color_lut32_check()
H A Ddrm_plane.c197 static struct drm_property_blob *create_in_format_blob(struct drm_device *dev, in create_in_format_blob()
204 struct drm_property_blob *blob; in create_in_format_blob()
371 struct drm_property_blob *blob; in __drm_universal_plane_init()
1805 struct drm_property_blob *blob; in drm_plane_add_size_hints_property()
H A Ddrm_writeback.c247 struct drm_property_blob *blob; in __drm_writeback_connector_init()
H A Ddrm_fb_helper.c834 static struct drm_property_blob *setcmap_new_gamma_lut(struct drm_crtc *crtc, in setcmap_new_gamma_lut()
838 struct drm_property_blob *gamma_lut; in setcmap_new_gamma_lut()
881 struct drm_property_blob *gamma_lut = NULL; in setcmap_atomic()
H A Ddrm_atomic_uapi.c83 struct drm_property_blob *blob; in drm_atomic_set_mode_for_crtc()
124 struct drm_property_blob *blob) in drm_atomic_set_mode_prop_for_crtc()
408 struct drm_property_blob *mode = in drm_atomic_crtc_set_property()
H A Ddrm_mode_config.c525 struct drm_property_blob *blob, *bt; in drm_mode_config_cleanup()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_color.c80 const struct drm_property_blob *blob1,
81 const struct drm_property_blob *blob2,
193 static bool lut_is_legacy(const struct drm_property_blob *lut) in lut_is_legacy()
1187 static struct drm_property_blob *
1190 struct drm_property_blob *blob; in create_linear_lut()
1221 static struct drm_property_blob *
1223 const struct drm_property_blob *blob_in, int lut_out_size, in create_resized_lut()
1227 struct drm_property_blob *blob_out; in create_resized_lut()
1257 const struct drm_property_blob *blob) in i9xx_load_lut_8()
1275 const struct drm_property_blob *blob) in i9xx_load_lut_10()
[all …]
H A Dintel_color.h17 struct drm_property_blob;
41 const struct drm_property_blob *blob1,
42 const struct drm_property_blob *blob2,
H A Dintel_display_types.h649 struct drm_property_blob *ctm, *degamma_lut, *gamma_lut, *lut_3d;
1011 struct drm_property_blob *degamma_lut, *gamma_lut, *ctm;
1018 struct drm_property_blob *pre_csc_lut, *post_csc_lut;
/linux/drivers/gpu/drm/tests/
H A Ddrm_damage_helper_test.c82 static void set_damage_blob(struct drm_property_blob *damage_blob, in set_damage_blob()
90 struct drm_property_blob *damage_blob) in set_plane_damage()
255 struct drm_property_blob damage_blob; in drm_test_damage_iter_simple_damage()
278 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage()
300 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_intersect_src()
323 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_outside_src()
345 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_fractional_src()
370 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_intersect_fractional_src()
397 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_outside_fractional_src()
422 struct drm_property_blob damage_blob; in drm_test_damage_iter_single_damage_src_moved()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dlut.h4 struct drm_property_blob;
14 u32 nv50_lut_load(struct nv50_lut *, int buffer, struct drm_property_blob *,
H A Dlut.c32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, in nv50_lut_load()
H A Datom.h191 struct drm_property_blob *ilut;
H A Dwndw.c379 struct drm_property_blob *ilut = asyh->state.degamma_lut; in nv50_wndw_atomic_check_lut()
407 static struct drm_property_blob dummy = {}; in nv50_wndw_atomic_check_lut()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_color_mgmt.h20 void drm_lut_to_fgamma_coeffs(struct drm_property_blob *lut_blob, u32 *coeffs);
21 void drm_ctm_to_coeffs(struct drm_property_blob *ctm_blob, u32 *coeffs);
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h888 struct drm_property_blob *degamma_lut;
916 struct drm_property_blob *ctm;
921 struct drm_property_blob *shaper_lut;
932 struct drm_property_blob *lut3d;
937 struct drm_property_blob *blend_lut;
H A Damdgpu_dm_color.c422 __extract_blob_lut(const struct drm_property_blob *blob, uint32_t *size) in __extract_blob_lut()
437 __extract_blob_lut32(const struct drm_property_blob *blob, uint32_t *size) in __extract_blob_lut32()
1528 const struct drm_property_blob *blob; in __set_dm_plane_colorop_3x4_matrix()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ccorr.c86 struct drm_property_blob *blob = state->ctm; in mtk_ccorr_ctm_set()
/linux/drivers/gpu/drm/arm/
H A Dmalidp_crtc.c127 static void malidp_generate_gamma_table(struct drm_property_blob *lut_blob, in malidp_generate_gamma_table()

12