summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h
diff options
context:
space:
mode:
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>2017-04-21 09:34:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:06:35 -0400
commitbeb16b6a0f921f66472e4946a4955f07942fa9d8 (patch)
treed1d1a6c02a70b3351f447b8e189674bb55af7482 /drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h
parent03f5c686c3900f74853539cdebe4c25190106402 (diff)
downloadlinux-stable-beb16b6a0f921f66472e4946a4955f07942fa9d8.tar.gz
linux-stable-beb16b6a0f921f66472e4946a4955f07942fa9d8.tar.bz2
linux-stable-beb16b6a0f921f66472e4946a4955f07942fa9d8.zip
drm/amd/display: improve cursor programming reliability
This change will cache cursor attributes and reprogram them when enabling cursor after power gating if the attributes were not yet reprogrammed Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h
index 0457bc7a44d4..7928e230eefb 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h
@@ -37,8 +37,6 @@ struct input_pixel_processor {
struct dc_context *ctx;
unsigned int inst;
const struct ipp_funcs *funcs;
-
- unsigned int cusor_width;
};
enum ipp_prescale_mode {
@@ -88,7 +86,7 @@ struct ipp_funcs {
const struct dc_cursor_position *position,
const struct dc_cursor_mi_param *param);
- bool (*ipp_cursor_set_attributes)(
+ void (*ipp_cursor_set_attributes)(
struct input_pixel_processor *ipp,
const struct dc_cursor_attributes *attributes);