diff options
author | Shirish S <shirish.s@amd.com> | 2018-02-21 16:10:33 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-28 15:14:41 -0500 |
commit | d6b6669762898dfc99e9273b8d8603bc47014aa9 (patch) | |
tree | cac84c37b7bd97569faa084bb1045fe560bf6b78 /mm/util.c | |
parent | 219b3b22df9d828367a4eeceed7600890e2ff4ef (diff) |
drm/amd/display: check for ipp before calling cursor operations
Currently all cursor related functions are made to all
pipes that are attached to a particular stream.
This is not applicable to pipes that do not have cursor plane
initialised like underlay.
Hence this patch allows cursor related operations on a pipe
only if ipp in available on that particular pipe.
The check is added to set_cursor_position & set_cursor_attribute.
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions