Home
last modified time | relevance | path

Searched full:damage (Results 1 – 25 of 5582) sorted by relevance

12345678910>>...224

/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_damage_helper_test.c102 * 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_damage_helper.c47 * Round down x1/y1 and round up x2/y2. This is because damage is not in in check_damage_clip()
56 pr_err("Cannot have damage clip with no dimension.\n"); in check_damage_clip()
61 pr_err("Damage cannot be outside rounded plane src.\n"); in check_damage_clip()
66 pr_err("Damage = %d %d %d %d\n", r->x1, r->y1, r->x2, r->y2); in check_damage_clip()
98 FAIL(num_hits != 1, "Should return plane src as damage."); in igt_damage_iter_no_damage()
131 FAIL(num_hits != 1, "Should return rounded off plane src as damage."); in igt_damage_iter_no_damage_fractional_src()
163 FAIL(num_hits != 1, "Should return plane src as damage."); in igt_damage_iter_no_damage_src_moved()
196 FAIL(num_hits != 1, "Should return plane src as damage."); in igt_damage_iter_no_damage_fractional_src_moved()
226 FAIL(num_hits != 0, "Should have no damage."); in igt_damage_iter_no_damage_not_visible()
254 FAIL(num_hits != 0, "Should have no damage."); in igt_damage_iter_no_damage_no_crtc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_damage_helper.c41 * specify a list of damage rectangles on a plane in framebuffer coordinates of
42 * the framebuffer attached to the plane. In current context damage is the area
52 * ignore damage clips property and in that case driver will do a full plane
53 * update. In case damage clips are provided then it is guaranteed that the area
54 * inside damage clips will be updated to plane. For efficiency driver can do
55 * full update or can update more than specified in damage clips. Since driver
58 * provides damage clips which doesn't encompass the actual damage to
63 * damage clips are not in 16.16 fixed point. Similar to plane src in
64 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are
66 * damage clips, it is strongly discouraged.
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_damage_helper.c54 * 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 …]
Ddrm_plane.c1424 * DOC: damage tracking
1427 * specify a list of damage rectangles on a plane in framebuffer coordinates of
1428 * the framebuffer attached to the plane. In current context damage is the area
1438 * ignore damage clips property and in that case driver will do a full plane
1439 * update. In case damage clips are provided then it is guaranteed that the area
1440 * inside damage clips will be updated to plane. For efficiency driver can do
1441 * full update or can update more than specified in damage clips. Since driver
1444 * provides damage clips which doesn't encompass the actual damage to
1449 * damage clips are not in 16.16 fixed point. Similar to plane src in
1450 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 are
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/
Dgud_pipe.c311 gdrm->damage.x1 = INT_MAX; in gud_clear_damage()
312 gdrm->damage.y1 = INT_MAX; in gud_clear_damage()
313 gdrm->damage.x2 = 0; in gud_clear_damage()
314 gdrm->damage.y2 = 0; in gud_clear_damage()
319 struct drm_rect *damage) in gud_flush_damage() argument
331 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(damage)); in gud_flush_damage()
332 lines = drm_rect_height(damage); in gud_flush_damage()
337 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
338 struct drm_rect rect = *damage; in gud_flush_damage()
341 rect.y2 = min_t(u32, rect.y1 + lines, damage->y2); in gud_flush_damage()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_damage_helper.h38 * 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. */
86 * drm_helper_get_plane_damage_clips - Returns damage clips in &drm_rect.
89 * Returns plane damage rectangles in internal &drm_rect. Currently &drm_rect
91 * are signed 32 and during drm_atomic_check_only() it is verified that damage
/kernel/linux/linux-6.6/arch/s390/include/asm/
Dnmi.h41 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 */
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dnmi.h38 u64 sd : 1; /* 00 system damage */
39 u64 pd : 1; /* 01 instruction-processing damage */
42 u64 cd : 1; /* 04 timing-facility damage */
43 u64 ed : 1; /* 05 external damage */
48 u64 sp : 1; /* 10 service-processor damage */
49 u64 ck : 1; /* 11 channel-subsystem damage */
63 u64 ec : 1; /* 26 external damage code validity */
/kernel/linux/linux-6.6/include/drm/
Ddrm_damage_helper.h38 * 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. */
/kernel/linux/linux-5.10/Documentation/fb/
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
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
107 report damage, should be able to work with this enabled.
/kernel/linux/linux-6.6/Documentation/fb/
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
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.
/kernel/linux/linux-5.10/Documentation/x86/
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
/kernel/linux/linux-6.6/Documentation/arch/x86/
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
/kernel/linux/linux-5.10/Documentation/core-api/
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
/kernel/linux/linux-6.6/Documentation/core-api/
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
/kernel/linux/linux-5.10/arch/s390/kernel/
Dnmi.c327 #define ED_STP_ISLAND 6 /* External damage STP island check */
328 #define ED_STP_SYNC 7 /* External damage STP sync check */
352 /* System damage -> stopping machine */ in s390_do_machine_check()
392 /* Processing damage -> stopping machine */ in s390_do_machine_check()
414 /* Timing facility damage */ in s390_do_machine_check()
418 /* External damage */ in s390_do_machine_check()
453 * If there are only Channel Report Pending and External Damage in s390_do_machine_check()
480 ctl_set_bit(14, 25); /* enable external damage MCH */ in machine_check_init()
/kernel/linux/linux-6.6/arch/s390/kernel/
Dnmi.c361 #define ED_STP_ISLAND 6 /* External damage STP island check */
362 #define ED_STP_SYNC 7 /* External damage STP sync check */
425 /* Processing damage -> stopping machine */ in s390_do_machine_check()
449 /* Timing facility damage */ in s390_do_machine_check()
453 /* External damage */ in s390_do_machine_check()
487 * If there are only Channel Report Pending and External Damage in s390_do_machine_check()
508 ctl_set_bit(14, 25); /* enable external damage MCH */ in machine_check_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h60 * damage clips on display unit @num_hits will be passed to allocate
99 * if needed. This will be called times have damage in display unit,
100 * which is one if doing full update. @clip is the damage in destination
101 * coordinates which is crtc/DU and @src_x, @src_y is damage clip src in
146 * @fb_left: x1 for fb damage bounding box.
147 * @fb_top: y1 for fb damage bounding box.
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h59 * damage clips on display unit @num_hits will be passed to allocate
98 * if needed. This will be called times have damage in display unit,
99 * which is one if doing full update. @clip is the damage in destination
100 * coordinates which is crtc/DU and @src_x, @src_y is damage clip src in
146 * @fb_left: x1 for fb damage bounding box.
147 * @fb_top: y1 for fb damage bounding box.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dregulator.yaml129 the hardware probably is malfunctional and damage prevention is requested.
149 the hardware probably is malfunctional and damage prevention is requested
171 the hardware probably is malfunctional and damage prevention is requested
192 the hardware probably is malfunctional and damage prevention is requested
/kernel/linux/linux-6.6/Documentation/hwmon/
Ddrivetemp.rst61 this temperature may cause physical damage to the
66 this temperature may cause physical damage to the
/kernel/linux/linux-5.10/Documentation/hwmon/
Ddrivetemp.rst61 this temperature may cause physical damage to the
66 this temperature may cause physical damage to the
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c54 * THE POSSIBILITY OF SUCH DAMAGE.
82 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
114 * THE POSSIBILITY OF SUCH DAMAGE.
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c54 * THE POSSIBILITY OF SUCH DAMAGE.
82 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
114 * THE POSSIBILITY OF SUCH DAMAGE.

12345678910>>...224