Home
last modified time | relevance | path

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

1234

/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_damage_helper_test.c264 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_simple_damage()
286 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage()
309 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_intersect_src()
332 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_outside_src()
356 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_fractional_src()
382 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_intersect_fractional_src()
409 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_outside_fractional_src()
432 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_src_moved()
459 set_damage_blob(&damage_blob, &damage, sizeof(damage)); in drm_test_damage_iter_single_damage_fractional_src_moved()
484 set_damage_blob(&damage_blob, &damage[0], sizeof(damage)); in drm_test_damage_iter_damage()
[all …]
/linux-6.15/drivers/gpu/drm/gud/
H A Dgud_pipe.c314 gdrm->damage.x1 = INT_MAX; in gud_clear_damage()
315 gdrm->damage.y1 = INT_MAX; in gud_clear_damage()
316 gdrm->damage.x2 = 0; in gud_clear_damage()
317 gdrm->damage.y2 = 0; in gud_clear_damage()
366 struct drm_rect damage; in gud_flush_work() local
376 damage = gdrm->damage; in gud_flush_work()
416 gdrm->damage.x1 = min(gdrm->damage.x1, damage->x1); in gud_fb_queue_damage()
417 gdrm->damage.y1 = min(gdrm->damage.y1, damage->y1); in gud_fb_queue_damage()
418 gdrm->damage.x2 = max(gdrm->damage.x2, damage->x2); in gud_fb_queue_damage()
419 gdrm->damage.y2 = max(gdrm->damage.y2, damage->y2); in gud_fb_queue_damage()
[all …]
H A Dgud_internal.h44 struct drm_rect damage; member
/linux-6.15/drivers/gpu/drm/
H A Ddrm_damage_helper.c113 struct drm_property_blob *damage = NULL; in drm_atomic_helper_dirtyfb() local
148 damage = drm_property_create_blob(fb->dev, in drm_atomic_helper_dirtyfb()
151 if (IS_ERR(damage)) { in drm_atomic_helper_dirtyfb()
152 ret = PTR_ERR(damage); in drm_atomic_helper_dirtyfb()
153 damage = NULL; in drm_atomic_helper_dirtyfb()
178 damage); in drm_atomic_helper_dirtyfb()
191 drm_property_blob_put(damage); in drm_atomic_helper_dirtyfb()
/linux-6.15/drivers/gpu/drm/tiny/
H A Dappletbdrm.c329 struct drm_rect damage; in appletbdrm_primary_plane_helper_atomic_check() local
347 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_primary_plane_helper_atomic_check()
388 struct drm_rect damage; in appletbdrm_flush_damage() local
412 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_flush_damage()
415 u32 buf_size = rect_size(&damage); in appletbdrm_flush_damage()
417 if (!drm_rect_intersect(&dst_clip, &damage)) in appletbdrm_flush_damage()
425 frame->begin_x = cpu_to_le16(damage.y1); in appletbdrm_flush_damage()
426 frame->begin_y = cpu_to_le16(adev->height - damage.x2); in appletbdrm_flush_damage()
427 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
428 frame->height = cpu_to_le16(drm_rect_width(&damage)); in appletbdrm_flush_damage()
[all …]
H A Dcirrus-qemu.c395 struct drm_rect damage; in cirrus_primary_plane_helper_atomic_update() local
410 drm_atomic_for_each_plane_damage(&iter, &damage) { in cirrus_primary_plane_helper_atomic_update()
411 unsigned int offset = drm_fb_clip_offset(pitch, format, &damage); in cirrus_primary_plane_helper_atomic_update()
415 &damage, &shadow_plane_state->fmtcnv_state); in cirrus_primary_plane_helper_atomic_update()
H A Dbochs.c450 struct drm_rect damage; in bochs_primary_plane_helper_atomic_update() local
456 drm_atomic_for_each_plane_damage(&iter, &damage) { in bochs_primary_plane_helper_atomic_update()
459 iosys_map_incr(&dst, drm_fb_clip_offset(fb->pitches[0], fb->format, &damage)); in bochs_primary_plane_helper_atomic_update()
460 drm_fb_memcpy(&dst, fb->pitches, shadow_plane_state->data, fb, &damage); in bochs_primary_plane_helper_atomic_update()
H A Dsimpledrm.c631 struct drm_rect damage; in simpledrm_primary_plane_helper_atomic_update() local
642 drm_atomic_for_each_plane_damage(&iter, &damage) { in simpledrm_primary_plane_helper_atomic_update()
646 if (!drm_rect_intersect(&dst_clip, &damage)) in simpledrm_primary_plane_helper_atomic_update()
651 fb, &damage, &shadow_plane_state->fmtcnv_state); in simpledrm_primary_plane_helper_atomic_update()
/linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/ast/
H A Dast_cursor.c178 struct drm_rect damage; in ast_cursor_plane_helper_atomic_update() local
191 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &damage)) { in ast_cursor_plane_helper_atomic_update()
209 shadow_plane_state->data, fb, &damage, in ast_cursor_plane_helper_atomic_update()
/linux-6.15/Documentation/hwmon/
H A Ddrivetemp.rst61 this temperature may cause physical damage to the
66 this temperature may cause physical damage to the
/linux-6.15/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-6.15/drivers/gpu/drm/udl/
H A Dudl_modeset.c289 struct drm_rect damage; in udl_primary_plane_helper_atomic_update() local
303 drm_atomic_for_each_plane_damage(&iter, &damage) { in udl_primary_plane_helper_atomic_update()
304 udl_handle_damage(fb, &shadow_plane_state->data[0], &damage); in udl_primary_plane_helper_atomic_update()
/linux-6.15/drivers/gpu/drm/solomon/
H A Dssd130x.c1229 struct drm_rect damage; in ssd130x_primary_plane_atomic_update() local
1236 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd130x_primary_plane_atomic_update()
1239 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd130x_primary_plane_atomic_update()
1264 struct drm_rect damage; in ssd132x_primary_plane_atomic_update() local
1271 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd132x_primary_plane_atomic_update()
1274 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd132x_primary_plane_atomic_update()
1298 struct drm_rect damage; in ssd133x_primary_plane_atomic_update() local
1305 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd133x_primary_plane_atomic_update()
1308 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd133x_primary_plane_atomic_update()
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c2278 struct drm_rect *damage = &plane_state->damage; in make_damage_viewport_relative() local
2280 if (!drm_rect_visible(damage)) in make_damage_viewport_relative()
2284 plane_state->damage = DRM_RECT_INIT(0, 0, 0, 0); in make_damage_viewport_relative()
2289 drm_rect_rotate(damage, fb->width, fb->height, in make_damage_viewport_relative()
2291 drm_rect_translate(damage, -(src->y1 >> 16), -(src->x1 >> 16)); in make_damage_viewport_relative()
2293 drm_rect_translate(damage, -(src->x1 >> 16), -(src->y1 >> 16)); in make_damage_viewport_relative()
2299 struct drm_rect *damage = &plane_state->damage; in clip_damage() local
2302 if (!drm_rect_visible(damage)) in clip_damage()
2306 drm_rect_translate(damage, src.x1, src.y1); in clip_damage()
2307 drm_rect_intersect(damage, &src); in clip_damage()
[all …]
H A Dintel_atomic_plane.c137 intel_state->damage = DRM_RECT_INIT(0, 0, 0, 0); in intel_plane_duplicate_state()
349 struct drm_rect *damage = &new_plane_state->damage; in intel_plane_copy_uapi_plane_damage() local
357 damage)) in intel_plane_copy_uapi_plane_damage()
359 *damage = drm_plane_state_src(&new_uapi_plane_state->uapi); in intel_plane_copy_uapi_plane_damage()
/linux-6.15/Documentation/power/regulator/
H A Ddesign.rst12 for the system, potentially including lasting hardware damage.
/linux-6.15/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-6.15/drivers/memstick/core/
H A DKconfig40 Driver is new and not yet well tested, thus it can damage your card
/linux-6.15/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c511 struct drm_rect damage; in mgag200_primary_plane_helper_atomic_update() local
514 drm_atomic_for_each_plane_damage(&iter, &damage) { in mgag200_primary_plane_helper_atomic_update()
515 mgag200_handle_damage(mdev, shadow_plane_state->data, fb, &damage); in mgag200_primary_plane_helper_atomic_update()
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A Dregulator.yaml137 the hardware probably is malfunctional and damage prevention is requested.
157 the hardware probably is malfunctional and damage prevention is requested
179 the hardware probably is malfunctional and damage prevention is requested
208 the hardware probably is malfunctional and damage prevention is requested
/linux-6.15/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.
/linux-6.15/Documentation/devicetree/bindings/leds/backlight/
H A Dcommon.yaml32 that a LED can be made so bright that it gets damaged or causes damage

1234