diff options
author | Eric Anholt <eric@anholt.net> | 2015-10-20 18:06:57 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-02-16 22:24:08 +0300 |
commit | 21af94cf1a4c2d3450ab7fead58e6e2291ab92a9 (patch) | |
tree | 48339e5624f09e8bb6f499ecdad676c119f56dcb /drivers/gpu/drm/vc4/vc4_drv.h | |
parent | f863e356013d628fa65b1cd89aa298eed26fc936 (diff) | |
download | linux-21af94cf1a4c2d3450ab7fead58e6e2291ab92a9.tar.xz |
drm/vc4: Add support for scaling of display planes.
This implements a simple policy for choosing scaling modes
(trapezoidal for decimation, PPF for magnification), and a single PPF
filter (Mitchell/Netravali's recommendation).
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index ae9802486080..3d1df6b1c4d3 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -155,7 +155,11 @@ struct vc4_hvs { * list. Units are dwords. */ struct drm_mm dlist_mm; + /* Memory manager for the LBM memory used by HVS scaling. */ + struct drm_mm lbm_mm; spinlock_t mm_lock; + + struct drm_mm_node mitchell_netravali_filter; }; struct vc4_plane { |