Re: [PATCH 1/2] drm/i915: Get power refs in encoder->get_power_domain()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Imre Deak (2019-04-05 16:36:56)
> Push getting the reference for the encoders' power domains into the
> encoder get_power_domain() hook instead of doing this from the caller.
> This way the encoder can store away the corresponding wakerefs.
> 
> This fixes the DSI encoder disabling, which didn't release these
> power references it acquired during HW state readout.

The io_wakeref is for the paired io_enable/io_disable.

get_encoder_power_domains() is the owner of these wakerefs, and they
then belong to the atomic state from preparation through use to final
release.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux