aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-09-28 10:22:48 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-28 16:49:55 -0400
commit8c0dc2b9891155afc3b1fbf6b04839819ec9099b (patch)
treea44981b62d730f5079e7814620b129776b758f6c /drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
parentamdgpu/dc: add static to construct function (diff)
downloadwireguard-linux-8c0dc2b9891155afc3b1fbf6b04839819ec9099b.tar.xz
wireguard-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.h4
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);