- 14 Nov, 2018 1 commit
-
-
Andreas Baierl authored
Signed-off-by:
Andreas Baierl <ichgeh@imkreisrum.de>
-
- 13 Nov, 2018 1 commit
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 12 Nov, 2018 1 commit
-
-
Vasily Khoruzhick authored
staging size is smaller than actual texture, so we need to take it into account. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
- 08 Nov, 2018 1 commit
-
-
Andreas Baierl authored
-
- 05 Nov, 2018 3 commits
-
-
Andreas Baierl authored
-
Connor Abbott authored
Unlike the pp disassembler, the syntax here is significantly different from the old open-gpu-tools disassembler. Instead of printing loads and stores as a separate part of the instruction, we combine them with the ALU operations, to make it easier to see how the data flows.
-
Connor Abbott authored
This is based on the open-gpu-tools disassembler, although I've taken a few liberties with the syntax.
-
- 24 Oct, 2018 2 commits
-
-
Andreas Baierl authored
Signed-off-by:
Andreas Baierl <ichgeh@imkreisrum.de>
-
Andreas Baierl authored
In preparation for future lower functions we make clear, that the existing ones are executed after gpir_reduce_reg_pressure_prog. Signed-off-by:
Andreas Baierl <ichgeh@imkreisrum.de>
-
- 12 Oct, 2018 1 commit
-
-
Qiang Yu authored
regression: 6afdaef3 lima: seperate lima_texture_desc_set_res Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 05 Oct, 2018 1 commit
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 10 Sep, 2018 1 commit
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 08 Sep, 2018 1 commit
-
-
Qiang Yu authored
To fix the flush not called problem when user read a buffer before swap buffer or flush explicitly, because lima uses the bo recorded in submit to identify if it's dirty. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 06 Sep, 2018 2 commits
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 05 Sep, 2018 3 commits
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
In order to deal with scissor clear (partial clear). Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 04 Sep, 2018 1 commit
-
-
Erico Nunes authored
lima ppir and gpir often hit unsupported alu nir_op instructions at this stage of development. Printing the raw nir_op is not very helpful, since the list of nir_op is an unnumbered enum that is generated during the build, so it's annoying to figure out what is the missing implementation. Just print the name as pointed out by cwabbott some time ago on IRC. Signed-off-by:
Erico Nunes <nunes.erico@gmail.com>
-
- 02 Sep, 2018 1 commit
-
-
Qiang Yu authored
Method is only pick pp stream for damaged region, so that fb outside damage region don't need reload. In fact only fb between damaged region and tile unit boundary (when damage region not aligned to tile buffer) need to be reloaded. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 01 Sep, 2018 10 commits
-
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
This is the reload implementation of this use case. Use this method instead of the previous gp stream reuse method for: 1. simplicity 2. gp stream reuse method need more investigate on max draw num for buffer overflow 3. easier integration with the EGL_KHR_partial_update implementation Shortcome is the performance maybe worse, but I don't know how much. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
For reused by reload FB as texture. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
prepare for EGL_KHR_partial_update. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Enable dri2DamageExtension according to PIPE_CAP_SET_DAMAGE. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
When optional extension increases, use static extension is not good. This is for the following adding another optional extension. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
- 30 Aug, 2018 10 commits
-
-
Harish Krupo authored
Use the DRI2 interface callback to pass the damage rects to the driver. v2: check for dri2_dpy->damage_extension after checking for optional_core_extensions in dr2_setup_extensions. Signed-off-by:
Harish Krupo <harish.krupo.kps@intel.com>
-
Harish Krupo authored
Implementors of this interface provide ability to render only to damaged regions on the framebuffer. Signed-off-by:
Harish Krupo <harish.krupo.kps@intel.com>
-
Harish Krupo authored
The intension of the KHR_partial_update was not to send the damage back to the platform but to send the damage to the driver to ensure that the following rendering could be restricted to those regions. This patch removes the set_damage_region from the egl_dri vtbl and all the platfrom_*.c files. Then upcomming patches add a new dri2 interface for the drivers to implement Signed-off-by:
Harish Krupo <harish.krupo.kps@intel.com>
-
Qiang Yu authored
When no EGL_EXT_buffer_age but has EGL_KHR_partial_update, query buffer age should not fail. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
For gallium drivers to expose EGL/GLX_EXT_buffer_age. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Add __DRI2_RENDERER_EXPOSE_BUFFER_AGE dri integer query for driver to determine if want to expose EGL/GLX_EXT_buffer_age. Without knowing damage region first, some tile buffer based GPU like ARM Mali Utgard has to load whole render target to tile buffer before partitial update, then write them back. Expose this extension will mis-lead application to use it which will make performance worse for this kind of GPU. EGL_KHR_partial_update is better choice for this kind of GPU. Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Qiang Yu authored
Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-
Heiko Stuebner authored
A mesa driver for rockchip is defined which will call into lima when 3D rendering is requested from it. This uses the renderonly library from mesa, which hides the buffer sharing details between the two drivers from the application. This allows applications that expect a single device node like /dev/dri/card0 (such as kmscube) to run unmodified on Rockchip devices that use the rockchip-drm driver for display and have a Mali400 gpu using lima. This follows the model of the lima+sun4i drivers existing in mesa. The code implemented here is mostly borrowed from that particular implementation. Rockchip socs use the same drm/kms driver throughout all socs but multiple gpus are in use like Mali-Utgard, Mali-Midgard and also PowerVR and Vivante. To help with this the winsys part is set up to iterate through multiple gpus and try each until a valid one is found. Right now of course only the Lima-supported GPUs are implemented but it can be easily adapted for the other ones, once Mesa drivers are available for them. Signed-off-by:
Heiko Stuebner <heiko@sntech.de>
-
Neil Armstrong authored
Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-