| /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/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 in gud_flush_damage() 370 struct drm_rect damage; gud_flush_work() local 395 gud_fb_queue_damage(struct gud_device * gdrm,struct drm_framebuffer * fb,const struct iosys_map * src,struct drm_rect * damage) gud_fb_queue_damage() argument 436 gud_fb_handle_damage(struct gud_device * gdrm,struct drm_framebuffer * fb,const struct iosys_map * src,struct drm_rect * damage) gud_fb_handle_damage() argument 629 struct drm_rect damage; gud_plane_atomic_update() local [all...] |
| /linux/drivers/gpu/drm/ |
| 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/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 | 324 struct drm_rect damage; in appletbdrm_primary_plane_helper_begin_fb_access() local 328 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_primary_plane_helper_begin_fb_access() 329 frames_size += struct_size((struct appletbdrm_frame *)0, buf, rect_size(&damage)); in appletbdrm_primary_plane_helper_begin_fb_access() 392 struct drm_rect damage; in appletbdrm_flush_damage() local 416 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_flush_damage() 419 u32 buf_size = rect_size(&damage); in appletbdrm_flush_damage() 421 if (!drm_rect_intersect(&dst_clip, &damage)) in appletbdrm_flush_damage() 429 frame->begin_x = cpu_to_le16(damage.y1); in appletbdrm_flush_damage() 430 frame->begin_y = cpu_to_le16(adev->height - damage.x2); in appletbdrm_flush_damage() 431 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage() [all …]
|
| H A D | cirrus-qemu.c | 339 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 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/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/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/ast/ |
| H A D | ast_cursor.c | 257 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 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/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/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.
|
| /linux/scripts/dtc/libfdt/ |
| H A D | fdt_strerror.c | 5 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| /linux/LICENSES/preferred/ |
| H A D | BSD-2-Clause | 32 POSSIBILITY OF SUCH DAMAGE.
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm9hmidc.dtsi | 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_test.h | 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | skl_universal_plane.c | 2332 struct drm_rect *damage = &plane_state->damage; in make_damage_viewport_relative() local 2334 if (!drm_rect_visible(damage)) in make_damage_viewport_relative() 2338 plane_state->damage = DRM_RECT_INIT(0, 0, 0, 0); in make_damage_viewport_relative() 2343 drm_rect_rotate(damage, fb->width, fb->height, in make_damage_viewport_relative() 2345 drm_rect_translate(damage, -(src->y1 >> 16), -(src->x1 >> 16)); in make_damage_viewport_relative() 2347 drm_rect_translate(damage, -(src->x1 >> 16), -(src->y1 >> 16)); in make_damage_viewport_relative() 2353 struct drm_rect *damage = &plane_state->damage; in clip_damage() local 2356 if (!drm_rect_visible(damage)) in clip_damage() 2360 drm_rect_translate(damage, src.x1, src.y1); in clip_damage() 2361 drm_rect_intersect(damage, &src); in clip_damage() [all …]
|