diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-28 10:22:48 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-28 16:49:55 -0400 |
commit | 8c0dc2b9891155afc3b1fbf6b04839819ec9099b (patch) | |
tree | a44981b62d730f5079e7814620b129776b758f6c /drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | |
parent | 24a0d8538ed36ae08d8009bd4a46c6eb36d92bd1 (diff) | |
download | linux-8c0dc2b9891155afc3b1fbf6b04839819ec9099b.tar.gz linux-8c0dc2b9891155afc3b1fbf6b04839819ec9099b.tar.bz2 linux-8c0dc2b9891155afc3b1fbf6b04839819ec9099b.zip |
amdgpu/dc: move filter taps to being static const data (v2)
This just adds two accessor methods, and moves all the data
to static const.
v2: fix dcn build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/transform.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h index 32947450e702..9d4a3a0098a9 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h @@ -240,8 +240,8 @@ struct transform_funcs { }; -extern const uint16_t filter_2tap_16p[18]; -extern const uint16_t filter_2tap_64p[66]; +const uint16_t *get_filter_2tap_16p(void); +const uint16_t *get_filter_2tap_64p(void); const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio); const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio); const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio); |