diff options
author | Stefan Schake <stschake@gmail.com> | 2018-04-20 05:25:44 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-04-23 11:32:55 -0700 |
commit | 766cc6b1f7fc9e10f096a84d147e48dead18ba59 (patch) | |
tree | 29491c5460283f6b4652f6e78deb51774b61d97b /virt/kvm | |
parent | 22445f0316a253406472ddcda98c3341b1eebaf4 (diff) |
drm/vc4: Add CTM support
The hardware has a single block for applying a CTM prior to gamma lut.
It can be fed with pixels from one of our CRTC at a time and uses a
matrix with S0.9 scalars. Use private atomic state to reject attempts
from userland to apply CTM for more than one CRTC at a time and reject
matrices with scalars that we can't approximate without integer bits.
Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/218067/
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions