Home
last modified time | relevance | path

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

12345678910>>...32

/linux/drivers/gpu/drm/tests/
H A 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 …]
/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 …]
/linux/drivers/gpu/drm/
H A Ddrm_plane.c1579 * DOC: damage tracking
1582 * specify a list of damage rectangles on a plane in framebuffer coordinates of
1583 * the framebuffer attached to the plane. In current context damage is the area
1593 * ignore damage clips property and in that case driver will do a full plane
1594 * update. In case damage clips are provided then it is guaranteed that the area
1595 * inside damage clips will be updated to plane. For efficiency driver can do
1596 * full update or can update more than specified in damage clips. Since driver
1599 * provides damage clips which doesn't encompass the actual damage to
1604 * damage clip
[all...]
H A Ddrm_fbdev_ttm.c147 /* 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/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
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 Dappletbdrm.c325 struct drm_rect damage; in appletbdrm_primary_plane_helper_begin_fb_access()
329 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_primary_plane_helper_begin_fb_access()
330 frames_size += struct_size((struct appletbdrm_frame *)0, buf, rect_size(&damage)); in appletbdrm_primary_plane_helper_begin_fb_access()
393 struct drm_rect damage; in appletbdrm_flush_damage()
417 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_flush_damage()
420 u32 buf_size = rect_size(&damage); in appletbdrm_flush_damage()
422 if (!drm_rect_intersect(&dst_clip, &damage)) in appletbdrm_flush_damage()
430 frame->begin_x = cpu_to_le16(damage.y1); in appletbdrm_flush_damage()
431 frame->begin_y = cpu_to_le16(adev->height - damage.x2); in appletbdrm_flush_damage()
432 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
324 struct drm_rect damage; appletbdrm_primary_plane_helper_begin_fb_access() local
392 struct drm_rect damage; appletbdrm_flush_damage() local
[all...]
H A Dcirrus-qemu.c339 struct drm_rect damage; in cirrus_primary_plane_helper_atomic_update() local
354 drm_atomic_for_each_plane_damage(&iter, &damage) { in cirrus_primary_plane_helper_atomic_update()
355 unsigned int offset = drm_fb_clip_offset(fb->pitches[0], fb->format, &damage); in cirrus_primary_plane_helper_atomic_update()
358 drm_fb_memcpy(&dst, fb->pitches, shadow_plane_state->data, fb, &damage); in cirrus_primary_plane_helper_atomic_update()
/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/arch/s390/kernel/
H A Dnmi.c356 #define ED_STP_ISLAND 6 /* External damage STP island check */
357 #define ED_STP_SYNC 7 /* External damage STP sync check */
420 /* Processing damage -> stopping machine */ in s390_do_machine_check()
444 /* Timing facility damage */ in s390_do_machine_check()
448 /* External damage */ in s390_do_machine_check()
482 * If there are only Channel Report Pending and External Damage in s390_do_machine_check()
/linux/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/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/ast/
H A Dast_cursor.c257 struct drm_rect damage; in ast_cursor_plane_helper_atomic_update() local
270 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &damage)) { in ast_cursor_plane_helper_atomic_update()
273 &damage); in ast_cursor_plane_helper_atomic_update()
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-jtag.c44 * can cause chip damage.
127 * chain. Updating invalid values can possibly cause chip damage.
/linux/include/sound/
H A Dwm9090.h19 * potentially causing hardware damage.
/linux/drivers/memstick/core/
H A DKconfig40 Driver is new and not yet well tested, thus it can damage your card
/linux/include/dt-bindings/pinctrl/
H A Ddm814x.h17 * (bit 18 set) for all 3.3V I/Os to avoid cumulative hardware damage. For
/linux/include/linux/
H A Dsoundcard.h22 * SUCH DAMAGE.
/linux/Documentation/power/regulator/
H A Ddesign.rst12 for the system, potentially including lasting hardware damage.
/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c2344 struct drm_rect *damage = &plane_state->damage; in make_damage_viewport_relative()
2346 if (!drm_rect_visible(damage)) in make_damage_viewport_relative()
2350 plane_state->damage = DRM_RECT_INIT(0, 0, 0, 0);
2355 drm_rect_rotate(damage, fb->width, fb->height, in clip_damage()
2357 drm_rect_translate(damage, -(src->y1 >> 16), -(src->x1 >> 16)); in clip_damage()
2359 drm_rect_translate(damage, -(src->x1 >> 16), -(src->y1 >> 16)); in clip_damage()
2365 struct drm_rect *damage = &plane_state->damage; in skl_plane_check()
2368 if (!drm_rect_visible(damage)) in skl_plane_check()
2332 struct drm_rect *damage = &plane_state->damage; make_damage_viewport_relative() local
2353 struct drm_rect *damage = &plane_state->damage; clip_damage() local
[all...]
/linux/arch/arm/mach-omap1/
H A Dboard-ams-delta.h20 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/linux/arch/mips/include/asm/mach-rc32434/
H A Dprom.h21 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/linux/scripts/dtc/libfdt/
H A Dfdt_strerror.c5 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/linux/LICENSES/preferred/
H A DBSD-2-Clause32 POSSIBILITY OF SUCH DAMAGE.
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm9hmidc.dtsi30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

12345678910>>...32