mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 15:29:28 +07:00
drm/msm/dpu: remove dpu_mdss:hwversion
Unused and the extra rpm get/put interferes with handover from bootloader (ie. happens before we have a chance to check if things are already enabled). Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
23c259722d
commit
1569fcd755
@ -26,7 +26,6 @@ struct dpu_mdss {
|
||||
struct msm_mdss base;
|
||||
void __iomem *mmio;
|
||||
unsigned long mmio_len;
|
||||
u32 hwversion;
|
||||
struct dss_module_power mp;
|
||||
struct dpu_irq_controller irq_controller;
|
||||
struct icc_path *path[2];
|
||||
@ -291,10 +290,6 @@ int dpu_mdss_init(struct drm_device *dev)
|
||||
|
||||
dpu_mdss_icc_request_bw(priv->mdss);
|
||||
|
||||
pm_runtime_get_sync(dev->dev);
|
||||
dpu_mdss->hwversion = readl_relaxed(dpu_mdss->mmio);
|
||||
pm_runtime_put_sync(dev->dev);
|
||||
|
||||
return ret;
|
||||
|
||||
irq_error:
|
||||
|
Loading…
Reference in New Issue
Block a user