Eight inches of loosened enriched with compost soil, will let you grow you most crops on top of your soil. Root crops like carrot or parsnip need deeper worked (and maybe sifted) soil.
Please read up, or do a search for, raised bed, or French intencive gardening.