Home
last modified time | relevance | path

Searched refs:damage (Results 1 – 25 of 71) sorted by relevance

123

/linux/drivers/gpu/drm/tests/
H A Ddrm_damage_helper_test.c256 struct drm_mode_rect damage; in drm_test_damage_iter_simple_damage() local
263 set_damage_clip(&damage, 0, 0, 1024, 768); in drm_test_damage_iter_simple_damage()
264 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_simple_damage()
279 struct drm_mode_rect damage; in drm_test_damage_iter_single_damage() local
285 set_damage_clip(&damage, 256, 192, 768, 576); in drm_test_damage_iter_single_damage()
286 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage()
301 struct drm_mode_rect damage; in drm_test_damage_iter_single_damage_intersect_src() local
308 set_damage_clip(&damage, 256, 192, 1360, 768); in drm_test_damage_iter_single_damage_intersect_src()
309 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_intersect_src()
324 struct drm_mode_rect damage; in drm_test_damage_iter_single_damage_outside_src() local
[all …]
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c318 gdrm->damage.x1 = INT_MAX; in gud_clear_damage()
319 gdrm->damage.y1 = INT_MAX; in gud_clear_damage()
320 gdrm->damage.x2 = 0; in gud_clear_damage()
321 gdrm->damage.y2 = 0; in gud_clear_damage()
326 struct drm_rect *damage) in gud_flush_damage() argument
339 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(damage)); in gud_flush_damage()
340 lines = drm_rect_height(damage); in gud_flush_damage()
345 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
346 struct drm_rect rect = *damage; in gud_flush_damage()
349 rect.y2 = min_t(u32, rect.y1 + lines, damage->y2); in gud_flush_damage()
[all …]
H A Dgud_internal.h43 struct drm_rect damage; member
/linux/drivers/gpu/drm/
H A Ddrm_damage_helper.c115 struct drm_property_blob *damage = NULL; in drm_atomic_helper_dirtyfb() local
150 damage = drm_property_create_blob(fb->dev, in drm_atomic_helper_dirtyfb()
153 if (IS_ERR(damage)) { in drm_atomic_helper_dirtyfb()
154 ret = PTR_ERR(damage); in drm_atomic_helper_dirtyfb()
155 damage = NULL; in drm_atomic_helper_dirtyfb()
180 damage); in drm_atomic_helper_dirtyfb()
193 drm_property_blob_put(damage); in drm_atomic_helper_dirtyfb()
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c327 struct drm_rect damage; in appletbdrm_primary_plane_helper_atomic_check() local
345 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_primary_plane_helper_atomic_check()
346 frames_size += struct_size((struct appletbdrm_frame *)0, buf, rect_size(&damage)); in appletbdrm_primary_plane_helper_atomic_check()
386 struct drm_rect damage; in appletbdrm_flush_damage() local
410 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_flush_damage()
413 u32 buf_size = rect_size(&damage); in appletbdrm_flush_damage()
415 if (!drm_rect_intersect(&dst_clip, &damage)) in appletbdrm_flush_damage()
423 frame->begin_x = cpu_to_le16(damage.y1); in appletbdrm_flush_damage()
424 frame->begin_y = cpu_to_le16(adev->height - damage.x2); in appletbdrm_flush_damage()
425 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
[all …]
/linux/Documentation/fb/
H A Dudlfb.rst47 Accurate damage/changed area notifications work around this problem.
49 interface to allow mmap clients to report damage, for the benefit
69 application must send down damage notifications to trigger repaints of the
79 damage interface (which will hopefully be standardized for all virtual
80 framebuffers that need damage info). These damage notifications allow
114 report damage, should be able to work with this enabled.
/linux/Documentation/arch/x86/
H A Dtlb.rst11 a quick operation, but it causes collateral damage: TLB entries
17 damage to other TLB entries.
25 be no collateral damage caused by doing the global flush, and
29 damage we do with a full flush. So, the larger the TLB, the
/linux/Documentation/core-api/
H A Ddebug-objects.rst79 can deactivate an active object in order to prevent damage to the
102 can deactivate an active object in order to prevent damage to the
126 deactivate an active object in order to prevent damage to the subsystem.
166 deactivate an active object in order to prevent damage to the subsystem.
182 prevent damage to the subsystem.
225 again, after the damage has been repaired in order to keep the state
244 function again after the damage has been repaired in order to keep the
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c344 struct drm_rect damage; in drm_sysfb_plane_helper_atomic_update() local
355 drm_atomic_for_each_plane_damage(&iter, &damage) { in drm_sysfb_plane_helper_atomic_update()
359 if (!drm_rect_intersect(&dst_clip, &damage)) in drm_sysfb_plane_helper_atomic_update()
363 blit_to_crtc(&dst, &dst_pitch, shadow_plane_state->data, fb, &damage, in drm_sysfb_plane_helper_atomic_update()
/linux/Documentation/hwmon/
H A Ddrivetemp.rst61 this temperature may cause physical damage to the
66 this temperature may cause physical damage to the
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1210 struct drm_rect damage; in ssd130x_primary_plane_atomic_update() local
1220 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd130x_primary_plane_atomic_update()
1223 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd130x_primary_plane_atomic_update()
1251 struct drm_rect damage; in ssd132x_primary_plane_atomic_update() local
1261 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd132x_primary_plane_atomic_update()
1264 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd132x_primary_plane_atomic_update()
1291 struct drm_rect damage; in ssd133x_primary_plane_atomic_update() local
1301 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd133x_primary_plane_atomic_update()
1304 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd133x_primary_plane_atomic_update()
/linux/drivers/regulator/
H A Dmax8997-regulator.c621 int new_val, new_idx, damage, tmp_val, tmp_idx, tmp_dmg; in max8997_set_voltage_buck() local
655 damage = max8997_assess_side_effect(rdev, new_val, &new_idx); in max8997_set_voltage_buck()
656 if (damage == 0) in max8997_set_voltage_buck()
659 if (tmp_dmg > damage) { in max8997_set_voltage_buck()
662 tmp_dmg = damage; in max8997_set_voltage_buck()
/linux/Documentation/power/regulator/
H A Ddesign.rst12 for the system, potentially including lasting hardware damage.
/linux/drivers/memstick/core/
H A DKconfig40 Driver is new and not yet well tested, thus it can damage your card
/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c521 struct drm_rect damage; in mgag200_primary_plane_helper_atomic_update() local
525 drm_atomic_for_each_plane_damage(&iter, &damage) { in mgag200_primary_plane_helper_atomic_update()
526 mgag200_handle_damage(mdev, shadow_plane_state->data, fb, &damage); in mgag200_primary_plane_helper_atomic_update()
/linux/drivers/gpu/drm/sitronix/
H A Dst7920.c402 struct drm_rect damage; in st7920_primary_plane_atomic_update() local
411 drm_atomic_for_each_plane_damage(&iter, &damage) { in st7920_primary_plane_atomic_update()
414 if (!drm_rect_intersect(&dst_clip, &damage)) in st7920_primary_plane_atomic_update()
/linux/arch/powerpc/boot/dts/fsl/
H A Db4420qds.dts32 * this software, even if advised of the possibility of such damage.
H A Db4420si-pre.dtsi32 * this software, even if advised of the possibility of such damage.
H A Db4420si-post.dtsi32 * this software, even if advised of the possibility of such damage.
H A Dp5040si-pre.dtsi32 * software, even if advised of the possibility of such damage.
/linux/include/uapi/linux/
H A Dcdrom.h885 __u8 damage : 1; member
899 __u8 damage : 1; member
/linux/drivers/scsi/smartpqi/
H A DKconfig28 # the risks and costs of program errors, damage to or loss of data,
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c141 intel_state->damage = DRM_RECT_INIT(0, 0, 0, 0); in intel_plane_duplicate_state()
330 struct drm_rect *damage = &new_plane_state->damage; in intel_plane_copy_uapi_plane_damage() local
338 damage)) in intel_plane_copy_uapi_plane_damage()
340 *damage = drm_plane_state_src(&new_uapi_plane_state->uapi); in intel_plane_copy_uapi_plane_damage()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c556 struct drm_rect damage; in ast_primary_plane_helper_atomic_update() local
569 drm_atomic_for_each_plane_damage(&iter, &damage) { in ast_primary_plane_helper_atomic_update()
570 ast_handle_damage(ast_plane, shadow_plane_state->data, fb, &damage, in ast_primary_plane_helper_atomic_update()
/linux/drivers/scsi/mpt3sas/
H A DKconfig26 # the risks and costs of program errors, damage to or loss of data,

123