Re: [PATCH V5 23/25] drm/etnaviv: do not enable debug registers unconditionally

2017-09-28 Thread Christian Gmeiner
Hi Lucas, 2017-09-28 11:05 GMT+02:00 Lucas Stach : > Am Sonntag, den 24.09.2017, 15:15 +0200 schrieb Christian Gmeiner: >> Everytime etnaviv_gpu_update_clock(..) gets call it overwrittes >> the the complete VIVS_HI_CLOCK_CONTROL register. Instead read >> the register,

Re: [PATCH V5 23/25] drm/etnaviv: do not enable debug registers unconditionally

2017-09-28 Thread Lucas Stach
Am Sonntag, den 24.09.2017, 15:15 +0200 schrieb Christian Gmeiner: > Everytime etnaviv_gpu_update_clock(..) gets call it overwrittes > the the complete VIVS_HI_CLOCK_CONTROL register. Instead read > the register, change scaling value and write the new value. > > Signed-off-by: Christian Gmeiner

[PATCH V5 23/25] drm/etnaviv: do not enable debug registers unconditionally

2017-09-24 Thread Christian Gmeiner
Everytime etnaviv_gpu_update_clock(..) gets call it overwrittes the the complete VIVS_HI_CLOCK_CONTROL register. Instead read the register, change scaling value and write the new value. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 3