diff options
author | Thierry Reding <treding@nvidia.com> | 2021-03-26 15:51:34 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-03-31 17:42:14 +0200 |
commit | d5ec699db5bb15f981f1632d058ffe857d649765 (patch) | |
tree | 517f14cc5e30efa260b9a317f06002807de73ea8 /drivers/platform/surface/aggregator/controller.c | |
parent | 042c0bd76d7b053ea6bc47e4db471d5cfc7f19c5 (diff) |
drm/tegra: dc: Implement hardware cursor on Tegra186 and later
The hardware cursor on Tegra186 differs slightly from the implementation
on older SoC generations. In particular the new implementation relies on
software for clipping the cursor against the screen. Fortunately, atomic
KMS already computes clipped coordinates for (cursor) planes, so this is
trivial to implement.
The format supported by the hardware cursor is also slightly different.
v2: use more drm_rect helpers (Dmitry)
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions