Merge "disp: msm: dp: change the detect callback to detect_ctx"

This commit is contained in:
qctecmdr
2021-06-18 21:58:17 -07:00
zatwierdzone przez Gerrit - the friendly Code Review server
4 zmienionych plików z 47 dodań i 60 usunięć

Wyświetl plik

@@ -60,6 +60,19 @@ struct sde_connector_ops {
bool force,
void *display);
/**
* detect_ctx - determine if connector is connected
* @connector: Pointer to drm connector structure
* @ctx: Pointer to drm modeset acquire context structure
* @force: Force detect setting from drm framework
* @display: Pointer to private display handle
* Returns: Connector 'is connected' status
*/
int (*detect_ctx)(struct drm_connector *connector,
struct drm_modeset_acquire_ctx *ctx,
bool force,
void *display);
/**
* get_modes - add drm modes via drm_mode_probed_add()
* @connector: Pointer to drm connector structure