/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 | 54 * drm_atomic_helper_check_plane_damage - Verify plane damage on atomic_check. 56 * @plane_state: Plane state for which to verify damage. 58 * This helper function makes sure that damage from plane state is discarded 60 * plane update rather than processing individual damage regions, then those 65 * &drm_plane_state.src as damage. 96 * A helper to implement &drm_framebuffer_funcs.dirty using damage interface 113 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() [all …]
|
H A D | drm_plane.c | 1554 * DOC: damage tracking 1557 * specify a list of damage rectangles on a plane in framebuffer coordinates of 1558 * the framebuffer attached to the plane. In current context damage is the area 1568 * ignore damage clips property and in that case driver will do a full plane 1569 * update. In case damage clips are provided then it is guaranteed that the area 1570 * inside damage clips will be updated to plane. For efficiency driver can do 1571 * full update or can update more than specified in damage clips. Since driver 1574 * provides damage clips which doesn't encompass the actual damage to 1579 * damage clips are not in 16.16 fixed point. Similar to plane src in 1580 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are [all …]
|
/linux/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 314 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() 322 struct drm_rect *damage) in gud_flush_damage() argument 335 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(damage)); in gud_flush_damage() 336 lines = drm_rect_height(damage); in gud_flush_damage() 341 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage() 342 struct drm_rect rect = *damage; in gud_flush_damage() 345 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/include/drm/ |
H A D | drm_damage_helper.h | 38 * drm_atomic_for_each_plane_damage - Iterator macro for plane damage. 43 * plane update. Iterator will return full plane src when damage is not passed 50 * struct drm_atomic_helper_damage_iter - Closure structure for damage iterator. 52 * This structure tracks state needed to walk the list of plane damage clips. 57 /* private: Rectangles in plane damage blob. */ 59 /* private: Number of rectangles in plane damage blob. */
|
/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/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/arch/s390/kernel/ |
H A D | nmi.c | 292 #define ED_STP_ISLAND 6 /* External damage STP island check */ 293 #define ED_STP_SYNC 7 /* External damage STP sync check */ 357 /* Processing damage -> stopping machine */ in s390_do_machine_check() 381 /* Timing facility damage */ in s390_do_machine_check() 385 /* External damage */ in s390_do_machine_check() 419 * If there are only Channel Report Pending and External Damage in s390_do_machine_check()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.h | 61 * damage clips on display unit @num_hits will be passed to allocate 100 * if needed. This will be called times have damage in display unit, 101 * which is one if doing full update. @clip is the damage in destination 102 * coordinates which is crtc/DU and @src_x, @src_y is damage clip src in 147 * @fb_left: x1 for fb damage bounding box. 148 * @fb_top: y1 for fb damage bounding box.
|
/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/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 54 * THE POSSIBILITY OF SUCH DAMAGE. 82 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 114 * THE POSSIBILITY OF SUCH DAMAGE.
|
H A D | xgbe-dcb.c | 54 * THE POSSIBILITY OF SUCH DAMAGE. 82 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 114 * THE POSSIBILITY OF SUCH DAMAGE.
|
/linux/Documentation/gpu/ |
H A D | todo.rst | 814 Buffer age or other damage accumulation algorithm for buffer damage 817 Drivers that do per-buffer uploads, need a buffer damage handling (rather than 818 frame damage like drivers that do per-plane or per-CRTC uploads), but there is 819 no support to get the buffer age or any other damage accumulation algorithm. 821 For this reason, the damage helpers just fallback to a full plane update if the 825 helpers that the damage clips should be ignored. 827 This should be improved to get damage tracking properly working on drivers that 830 More information about damage tracking and references to learning materials can
|
/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/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 37 having the device in temperature ranges that may damage the silicon structures 85 By default the system will shutdown as a safe action to prevent damage 89 thus leading to infinite reboots that may cause damage to the hardware.
|
/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/gpu/drm/tiny/ |
H A D | cirrus-qemu.c | 395 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()
|
/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/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/drivers/gpu/drm/solomon/ |
H A D | ssd130x.c | 1227 struct drm_rect damage; in ssd130x_primary_plane_atomic_update() local 1234 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd130x_primary_plane_atomic_update() 1237 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd130x_primary_plane_atomic_update() 1262 struct drm_rect damage; in ssd132x_primary_plane_atomic_update() local 1269 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd132x_primary_plane_atomic_update() 1272 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd132x_primary_plane_atomic_update() 1296 struct drm_rect damage; in ssd133x_primary_plane_atomic_update() local 1303 drm_atomic_for_each_plane_damage(&iter, &damage) { in ssd133x_primary_plane_atomic_update() 1306 if (!drm_rect_intersect(&dst_clip, &damage)) in ssd133x_primary_plane_atomic_update()
|