| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_damage_helper_test.c | 102 * Round down x1/y1 and round up x2/y2. This is because damage is not in in check_damage_clip() 111 KUNIT_FAIL(test, "Cannot have damage clip with no dimension."); in check_damage_clip() 113 KUNIT_FAIL(test, "Damage cannot be outside rounded plane src."); in check_damage_clip() 115 KUNIT_FAIL(test, "Damage = %d %d %d %d, want = %d %d %d %d", in check_damage_clip() 133 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage() 154 "Should return rounded off plane src as damage."); in drm_test_damage_iter_no_damage_fractional_src() 173 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage_src_moved() 193 KUNIT_EXPECT_EQ_MSG(test, num_hits, 1, "Should return plane src as damage."); in drm_test_damage_iter_no_damage_fractional_src_moved() 212 KUNIT_EXPECT_EQ_MSG(test, num_hits, 0, "Should have no damage."); in drm_test_damage_iter_no_damage_not_visible() 230 KUNIT_EXPECT_EQ_MSG(test, num_hits, 0, "Should have no damage."); in drm_test_damage_iter_no_damage_no_crtc() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_damage_helper.c | 56 * drm_atomic_helper_check_plane_damage - Verify plane damage on atomic_check. 58 * @plane_state: Plane state for which to verify damage. 60 * This helper function makes sure that damage from plane state is discarded 62 * plane update rather than processing individual damage regions, then those 67 * &drm_plane_state.src as damage. 98 * A helper to implement &drm_framebuffer_funcs.dirty using damage interface 115 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() [all …]
|
| H A D | drm_plane.c | 1581 * DOC: damage tracking 1584 * specify a list of damage rectangles on a plane in framebuffer coordinates of 1585 * the framebuffer attached to the plane. In current context damage is the area 1595 * ignore damage clips property and in that case driver will do a full plane 1596 * update. In case damage clips are provided then it is guaranteed that the area 1597 * inside damage clips will be updated to plane. For efficiency driver can do 1598 * full update or can update more than specified in damage clips. Since driver 1601 * provides damage clips which doesn't encompass the actual damage to 1606 * damage clips are not in 16.16 fixed point. Similar to plane src in 1607 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are [all …]
|
| H A D | drm_fbdev_ttm.c | 147 /* Call damage handlers only if necessary */ in drm_fbdev_ttm_helper_fb_dirty() 152 if (drm_WARN_ONCE(dev, ret, "Damage blitter failed: ret=%d\n", ret)) in drm_fbdev_ttm_helper_fb_dirty()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 318 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 …]
|
| /linux/arch/s390/include/asm/ |
| H A D | nmi.h | 41 u64 sd : 1; /* 00 system damage */ 42 u64 pd : 1; /* 01 instruction-processing damage */ 45 u64 cd : 1; /* 04 timing-facility damage */ 46 u64 ed : 1; /* 05 external damage */ 51 u64 sp : 1; /* 10 service-processor damage */ 52 u64 ck : 1; /* 11 channel-subsystem damage */ 66 u64 ec : 1; /* 26 external damage code validity */
|
| /linux/Documentation/fb/ |
| H A D | udlfb.rst | 47 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 78 rectangles from the X DAMAGE protocol extension down to udlfb via udlfb's 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/drivers/gpu/drm/tiny/ |
| H A D | appletbdrm.c | 327 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/core-api/ |
| H A D | debug-objects.rst | 79 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/Documentation/arch/x86/ |
| H A D | tlb.rst | 11 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/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.h | 42 * damage clips on display unit @num_hits will be passed to allocate 81 * if needed. This will be called times have damage in display unit, 82 * which is one if doing full update. @clip is the damage in destination 83 * coordinates which is crtc/DU and @src_x, @src_y is damage clip src in 128 * @fb_left: x1 for fb damage bounding box. 129 * @fb_top: y1 for fb damage bounding box.
|
| /linux/arch/s390/kernel/ |
| H A D | nmi.c | 356 #define ED_STP_ISLAND 6 /* External damage STP island check */ 357 #define ED_STP_SYNC 7 /* External damage STP sync check */ 421 /* Processing damage -> stopping machine */ in s390_do_machine_check() 445 /* Timing facility damage */ in s390_do_machine_check() 449 /* External damage */ in s390_do_machine_check() 483 * If there are only Channel Report Pending and External Damage in s390_do_machine_check()
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | regulator.yaml | 137 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/Documentation/hwmon/ |
| H A D | drivetemp.rst | 61 this temperature may cause physical damage to the 66 this temperature may cause physical damage to the
|
| /linux/drivers/gpu/drm/sysfb/ |
| H A D | drm_sysfb_modeset.c | 344 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/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-jtag.c | 44 * can cause chip damage. 127 * chain. Updating invalid values can possibly cause chip damage.
|
| /linux/include/sound/ |
| H A D | wm9090.h | 19 * potentially causing hardware damage.
|
| /linux/drivers/regulator/ |
| H A D | max8997-regulator.c | 531 * Assess the damage on the voltage setting of BUCK1,2,5 by the change. 621 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/drivers/memstick/core/ |
| H A D | Kconfig | 40 Driver is new and not yet well tested, thus it can damage your card
|
| /linux/include/dt-bindings/pinctrl/ |
| H A D | dm814x.h | 17 * (bit 18 set) for all 3.3V I/Os to avoid cumulative hardware damage. For
|
| /linux/drivers/gpu/drm/solomon/ |
| H A D | ssd130x.c | 1210 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/include/linux/ |
| H A D | soundcard.h | 22 * SUCH DAMAGE.
|
| /linux/Documentation/power/regulator/ |
| H A D | design.rst | 12 for the system, potentially including lasting hardware damage.
|
| /linux/arch/arm/mach-omap1/ |
| H A D | board-ams-delta.h | 20 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| /linux/arch/mips/include/asm/mach-rc32434/ |
| H A D | prom.h | 21 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|