diff options
author | Doug Brown <doug@schmorgal.com> | 2022-09-10 13:29:39 -0700 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2022-09-16 16:53:29 +0200 |
commit | 61a6920bb604df3a0e389a2a9479e1e233e4461d (patch) | |
tree | 0cf12f6d2dc735ea7875504f2b48d2066408a8ce /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | cc7d3fb446a91f24978a6aa59cbb578f92e22242 (diff) |
drm/etnaviv: fix power register offset on GC300
Older GC300 revisions have their power registers at an offset of 0x200
rather than 0x100. Add new gpu_read_power and gpu_write_power functions
to encapsulate accesses to the power addresses and fix the addresses.
Signed-off-by: Doug Brown <doug@schmorgal.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions