Home
last modified time | relevance | path

Searched hist:"1 db01279" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gpu.c1db01279 Fri Dec 02 05:19:16 CST 2016 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: move linear window on MC1.0 parts if necessary

On i.MX6SX the physical memory is placed above the 2GB mark, so the GPU
linear window has to be moved for the GPU to work at all. This doesn't
mix with the FAST_CLEAR feature, as the TS unit doesn't take the linear
window offset into account and will corrupt memory when used with a
non-zero offset.

Move the linear window if it's necessary for the GPU to work, but avoid
announcing FAST_CLEAR support to userspace in this case.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>
1db01279 Fri Dec 02 05:19:16 CST 2016 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: move linear window on MC1.0 parts if necessary

On i.MX6SX the physical memory is placed above the 2GB mark, so the GPU
linear window has to be moved for the GPU to work at all. This doesn't
mix with the FAST_CLEAR feature, as the TS unit doesn't take the linear
window offset into account and will corrupt memory when used with a
non-zero offset.

Move the linear window if it's necessary for the GPU to work, but avoid
announcing FAST_CLEAR support to userspace in this case.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>