diff options
| -rw-r--r-- | drivers/gpu/drm/tyr/driver.rs | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/tyr/gpu.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tyr/driver.rs b/drivers/gpu/drm/tyr/driver.rs index 0389c558c036..dc75df5e769c 100644 --- a/drivers/gpu/drm/tyr/driver.rs +++ b/drivers/gpu/drm/tyr/driver.rs @@ -147,7 +147,7 @@ impl platform::Driver for TyrDriver { // We need this to be dev_info!() because dev_dbg!() does not work at // all in Rust for now, and we need to see whether probe succeeded. - dev_info!(pdev.as_ref(), "Tyr initialized correctly.\n"); + dev_info!(pdev, "Tyr initialized correctly.\n"); Ok(driver) } } diff --git a/drivers/gpu/drm/tyr/gpu.rs b/drivers/gpu/drm/tyr/gpu.rs index 6c582910dd5d..5fa864a90dec 100644 --- a/drivers/gpu/drm/tyr/gpu.rs +++ b/drivers/gpu/drm/tyr/gpu.rs @@ -113,7 +113,7 @@ impl GpuInfo { }; dev_info!( - pdev.as_ref(), + pdev, "mali-{} id 0x{:x} major 0x{:x} minor 0x{:x} status 0x{:x}", model_name, self.gpu_id >> 16, @@ -123,7 +123,7 @@ impl GpuInfo { ); dev_info!( - pdev.as_ref(), + pdev, "Features: L2:{:#x} Tiler:{:#x} Mem:{:#x} MMU:{:#x} AS:{:#x}", self.l2_features, self.tiler_features, @@ -133,7 +133,7 @@ impl GpuInfo { ); dev_info!( - pdev.as_ref(), + pdev, "shader_present=0x{:016x} l2_present=0x{:016x} tiler_present=0x{:016x}", self.shader_present, self.l2_present, |
