diff options
author | Alan Liu <HaoPing.Liu@amd.com> | 2022-10-20 18:46:43 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-27 21:42:40 +0300 |
commit | 62fa035b5605a993fa3b4526af8b6ed145e3ce1b (patch) | |
tree | 2d641d577d5a8a88b4e6c143c316ea9dcdcd962f /init | |
parent | c0459bddd1955df35c9331757671e64e3ea0a77a (diff) | |
download | linux-62fa035b5605a993fa3b4526af8b6ed145e3ce1b.tar.xz |
drm/amd/display: Drop struct crc_region and reuse struct rect
[Why]
reuse struct rect rather than adding a new struct.
[How]
- Userspace keeps inputting x_start, y_start, x_end, y_end
- We translate data to x, y, width, height in code flow to store
- translate back to x_start, y_start, x_end, y_end before programming HW
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions