disp: msm: sde: add offline WB QoS support

Add support to parse and configure QoS values for offline writeback.
Expose a writeback connector property to allow user-mode to set
the usage type of the writeback block - WFD, CWB, offline-WB.

Change-Id: I864f79c4896ec757ac2d8b0f57a6a5775d164f21
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
This commit is contained in:
Veera Sundaram Sankaran
2021-12-17 16:24:49 -08:00
vanhempi 3c8871f45b
commit b7f241585a
10 muutettua tiedostoa jossa 113 lisäystä ja 35 poistoa

Näytä tiedosto

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2015-2021 The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
@@ -720,6 +720,12 @@ u32 sde_crtc_get_fps_mode(struct drm_crtc *crtc);
*/
u32 sde_crtc_get_dfps_maxfps(struct drm_crtc *crtc);
/**
* sde_crtc_get_wb_usage_type - get writeback usage type
* @crtc: Pointert to crtc
*/
enum sde_wb_usage_type sde_crtc_get_wb_usage_type(struct drm_crtc *crtc);
/**
* sde_crtc_get_client_type - check the crtc type- rt, rsc_rt, etc.
* @crtc: Pointer to crtc