aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-11-10 19:49:44 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-11-28 17:56:26 -0500
commitb3fb2b4e21a995c4fa511627088bd55b88f6be11 (patch)
tree97307c799c07261c2e53a8a46baa108e5cfe8c25 /drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
parentdrm/amd/display: Fix use before NULL check in validate_timing (diff)
downloadwireguard-linux-b3fb2b4e21a995c4fa511627088bd55b88f6be11.tar.xz
wireguard-linux-b3fb2b4e21a995c4fa511627088bd55b88f6be11.zip
drm/amd/display: Fix hubp check in set_cursor_position
Found by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:298 dc_stream_set_cursor_position() error: we previously assumed 'hubp' could be null (see line 294) Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-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.h7
1 files changed, 0 insertions, 7 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 7c08bc62c1f5..ea88997e1bbd 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
@@ -259,13 +259,6 @@ struct transform_funcs {
struct transform *xfm_base,
const struct dc_cursor_attributes *attr);
- void (*set_cursor_position)(
- struct transform *xfm_base,
- const struct dc_cursor_position *pos,
- const struct dc_cursor_mi_param *param,
- uint32_t width
- );
-
};
const uint16_t *get_filter_2tap_16p(void);