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:38:46 -0500 |
commit | 5d447f09b8d8346c64f4c952a67c61f7ce88d3c1 (patch) | |
tree | a6713208092a018159372773ea2cf3dbc74fd715 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | cc195141133ac3e767d930bedd8294ceebf1f10b (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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions