disp: remove kernel mapping of writeback framebuffer
This change removes the fb_kmap debugfs node along with kernel mapping of writeback framebuffer. It also replaces dma_buf_kmap calls with dma_buf_vmap. Change-Id: I2fbee7fa5922071f6805d8e6df540ce87056bc0b Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This commit is contained in:
@@ -1368,9 +1368,6 @@ static int sde_connector_atomic_set_property(struct drm_connector *connector,
|
||||
} else if (!c_state->out_fb && !val) {
|
||||
SDE_DEBUG("cleared fb_id\n");
|
||||
rc = 0;
|
||||
} else {
|
||||
msm_framebuffer_set_kmap(c_state->out_fb,
|
||||
c_conn->fb_kmap);
|
||||
}
|
||||
break;
|
||||
case CONNECTOR_PROP_RETIRE_FENCE:
|
||||
@@ -1921,12 +1918,6 @@ static int sde_connector_init_debugfs(struct drm_connector *connector)
|
||||
&sde_connector->esd_status_interval);
|
||||
}
|
||||
|
||||
if (!debugfs_create_bool("fb_kmap", 0600, connector->debugfs_entry,
|
||||
&sde_connector->fb_kmap)) {
|
||||
SDE_ERROR("failed to create connector fb_kmap\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (sde_connector->ops.cmd_transfer) {
|
||||
if (!debugfs_create_file("tx_cmd", 0600,
|
||||
connector->debugfs_entry,
|
||||
|
Reference in New Issue
Block a user