Yes, ~するだけ~する is the basic pattern, and the latter part conjugates and/or は is inserted according to the word following it. This expression emphasizes だけ, so it has a nuance "at the very least" (e.g. 話すだけは話したほうがいい) or "only to do it and not to do other things that should be usually done" (e.g. 見るだけは見てやる, 言うだけ言うと出て行った).
(Notice that when the former part is potential (e.g. 見えるだけ見る, 言えるだけ言う), the meaning changes to "as ~ as possible".)