Skip to content
Unverified Commit 411efa18 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

drm/vc4: hdmi: Move the HSM clock enable to runtime_pm

In order to access the HDMI controller, we need to make sure the HSM
clock is enabled. If we were to access it with the clock disabled, the
CPU would completely hang, resulting in an hard crash.

Since we have different code path that would require it, let's move that
clock enable / disable to runtime_pm that will take care of the
reference counting for us.

Fixes: 4f6e3d66

 ("drm/vc4: Add runtime PM support to the HDMI encoder driver")
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Reviewed-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210525091059.234116-3-maxime@cerno.tech
parent c336a5ee
  • mirror @mirror

    mentioned in commit 9963fb4eeb024b9205f5b81d5be8ae5c22597725

    ·

    mentioned in commit 9963fb4eeb024b9205f5b81d5be8ae5c22597725

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0a1b9fd65f2ab48f765d734863f048c7c4d97119

    ·

    mentioned in commit 0a1b9fd65f2ab48f765d734863f048c7c4d97119

    Toggle commit list
  • mirror @mirror

    mentioned in commit 22767c727b7a97792c125606888a0d9d77e6b21e

    ·

    mentioned in commit 22767c727b7a97792c125606888a0d9d77e6b21e

    Toggle commit list
  • mirror @mirror

    mentioned in commit 142a6a7f

    ·

    mentioned in commit 142a6a7f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0a7c3c0cd86632a128d857051d7c9efff57a0516

    ·

    mentioned in commit 0a7c3c0cd86632a128d857051d7c9efff57a0516

    Toggle commit list
  • mirror @mirror

    mentioned in commit 819b820870dd92372cc77bd922de4768c851ec21

    ·

    mentioned in commit 819b820870dd92372cc77bd922de4768c851ec21

    Toggle commit list
  • mirror @mirror

    mentioned in commit f7b78535422b1bf1d0f26b58788f70d3dd39dfd5

    ·

    mentioned in commit f7b78535422b1bf1d0f26b58788f70d3dd39dfd5

    Toggle commit list
  • mirror @mirror

    mentioned in commit f9666aa60b1f36d9d6bea3ff316686e3d1e26ac7

    ·

    mentioned in commit f9666aa60b1f36d9d6bea3ff316686e3d1e26ac7

    Toggle commit list
  • mirror @mirror

    mentioned in commit 5a594b47dbd29a90a16e988d2e0fce9fbd83ca20

    ·

    mentioned in commit 5a594b47dbd29a90a16e988d2e0fce9fbd83ca20

    Toggle commit list
  • mirror @mirror

    mentioned in commit 695a1900312697ff5ffd3c65122cca7686fe98e6

    ·

    mentioned in commit 695a1900312697ff5ffd3c65122cca7686fe98e6

    Toggle commit list
  • mirror @mirror

    mentioned in commit 2697f740

    ·

    mentioned in commit 2697f740

    Toggle commit list
  • mirror @mirror

    mentioned in commit 357f031b55264a6c55fd731095eafc2b0d473921

    ·

    mentioned in commit 357f031b55264a6c55fd731095eafc2b0d473921

    Toggle commit list
  • mirror @mirror

    mentioned in commit 16c4dc3d

    ·

    mentioned in commit 16c4dc3d

    Toggle commit list
  • mirror @mirror

    mentioned in commit ce7a10f5281de5b8dbcd6007e10078c5fca20af1

    ·

    mentioned in commit ce7a10f5281de5b8dbcd6007e10078c5fca20af1

    Toggle commit list
  • mirror @mirror

    mentioned in commit 3d127956d016cbc87d42e7a8802fd9c748fda930

    ·

    mentioned in commit 3d127956d016cbc87d42e7a8802fd9c748fda930

    Toggle commit list
  • mirror @mirror

    mentioned in commit 767e3a29f60cd49e0fa9c07cf57e43fa66f439e3

    ·

    mentioned in commit 767e3a29f60cd49e0fa9c07cf57e43fa66f439e3

    Toggle commit list
  • mirror @mirror

    mentioned in commit f39b0dd54c0ee7e6270f071e794d1e0366441cde

    ·

    mentioned in commit f39b0dd54c0ee7e6270f071e794d1e0366441cde

    Toggle commit list
  • mirror @mirror

    mentioned in commit b605999e0e545b6bd2b1dc158e432261d7b58d28

    ·

    mentioned in commit b605999e0e545b6bd2b1dc158e432261d7b58d28

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0fa714abefcf7b7319e3e553579db1180caa563f

    ·

    mentioned in commit 0fa714abefcf7b7319e3e553579db1180caa563f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 73a685721ffb44fa30878a67c5be036a2a754e6b

    ·

    mentioned in commit 73a685721ffb44fa30878a67c5be036a2a754e6b

    Toggle commit list
  • mirror @mirror

    mentioned in commit 3b306519

    ·

    mentioned in commit 3b306519

    Toggle commit list
  • mirror @mirror

    mentioned in commit 3c20a2ea

    ·

    mentioned in commit 3c20a2ea

    Toggle commit list
  • mirror @mirror

    mentioned in commit 99db57191b0ea306c61dee9e114b6404c183455f

    ·

    mentioned in commit 99db57191b0ea306c61dee9e114b6404c183455f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 58b0b1cfdf40262b6a84fbe919941ffba9451373

    ·

    mentioned in commit 58b0b1cfdf40262b6a84fbe919941ffba9451373

    Toggle commit list
  • mirror @mirror

    mentioned in commit 7d8c1da446ba6b0398345ecff79fb8f6d52d2173

    ·

    mentioned in commit 7d8c1da446ba6b0398345ecff79fb8f6d52d2173

    Toggle commit list
  • mirror @mirror

    mentioned in commit c6b30344bd7ba31fad149639e7e0589b48cc5a45

    ·

    mentioned in commit c6b30344bd7ba31fad149639e7e0589b48cc5a45

    Toggle commit list
  • mirror @mirror

    mentioned in commit d0bc1951a096ff5b78a613440b94a9ced5b15d94

    ·

    mentioned in commit d0bc1951a096ff5b78a613440b94a9ced5b15d94

    Toggle commit list
  • mirror @mirror

    mentioned in commit 597031cd76e7b5e0a7a58a708051497aae7e77e7

    ·

    mentioned in commit 597031cd76e7b5e0a7a58a708051497aae7e77e7

    Toggle commit list
  • mirror @mirror

    mentioned in commit acaeb0868f98872e08f8900a53a36f330fce4ec0

    ·

    mentioned in commit acaeb0868f98872e08f8900a53a36f330fce4ec0

    Toggle commit list
  • mirror @mirror

    mentioned in commit a22f8c0e9cba913c64754f46e3991e10b9dd14d8

    ·

    mentioned in commit a22f8c0e9cba913c64754f46e3991e10b9dd14d8

    Toggle commit list
  • mirror @mirror

    mentioned in commit cca596bbac6e8231358d49eb96fa83d88eec927c

    ·

    mentioned in commit cca596bbac6e8231358d49eb96fa83d88eec927c

    Toggle commit list
  • mirror @mirror

    mentioned in commit 67c4dce127b723ace1e3c152f0a3aee440b91c4d

    ·

    mentioned in commit 67c4dce127b723ace1e3c152f0a3aee440b91c4d

    Toggle commit list
  • mirror @mirror

    mentioned in commit a86ecd00

    ·

    mentioned in commit a86ecd00

    Toggle commit list
  • mirror @mirror

    mentioned in commit 18e17cfd035125a2d979685c953e65d92be8c6eb

    ·

    mentioned in commit 18e17cfd035125a2d979685c953e65d92be8c6eb

    Toggle commit list
  • mirror @mirror

    mentioned in commit f39f3a6d00c6e83d62aac94d9696f244ebe2edba

    ·

    mentioned in commit f39f3a6d00c6e83d62aac94d9696f244ebe2edba

    Toggle commit list
  • mirror @mirror

    mentioned in commit c087c2aac0cc2646a0340de180d7bc14869f431b

    ·

    mentioned in commit c087c2aac0cc2646a0340de180d7bc14869f431b

    Toggle commit list
  • mirror @mirror

    mentioned in commit 31de5803bf0b7d3b97da2c73947119a491e86207

    ·

    mentioned in commit 31de5803bf0b7d3b97da2c73947119a491e86207

    Toggle commit list
  • mirror @mirror

    mentioned in commit d8336599e73ecad96609c007723e4f91034ca42d

    ·

    mentioned in commit d8336599e73ecad96609c007723e4f91034ca42d

    Toggle commit list
  • mirror @mirror

    mentioned in commit 9ffca70314bd224fc2547d0f8e8eef38f1425a58

    ·

    mentioned in commit 9ffca70314bd224fc2547d0f8e8eef38f1425a58

    Toggle commit list
  • mirror @mirror

    mentioned in commit 245a0867477784b61b78b662873a8667e0a1d539

    ·

    mentioned in commit 245a0867477784b61b78b662873a8667e0a1d539

    Toggle commit list
  • mirror @mirror

    mentioned in commit 38e4882261452ced57e8a6442bf99a0d20ba6b26

    ·

    mentioned in commit 38e4882261452ced57e8a6442bf99a0d20ba6b26

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment